/linux-6.1.9/drivers/gpu/drm/vmwgfx/ |
D | ttm_object.c | 494 struct ttm_prime_object *prime; in ttm_prime_refcount_release() local 497 prime = container_of(base, struct ttm_prime_object, base); in ttm_prime_refcount_release() 498 BUG_ON(prime->dma_buf != NULL); in ttm_prime_refcount_release() 499 mutex_destroy(&prime->mutex); in ttm_prime_refcount_release() 500 if (prime->refcount_release) in ttm_prime_refcount_release() 501 prime->refcount_release(&base); in ttm_prime_refcount_release() 516 struct ttm_prime_object *prime = in ttm_prime_dmabuf_release() local 518 struct ttm_base_object *base = &prime->base; in ttm_prime_dmabuf_release() 523 mutex_lock(&prime->mutex); in ttm_prime_dmabuf_release() 524 if (prime->dma_buf == dma_buf) in ttm_prime_dmabuf_release() [all …]
|
D | vmwgfx_surface.c | 51 struct ttm_prime_object prime; member 647 prime.base)->srf.res); in vmw_user_surface_base_to_res() 667 ttm_prime_object_kfree(user_srf, prime); in vmw_user_surface_free() 683 container_of(base, struct vmw_user_surface, prime.base); in vmw_user_surface_base_release() 832 user_srf->prime.base.shareable = false; in vmw_surface_define_ioctl() 833 user_srf->prime.base.tfile = NULL; in vmw_surface_define_ioctl() 867 ret = ttm_prime_object_init(tfile, res->backup_size, &user_srf->prime, in vmw_surface_define_ioctl() 877 rep->sid = user_srf->prime.base.handle; in vmw_surface_define_ioctl() 886 ttm_prime_object_kfree(user_srf, prime); in vmw_surface_define_ioctl() 928 prime.base); in vmw_surface_handle_reference() [all …]
|
D | ttm_object.h | 288 struct ttm_prime_object *prime,
|
/linux-6.1.9/include/linux/ |
D | prime_numbers.h | 21 #define for_each_prime_number(prime, max) \ argument 22 for_each_prime_number_from((prime), 2, (max)) 35 #define for_each_prime_number_from(prime, from, max) \ argument 36 for (prime = (from); prime <= (max); prime = next_prime_number(prime))
|
/linux-6.1.9/drivers/gpu/drm/i915/selftests/ |
D | scatterlist.c | 279 unsigned long prime; in igt_sg_alloc() local 282 for_each_prime_number(prime, max_order) { in igt_sg_alloc() 283 unsigned long size = BIT(prime); in igt_sg_alloc() 326 unsigned long prime; in igt_sg_trim() local 329 for_each_prime_number(prime, max) { in igt_sg_trim() 337 err = alloc_table(&pt, prime, max, *npages, &prng, in igt_sg_trim() 345 if (pt.st.orig_nents != prime || in igt_sg_trim() 346 pt.st.nents != prime) { in igt_sg_trim() 348 pt.st.nents, pt.st.orig_nents, prime); in igt_sg_trim() 365 if (prime > SG_MAX_SINGLE_ALLOC) in igt_sg_trim()
|
D | i915_request.c | 561 unsigned long n, prime; in live_nop_request() local 570 for_each_prime_number_from(prime, 1, 8192) { in live_nop_request() 575 for (n = 0; n < prime; n++) { in live_nop_request() 602 if (prime == 1) in live_nop_request() 617 prime, div64_u64(ktime_to_ns(times[1]), prime)); in live_nop_request() 1033 unsigned long n, prime; in live_empty_request() local 1051 for_each_prime_number_from(prime, 1, 8192) { in live_empty_request() 1054 for (n = 0; n < prime; n++) { in live_empty_request() 1066 if (prime == 1) in live_empty_request() 1082 prime, div64_u64(ktime_to_ns(times[1]), prime)); in live_empty_request()
|
D | i915_gem_gtt.c | 413 unsigned long npages, prime, flags; in fill_hole() local 424 for_each_prime_number_from(prime, 2, max_step) { in fill_hole() 425 for (npages = 1; npages <= max_pages; npages *= prime) { in fill_hole() 468 __func__, p->name, err, npages, prime, offset); in fill_hole() 547 __func__, p->name, err, npages, prime, offset); in fill_hole() 610 __func__, npages, prime)) { in fill_hole() 977 unsigned long prime; in shrink_hole() local 983 for_each_prime_number_from(prime, 0, ULONG_MAX - 1) { in shrink_hole() 984 vm->fault_attr.interval = prime; in shrink_hole()
|
/linux-6.1.9/lib/math/ |
D | Kconfig | 9 tristate "Simple prime number generator for testing" 11 This option provides a simple prime number generator for test
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_prime.c | 312 mutex_lock(&file_priv->prime.lock); in drm_gem_prime_fd_to_handle() 314 ret = drm_prime_lookup_buf_handle(&file_priv->prime, in drm_gem_prime_fd_to_handle() 343 ret = drm_prime_add_buf_handle(&file_priv->prime, in drm_gem_prime_fd_to_handle() 345 mutex_unlock(&file_priv->prime.lock); in drm_gem_prime_fd_to_handle() 364 mutex_unlock(&file_priv->prime.lock); in drm_gem_prime_fd_to_handle() 438 mutex_lock(&file_priv->prime.lock); in drm_gem_prime_handle_to_fd() 445 dmabuf = drm_prime_lookup_buf_by_handle(&file_priv->prime, handle); in drm_gem_prime_handle_to_fd() 482 ret = drm_prime_add_buf_handle(&file_priv->prime, in drm_gem_prime_handle_to_fd() 510 mutex_unlock(&file_priv->prime.lock); in drm_gem_prime_handle_to_fd()
|
D | drm_file.c | 183 drm_prime_init_file_private(&file->prime); in drm_file_alloc() 194 drm_prime_destroy_file_private(&file->prime); in drm_file_alloc() 286 drm_prime_destroy_file_private(&file->prime); in drm_file_free()
|
D | drm_gem.c | 242 drm_prime_remove_buf_handle(&file_priv->prime, id); in drm_gem_object_release_handle()
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | exynos4412-odroidx2.dts | 12 #include "exynos4412-prime.dtsi"
|
D | exynos4412-odroidu3.dts | 14 #include "exynos4412-prime.dtsi"
|
/linux-6.1.9/include/uapi/linux/ |
D | keyctl.h | 82 __s32 prime; member
|
/linux-6.1.9/include/drm/ |
D | drm_file.h | 363 struct drm_prime_file_private prime; member
|
/linux-6.1.9/drivers/md/ |
D | dm-region-hash.c | 68 unsigned prime; member 204 rh->prime = RH_HASH_MULT; in dm_region_hash_create() 268 return (unsigned) ((region * rh->prime) >> rh->shift) & rh->mask; in rh_hash()
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_context.c | 75 unsigned long end_time, prime; in live_nop_switch() local 113 for_each_prime_number_from(prime, 2, 8192) { in live_nop_switch() 117 for (n = 0; n < prime; n++) { in live_nop_switch() 151 prime); in live_nop_switch() 159 if (prime == 2) in live_nop_switch() 173 prime - 1, div64_u64(ktime_to_ns(times[1]), prime - 1)); in live_nop_switch()
|
/linux-6.1.9/arch/arm64/boot/dts/allwinner/ |
D | Makefile | 30 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-prime.dtb
|
D | sun50i-h5-orangepi-prime.dts | 14 compatible = "xunlong,orangepi-prime", "allwinner,sun50i-h5";
|
/linux-6.1.9/security/keys/ |
D | dh.c | 195 dlen = dh_data_from_key(pcopy.prime, &dh_inputs.p); in __keyctl_dh_compute()
|
/linux-6.1.9/drivers/gpu/drm/tests/ |
D | drm_mm_test.c | 1059 unsigned int prime; in drm_test_mm_align() local 1074 for_each_prime_number_from(prime, 1, max_count) { in drm_test_mm_align() 1075 u64 size = next_prime_number(prime); in drm_test_mm_align() 1077 if (!expect_insert(test, &mm, &nodes[i], size, prime, i, mode)) { in drm_test_mm_align() 1079 mode->name, prime); in drm_test_mm_align()
|
/linux-6.1.9/Documentation/i2c/ |
D | dma-considerations.rst | 6 transferred are small, it is not considered a prime user of DMA access. At this
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | selftest_execlists.c | 3735 unsigned long n, prime, nc; in nop_virtual_engine() local 3762 for_each_prime_number_from(prime, 1, 8192) { in nop_virtual_engine() 3767 for (n = 0; n < prime; n++) { in nop_virtual_engine() 3783 for (n = 0; n < prime; n++) { in nop_virtual_engine() 3819 if (prime == 1) in nop_virtual_engine() 3837 prime, div64_u64(ktime_to_ns(times[1]), prime)); in nop_virtual_engine()
|
/linux-6.1.9/net/netfilter/ipvs/ |
D | Kconfig | 303 int "IPVS maglev hashing table index of size (the prime numbers)" 310 the table are filled. The index determines the prime for size of
|
/linux-6.1.9/Documentation/gpu/ |
D | vkms.rst | 176 - Variable refresh rate/freesync support. This probably needs prime buffer
|