/linux-6.12.1/arch/s390/include/asm/ |
D | page-states.h | 38 static __always_inline void __set_page_state(void *addr, unsigned long num_pages, unsigned char cmd) in __set_page_state() 48 static inline void __set_page_unused(void *addr, unsigned long num_pages) in __set_page_unused() 53 static inline void __set_page_stable_dat(void *addr, unsigned long num_pages) in __set_page_stable_dat() 58 static inline void __set_page_stable_nodat(void *addr, unsigned long num_pages) in __set_page_stable_nodat() 63 static inline void __arch_set_page_nodat(void *addr, unsigned long num_pages) in __arch_set_page_nodat() 73 static inline void __arch_set_page_dat(void *addr, unsigned long num_pages) in __arch_set_page_dat()
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | mremap_dontunmap.c | 45 unsigned long num_pages = 1; in kernel_support_for_mremap_dontunmap() local 78 unsigned long num_pages = size / page_size; in check_region_contains_byte() local 97 unsigned long num_pages = 5; in mremap_dontunmap_simple() local 131 unsigned long num_pages = 5; in mremap_dontunmap_simple_shmem() local 185 unsigned long num_pages = 5; in mremap_dontunmap_simple_fixed() local 245 unsigned long num_pages = 10; in mremap_dontunmap_partial_mapping() local
|
D | pagemap_ioctl.c | 187 int mem_size, vec_size, written, num_pages = 16; in userfaultfd_tests() local 238 int mem_size, vec_size, ret, ret2, ret3, i, num_pages = 1000, total_pages = 0; in sanity_tests_sd() local 801 size_t num_pages = 10; in hpage_unit_tests() local
|
/linux-6.12.1/drivers/infiniband/hw/qib/ |
D | qib_user_pages.c | 40 static void __qib_release_user_pages(struct page **p, size_t num_pages, in __qib_release_user_pages() 94 int qib_get_user_pages(unsigned long start_page, size_t num_pages, in qib_get_user_pages() 130 void qib_release_user_pages(struct page **p, size_t num_pages) in qib_release_user_pages()
|
/linux-6.12.1/drivers/gpu/drm/ttm/ |
D | ttm_pool.c | 168 unsigned int num_pages = last - first; in ttm_pool_apply_caching() local 214 unsigned int num_pages) in ttm_pool_unmap() 227 unsigned int i, num_pages = 1 << pt->order; in ttm_pool_type_give() local 324 unsigned int num_pages; in ttm_pool_shrink() local 360 unsigned long *num_pages, in ttm_pool_page_allocated() 431 pgoff_t num_pages = tt->num_pages; in ttm_pool_alloc() local 650 unsigned long num_pages = atomic_long_read(&allocated_pages); in ttm_pool_shrinker_count() local 787 int ttm_pool_mgr_init(unsigned long num_pages) in ttm_pool_mgr_init()
|
D | ttm_range_manager.c | 122 u32 num_pages = PFN_UP(size); in ttm_range_man_intersects() local 138 u32 num_pages = PFN_UP(size); in ttm_range_man_compatible() local
|
D | ttm_bo_util.c | 85 u32 num_pages, in ttm_move_memcpy() 337 unsigned long num_pages, in ttm_bo_kmap_ttm() 397 unsigned long start_page, unsigned long num_pages, in ttm_bo_kmap()
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | set_memory.h | 21 int num_pages)) in set_kernel_memory() 25 int num_pages = PAGE_ALIGN(end - start) >> PAGE_SHIFT; in set_kernel_memory() local 37 int num_pages)) in set_kernel_memory()
|
/linux-6.12.1/net/ceph/ |
D | pagevec.c | 13 void ceph_put_page_vector(struct page **pages, int num_pages, bool dirty) in ceph_put_page_vector() 26 void ceph_release_page_vector(struct page **pages, int num_pages) in ceph_release_page_vector() 39 struct page **ceph_alloc_page_vector(int num_pages, gfp_t flags) in ceph_alloc_page_vector()
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/ |
D | i915_gem_userptr.c | 92 const unsigned long num_pages = obj->base.size >> PAGE_SHIFT; in i915_gem_object_userptr_drop_ref() local 104 unsigned int num_pages; /* limited by sg_alloc_table_from_pages_segment */ in i915_gem_userptr_get_pages() local 235 const unsigned long num_pages = obj->base.size >> PAGE_SHIFT; in i915_gem_object_userptr_submit_init() local
|
/linux-6.12.1/include/xen/ |
D | xen-front-pgdir-shbuf.h | 42 int num_pages; member 62 int num_pages; member
|
/linux-6.12.1/drivers/gpu/drm/gma500/ |
D | mmu.c | 479 uint32_t num_pages, uint32_t desired_tile_stride, in psb_mmu_flush_ptes() 527 unsigned long address, uint32_t num_pages) in psb_mmu_remove_pfn_sequence() 566 uint32_t num_pages, uint32_t desired_tile_stride, in psb_mmu_remove_pages() 622 unsigned long address, uint32_t num_pages, in psb_mmu_insert_pfn_sequence() 668 unsigned long address, uint32_t num_pages, in psb_mmu_insert_pages()
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_gmr.c | 39 unsigned long num_pages, in vmw_gmr2_bind() 128 unsigned long num_pages, in vmw_gmr_bind()
|
D | vmwgfx_reg.h | 39 u32 num_pages; member
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | dirty_log_test.c | 229 void *bitmap, uint32_t num_pages, in dirty_log_collect_dirty_pages() 236 void *bitmap, uint32_t num_pages, in clear_log_collect_dirty_pages() 314 uint32_t num_pages, uint32_t *fetch_index) in dirty_ring_collect_one() 352 void *bitmap, uint32_t num_pages, in dirty_ring_collect_dirty_pages() 490 void *bitmap, uint32_t num_pages, in log_mode_collect_dirty_pages()
|
/linux-6.12.1/drivers/gpu/drm/nouveau/ |
D | nouveau_mem.c | 195 u32 num_pages = PFN_UP(size); in nouveau_mem_intersects() local 210 u32 num_pages = PFN_UP(size); in nouveau_mem_compatible() local
|
/linux-6.12.1/tools/mm/ |
D | thp_swap_allocator_test.c | 68 size_t num_pages = total_dontneed_size / align_size; in random_madvise_dontneed() local 86 size_t num_pages = total_swapin_size / align_size; in random_swapin() local
|
/linux-6.12.1/tools/testing/selftests/cachestat/ |
D | test_cachestat.c | 119 bool test_fsync, unsigned long num_pages, in test_cachestat() 215 unsigned long num_pages = compute_len / PS; in test_cachestat_shmem() local
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_cache.c | 67 unsigned long num_pages) in drm_cache_flush_clflush() 87 drm_clflush_pages(struct page *pages[], unsigned long num_pages) in drm_clflush_pages()
|
/linux-6.12.1/drivers/gpu/drm/ttm/tests/ |
D | ttm_tt_test.c | 47 int num_pages = params->size >> PAGE_SHIFT; in ttm_tt_init_basic() local 73 int num_pages = (size + SZ_4K) >> PAGE_SHIFT; in ttm_tt_init_misaligned() local 344 int err, num_pages; in ttm_tt_swapin_basic() local
|
/linux-6.12.1/include/linux/ |
D | tee_drv.h | 72 size_t num_pages; member 161 size_t *num_pages) in tee_shm_get_pages()
|
/linux-6.12.1/drivers/infiniband/sw/siw/ |
D | siw_mem.c | 68 int i, num_pages = umem->num_pages; in siw_umem_release() local 365 int num_pages, num_chunks, i, rv = 0; in siw_umem_get() local
|
/linux-6.12.1/kernel/module/ |
D | strict_rwx.c | 15 int (*set_memory)(unsigned long start, int num_pages)) in module_set_memory()
|
/linux-6.12.1/drivers/gpu/drm/imagination/ |
D | pvr_free_list.c | 223 struct sg_table *sgt, u32 offset, u32 num_pages) in pvr_free_list_insert_pages_locked() 298 pvr_free_list_grow(struct pvr_free_list *free_list, u32 num_pages) in pvr_free_list_grow()
|
/linux-6.12.1/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_gem.h | 23 unsigned long num_pages; member
|