/Linux-v5.15/tools/testing/selftests/vm/ |
D | hmm-tests.c | 127 unsigned long npages) in hmm_dmirror_cmd() 227 unsigned long npages; in TEST_F() local 291 unsigned long npages; in TEST_F() local 350 unsigned long npages; in TEST_F() local 398 unsigned long npages; in TEST_F() local 464 unsigned long npages; in TEST_F() local 542 unsigned long npages; in TEST_F() local 619 unsigned long npages; in TEST_F() local 676 unsigned long npages; in TEST_F() local 736 unsigned long npages; in TEST_F() local [all …]
|
/Linux-v5.15/arch/sparc/kernel/ |
D | iommu.c | 158 unsigned long npages) in alloc_npages() 204 int npages, nid; in dma_4u_alloc_coherent() local 251 unsigned long order, npages; in dma_4u_free_coherent() local 271 unsigned long flags, npages, oaddr; in dma_4u_map_page() local 321 u32 vaddr, unsigned long ctx, unsigned long npages, in strbuf_flush() 393 unsigned long flags, npages, ctx, i; in dma_4u_unmap_page() local 478 unsigned long paddr, npages, entry, out_entry = 0, slen; in dma_4u_map_sg() local 557 unsigned long vaddr, npages, entry, j; in dma_4u_map_sg() local 627 unsigned long npages, entry; in dma_4u_unmap_sg() local 663 unsigned long flags, ctx, npages; in dma_4u_sync_single_for_cpu() local [all …]
|
D | pci_sun4v.c | 60 unsigned long npages; /* Number of pages in list. */ member 91 unsigned long npages = p->npages; in iommu_batch_flush() local 185 unsigned long flags, order, first_page, npages, n; in dma_4v_alloc_coherent() local 297 unsigned long entry, unsigned long npages) in dma_4v_iommu_demap() 329 unsigned long order, npages, entry; in dma_4v_free_coherent() local 363 unsigned long flags, npages, oaddr; in dma_4v_map_page() local 436 unsigned long npages; in dma_4v_unmap_page() local 523 unsigned long paddr, npages, entry, out_entry = 0, slen; in dma_4v_map_sg() local 605 unsigned long vaddr, npages; in dma_4v_map_sg() local 648 unsigned long npages; in dma_4v_unmap_sg() local
|
D | iommu-common.c | 99 unsigned long npages, in iommu_tbl_range_alloc() 247 unsigned long npages, unsigned long entry) in iommu_tbl_range_free()
|
/Linux-v5.15/drivers/infiniband/hw/hfi1/ |
D | user_pages.c | 30 u32 nlocked, u32 npages) in hfi1_can_pin_pages() 61 int hfi1_acquire_user_pages(struct mm_struct *mm, unsigned long vaddr, size_t npages, in hfi1_acquire_user_pages() 77 size_t npages, bool dirty) in hfi1_release_user_pages()
|
D | user_exp_rcv.c | 130 unsigned int npages, in unpin_rcv_pages() 156 unsigned int npages; in pin_rcv_pages() local 519 static u32 find_phys_blocks(struct tid_user_buf *tidbuf, unsigned int npages) in find_phys_blocks() 638 u16 npages, pageidx, setidx = start + idx; in program_rcvarray() local 682 u16 pageidx, unsigned int npages) in set_rcvarray_entry()
|
D | user_exp_rcv.h | 21 unsigned int npages; member 35 unsigned int npages; member
|
/Linux-v5.15/arch/powerpc/kernel/ |
D | iommu.c | 206 unsigned long npages, in iommu_range_alloc() 337 void *page, unsigned int npages, in iommu_alloc() 380 unsigned int npages) in iommu_free_check() 427 unsigned int npages) in __iommu_free() 449 unsigned int npages) in iommu_free() 490 unsigned long vaddr, npages, entry, slen; in ppc_iommu_map_sg() local 589 unsigned long vaddr, npages; in ppc_iommu_map_sg() local 617 unsigned int npages; in ppc_iommu_unmap_sg() local 846 unsigned int npages, align; in iommu_map_page() local 881 unsigned int npages; in iommu_unmap_page() local [all …]
|
/Linux-v5.15/drivers/gpu/drm/i915/selftests/ |
D | scatterlist.c | 53 unsigned int npages = npages_fn(n, pt->st.nents, rnd); in expect_pfn_sg() local 209 unsigned long npages) in page_contiguous() 238 unsigned long npages = npages_fn(n, count, rnd); in alloc_table() local 288 const npages_fn_t *npages; in igt_sg_alloc() local 330 const npages_fn_t *npages; in igt_sg_trim() local
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pagealloc.c | 52 s32 npages; member 180 s32 *npages, int boot) in mlx5_cmd_query_pages() 333 static int give_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in give_pages() 407 int npages = 0; in release_all_pages() local 433 u32 npages) in fwp_fill_manage_pages_out() 458 u32 npages; in reclaim_pages_cmd() local 485 static int reclaim_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in reclaim_pages() 579 s32 npages; in req_pages_handler() local 611 s32 npages; in mlx5_satisfy_startup_pages() local
|
/Linux-v5.15/fs/f2fs/ |
D | debug.c | 309 unsigned npages = NODE_MAPPING(sbi)->nrpages; in update_mem_info() local 314 unsigned npages = META_MAPPING(sbi)->nrpages; in update_mem_info() local 320 unsigned npages = COMPRESS_MAPPING(sbi)->nrpages; in update_mem_info() local
|
/Linux-v5.15/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_migrate.c | 44 svm_migrate_gart_map(struct amdgpu_ring *ring, uint64_t npages, in svm_migrate_gart_map() 128 uint64_t *vram, uint64_t npages, in svm_migrate_copy_memory_gart() 272 uint64_t npages = migrate->cpages; in svm_migrate_copy_to_vram() local 380 uint64_t npages = (end - start) >> PAGE_SHIFT; in svm_migrate_vma_to_vram() local 517 dma_addr_t *scratch, uint64_t npages) in svm_migrate_copy_to_ram() 606 uint64_t npages = (end - start) >> PAGE_SHIFT; in svm_migrate_vma_to_ram() local
|
/Linux-v5.15/fs/sysv/ |
D | dir.c | 69 unsigned long npages = dir_pages(inode); in sysv_readdir() local 133 unsigned long npages = dir_pages(dir); in sysv_find_entry() local 180 unsigned long npages = dir_pages(dir); in sysv_add_link() local 288 unsigned long i, npages = dir_pages(inode); in sysv_empty_dir() local
|
/Linux-v5.15/drivers/fpga/ |
D | dfl-afu-dma-region.c | 37 int npages = region->length >> PAGE_SHIFT; in afu_dma_pin_pages() local 85 long npages = region->length >> PAGE_SHIFT; in afu_dma_unpin_pages() local 104 int npages = region->length >> PAGE_SHIFT; in afu_dma_check_continuous_pages() local
|
/Linux-v5.15/mm/ |
D | hmm.c | 122 const unsigned long hmm_pfns[], unsigned long npages, in hmm_range_need_fault() 153 unsigned long i, npages; in hmm_vma_walk_hole() local 193 unsigned long pfn, npages, i; in hmm_vma_handle_pmd() local 331 unsigned long npages = (end - start) >> PAGE_SHIFT; in hmm_vma_walk_pmd() local 435 unsigned long i, npages, pfn; in hmm_vma_walk_pud() local
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/ |
D | mr.c | 194 int mlx4_mtt_init(struct mlx4_dev *dev, int npages, int page_shift, in mlx4_mtt_init() 418 u64 iova, u64 size, u32 access, int npages, in mlx4_mr_alloc_reserved() 528 int npages, int page_shift, struct mlx4_mr *mr) in mlx4_mr_alloc() 590 u64 iova, u64 size, int npages, in mlx4_mr_rereg_mem_write() 693 int start_index, int npages, u64 *page_list) in mlx4_write_mtt_chunk() 719 int start_index, int npages, u64 *page_list) in __mlx4_write_mtt() 747 int start_index, int npages, u64 *page_list) in mlx4_write_mtt()
|
/Linux-v5.15/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_prime.c | 17 int npages = obj->size >> PAGE_SHIFT; in etnaviv_gem_prime_get_sg_table() local 106 int ret, npages; in etnaviv_gem_prime_import_sg_table() local
|
/Linux-v5.15/drivers/gpu/drm/msm/ |
D | msm_gem_vma.c | 71 struct sg_table *sgt, int npages) in msm_gem_map_vma() 118 struct msm_gem_vma *vma, int npages, in msm_gem_init_vma()
|
/Linux-v5.15/arch/x86/mm/ |
D | cpu_entry_area.c | 63 unsigned int npages; in percpu_setup_debug_store() local 98 unsigned int npages; in percpu_setup_exception_stacks() local
|
/Linux-v5.15/arch/powerpc/include/asm/ |
D | ultravisor.h | 34 static inline int uv_share_page(u64 pfn, u64 npages) in uv_share_page() 39 static inline int uv_unshare_page(u64 pfn, u64 npages) in uv_unshare_page()
|
/Linux-v5.15/fs/minix/ |
D | dir.c | 87 unsigned long npages = dir_pages(inode); in minix_readdir() local 159 unsigned long npages = dir_pages(dir); in minix_find_entry() local 208 unsigned long npages = dir_pages(dir); in minix_add_link() local 364 unsigned long i, npages = dir_pages(inode); in minix_empty_dir() local
|
/Linux-v5.15/drivers/gpu/drm/omapdrm/ |
D | omap_gem.c | 226 int npages = obj->size >> PAGE_SHIFT; in omap_gem_attach_pages() local 297 unsigned int npages = obj->size >> PAGE_SHIFT; in omap_gem_detach_pages() local 647 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_roll() local 723 int i, npages = obj->size >> PAGE_SHIFT; in omap_gem_dma_sync_buffer() local 777 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_pin() local 1014 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_resume() local 1315 unsigned int npages; in omap_gem_new_dmabuf() local
|
/Linux-v5.15/fs/ufs/ |
D | dir.c | 258 unsigned long npages = dir_pages(dir); in ufs_find_entry() local 316 unsigned long npages = dir_pages(dir); in ufs_add_link() local 430 unsigned long npages = dir_pages(inode); in ufs_readdir() local 595 unsigned long i, npages = dir_pages(inode); in ufs_empty_dir() local
|
/Linux-v5.15/fs/nilfs2/ |
D | dir.c | 270 unsigned long npages = dir_pages(inode); in nilfs_readdir() local 332 unsigned long npages = dir_pages(dir); in nilfs_find_entry() local 448 unsigned long npages = dir_pages(dir); in nilfs_add_link() local 624 unsigned long i, npages = dir_pages(inode); in nilfs_empty_dir() local
|
/Linux-v5.15/fs/ext2/ |
D | dir.c | 272 unsigned long npages = dir_pages(inode); in ext2_readdir() local 356 unsigned long npages = dir_pages(dir); in ext2_find_entry() local 498 unsigned long npages = dir_pages(dir); in ext2_add_link() local 674 unsigned long i, npages = dir_pages(inode); in ext2_empty_dir() local
|