Home
last modified time | relevance | path

Searched defs:num_pages (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/kernel/linux/linux-6.6/tools/testing/selftests/mm/
Dmremap_dontunmap.c45 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
130 unsigned long num_pages = 5; in mremap_dontunmap_simple_shmem() local
183 unsigned long num_pages = 5; in mremap_dontunmap_simple_fixed() local
242 unsigned long num_pages = 10; in mremap_dontunmap_partial_mapping() local
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dmremap_dontunmap.c48 unsigned long num_pages = 1; in kernel_support_for_mremap_dontunmap() local
81 unsigned long num_pages = size / page_size; in check_region_contains_byte() local
100 unsigned long num_pages = 5; in mremap_dontunmap_simple() local
135 unsigned long num_pages = 5; in mremap_dontunmap_simple_fixed() local
194 unsigned long num_pages = 10; in mremap_dontunmap_partial_mapping() local
/kernel/linux/linux-5.10/drivers/staging/gasket/
Dgasket_page_table.c468 uint num_pages, int is_simple_mapping) in gasket_perform_mapping()
576 ulong dev_addr, uint num_pages) in gasket_alloc_simple_entries()
592 u64 __iomem *slots, uint num_pages, in gasket_perform_unmapping()
630 ulong dev_addr, uint num_pages) in gasket_unmap_simple_pages()
643 ulong dev_addr, uint num_pages) in gasket_unmap_extended_pages()
708 ulong dev_addr, uint num_pages) in gasket_is_simple_dev_addr_bad()
746 ulong dev_addr, uint num_pages) in gasket_is_extended_dev_addr_bad()
802 ulong dev_addr, uint num_pages) in gasket_page_table_unmap_nolock()
819 uint num_pages) in gasket_map_simple_pages()
955 uint num_pages) in gasket_map_extended_pages()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_user_pages.c40 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()
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
Dqib_user_pages.c40 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/
Dttm_pool.c167 unsigned int num_pages = last - first; in ttm_pool_apply_caching() local
213 unsigned int num_pages) in ttm_pool_unmap()
226 unsigned int i, num_pages = 1 << pt->order; in ttm_pool_type_give() local
323 unsigned int num_pages; in ttm_pool_shrink() local
357 unsigned long *num_pages, in ttm_pool_page_allocated()
428 pgoff_t num_pages = tt->num_pages; in ttm_pool_alloc() local
635 unsigned long num_pages = atomic_long_read(&allocated_pages); in ttm_pool_shrinker_count() local
772 int ttm_pool_mgr_init(unsigned long num_pages) in ttm_pool_mgr_init()
Dttm_range_manager.c122 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
/kernel/linux/linux-6.6/arch/riscv/include/asm/
Dset_memory.h21 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()
/kernel/linux/linux-5.10/net/ceph/
Dpagevec.c13 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()
/kernel/linux/linux-6.6/net/ceph/
Dpagevec.c13 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_cache.c61 unsigned long num_pages) in drm_cache_flush_clflush()
81 drm_clflush_pages(struct page *pages[], unsigned long num_pages) in drm_clflush_pages()
/kernel/linux/linux-6.6/include/xen/
Dxen-front-pgdir-shbuf.h42 int num_pages; member
62 int num_pages; member
/kernel/linux/linux-5.10/include/xen/
Dxen-front-pgdir-shbuf.h42 int num_pages; member
62 int num_pages; member
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dmmu.c500 uint32_t num_pages, uint32_t desired_tile_stride, in psb_mmu_flush_ptes()
548 uint32_t num_pages, uint32_t desired_tile_stride, in psb_mmu_flush_ptes()
556 unsigned long address, uint32_t num_pages) in psb_mmu_remove_pfn_sequence()
595 uint32_t num_pages, uint32_t desired_tile_stride, in psb_mmu_remove_pages()
651 unsigned long address, uint32_t num_pages, in psb_mmu_insert_pfn_sequence()
697 unsigned long address, uint32_t num_pages, in psb_mmu_insert_pages()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/
Di915_gem_userptr.c122 const unsigned long num_pages = obj->base.size >> PAGE_SHIFT; in i915_gem_object_userptr_drop_ref() local
134 unsigned int num_pages; /* limited by sg_alloc_table_from_pages_segment */ in i915_gem_userptr_get_pages() local
265 const unsigned long num_pages = obj->base.size >> PAGE_SHIFT; in i915_gem_object_userptr_submit_init() local
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gmr.c40 unsigned long num_pages, in vmw_gmr2_bind()
129 unsigned long num_pages, in vmw_gmr_bind()
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gmr.c39 unsigned long num_pages, in vmw_gmr2_bind()
128 unsigned long num_pages, in vmw_gmr_bind()
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/
Dmmu.c478 uint32_t num_pages, uint32_t desired_tile_stride, in psb_mmu_flush_ptes()
526 unsigned long address, uint32_t num_pages) in psb_mmu_remove_pfn_sequence()
565 uint32_t num_pages, uint32_t desired_tile_stride, in psb_mmu_remove_pages()
621 unsigned long address, uint32_t num_pages, in psb_mmu_insert_pfn_sequence()
667 unsigned long address, uint32_t num_pages, in psb_mmu_insert_pages()
/kernel/linux/linux-6.6/drivers/infiniband/sw/siw/
Dsiw_mem.c63 static void siw_free_plist(struct siw_page_chunk *chunk, int num_pages, in siw_free_plist()
72 int i, num_pages = umem->num_pages; in siw_umem_release() local
372 int num_pages, num_chunks, i, rv = 0; in siw_umem_get() local
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_mem.c63 static void siw_free_plist(struct siw_page_chunk *chunk, int num_pages, in siw_free_plist()
72 int i, num_pages = umem->num_pages; in siw_umem_release() local
372 int num_pages, num_chunks, i, rv = 0; in siw_umem_get() local
/kernel/linux/linux-6.6/tools/testing/selftests/cachestat/
Dtest_cachestat.c119 bool test_fsync, unsigned long num_pages, in test_cachestat()
215 unsigned long num_pages = compute_len / PS; in test_cachestat_shmem() local
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
Dnouveau_mem.c197 u32 num_pages = PFN_UP(size); in nouveau_mem_intersects() local
212 u32 num_pages = PFN_UP(size); in nouveau_mem_compatible() local
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_cache.c67 unsigned long num_pages) in drm_cache_flush_clflush()
87 drm_clflush_pages(struct page *pages[], unsigned long num_pages) in drm_clflush_pages()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/
Ddirty_log_test.c232 void *bitmap, uint32_t num_pages, in dirty_log_collect_dirty_pages()
239 void *bitmap, uint32_t num_pages, in clear_log_collect_dirty_pages()
317 uint32_t num_pages, uint32_t *fetch_index) in dirty_ring_collect_one()
355 void *bitmap, uint32_t num_pages, in dirty_ring_collect_dirty_pages()
493 void *bitmap, uint32_t num_pages, in log_mode_collect_dirty_pages()
/kernel/linux/linux-5.10/drivers/tee/optee/
Dcall.c494 void optee_fill_pages_list(u64 *dst, struct page **pages, int num_pages, in optee_fill_pages_list()
591 static int check_mem_type(unsigned long start, size_t num_pages) in check_mem_type()
612 struct page **pages, size_t num_pages, in optee_shm_register()
687 struct page **pages, size_t num_pages, in optee_shm_register_supp()

12345678910>>...13