Home
last modified time | relevance | path

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

1234567

/openbmc/linux/tools/testing/selftests/mm/
H A 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
/openbmc/linux/drivers/infiniband/hw/qib/
H A 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()
/openbmc/linux/drivers/gpu/drm/ttm/
H A 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()
H A Dttm_device.c69 unsigned long num_pages, num_dma32; in ttm_global_init() local
158 uint32_t num_pages; in ttm_device_swapout() local
H A 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
H A Dttm_bo_util.c85 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()
/openbmc/linux/arch/riscv/include/asm/
H A 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()
/openbmc/linux/net/ceph/
H A 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()
/openbmc/linux/include/xen/
H A Dxen-front-pgdir-shbuf.h42 int num_pages; member
62 int num_pages; member
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A 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
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gmr.c39 unsigned long num_pages, in vmw_gmr2_bind()
128 unsigned long num_pages, in vmw_gmr_bind()
H A Dvmwgfx_reg.h39 u32 num_pages; member
/openbmc/linux/drivers/gpu/drm/gma500/
H A 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()
/openbmc/linux/drivers/infiniband/sw/siw/
H A 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
/openbmc/linux/drivers/gpu/drm/nouveau/
H A 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
/openbmc/linux/tools/testing/selftests/cachestat/
H A 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
/openbmc/linux/drivers/gpu/drm/
H A 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()
H A Ddrm_memory.c61 unsigned long i, num_pages = in agp_remap() local
/openbmc/linux/tools/testing/selftests/kvm/
H A 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()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockopt.c977 int num_pages = test->set_optlen / PAGE_SIZE; in run_test() local
999 int num_pages = test->get_optlen / PAGE_SIZE; in run_test() local
/openbmc/linux/kernel/module/
H A Dstrict_rwx.c15 int (*set_memory)(unsigned long start, int num_pages)) in module_set_memory()
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.h23 unsigned long num_pages; member
/openbmc/linux/arch/m68k/sun3/
H A Dconfig.c44 unsigned long num_pages; variable
/openbmc/linux/arch/mips/kernel/
H A Dvdso.c43 unsigned long num_pages, i; in init_vdso_image() local
/openbmc/linux/include/drm/ttm/
H A Dttm_tt.h101 uint32_t num_pages; member

1234567