/linux-6.1.9/tools/testing/selftests/vm/ |
D | hmm-tests.c | 176 unsigned long npages) in hmm_dmirror_cmd() 265 unsigned long npages) in hmm_migrate_sys_to_dev() 272 unsigned long npages) in hmm_migrate_dev_to_sys() 290 unsigned long npages; in TEST_F() local 354 unsigned long npages; in TEST_F() local 413 unsigned long npages; in TEST_F() local 461 unsigned long npages; in TEST_F() local 527 unsigned long npages; in TEST_F() local 605 unsigned long npages; in TEST_F() local 682 unsigned long npages; in TEST_F() local [all …]
|
/linux-6.1.9/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
|
/linux-6.1.9/arch/x86/mm/ |
D | mem_encrypt_amd.c | 61 unsigned long npages = PAGE_ALIGN(sz) >> PAGE_SHIFT; in snp_memcpy() local 291 static void enc_dec_hypercall(unsigned long vaddr, int npages, bool enc) in enc_dec_hypercall() 322 static void amd_enc_status_change_prepare(unsigned long vaddr, int npages, bool enc) in amd_enc_status_change_prepare() 333 static bool amd_enc_status_change_finish(unsigned long vaddr, int npages, bool enc) in amd_enc_status_change_finish() 483 void __init early_set_mem_enc_dec_hypercall(unsigned long vaddr, int npages, bool enc) in early_set_mem_enc_dec_hypercall() 508 unsigned long vaddr, vaddr_end, npages; in mem_encrypt_free_decrypted_mem() local
|
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-6.1.9/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 | 137 unsigned int npages, in unpin_rcv_pages() 163 unsigned int npages; in pin_rcv_pages() local 573 static u32 find_phys_blocks(struct tid_user_buf *tidbuf, unsigned int npages) in find_phys_blocks() 692 u16 npages, pageidx, setidx = start + idx; in program_rcvarray() local 736 u16 pageidx, unsigned int npages) in set_rcvarray_entry()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | iommu.c | 205 unsigned long npages, in iommu_range_alloc() 336 void *page, unsigned int npages, in iommu_alloc() 379 unsigned int npages) in iommu_free_check() 426 unsigned int npages) in __iommu_free() 448 unsigned int npages) in iommu_free() 489 unsigned long vaddr, npages, entry, slen; in ppc_iommu_map_sg() local 588 unsigned long vaddr, npages; in ppc_iommu_map_sg() local 616 unsigned int npages; in ppc_iommu_unmap_sg() local 850 unsigned int npages, align; in iommu_map_page() local 885 unsigned int npages; in iommu_unmap_page() local [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pagealloc.c | 52 s32 npages; member 175 s32 *npages, int boot) in mlx5_cmd_query_pages() 328 static int give_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in give_pages() 416 int npages = 0; in release_all_pages() local 442 u32 npages) in fwp_fill_manage_pages_out() 467 u32 npages; in reclaim_pages_cmd() local 494 static int reclaim_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in reclaim_pages() 599 s32 npages; in req_pages_handler() local 631 s32 npages; in mlx5_satisfy_startup_pages() local
|
/linux-6.1.9/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-6.1.9/mm/ |
D | migrate_device.c | 364 unsigned long npages, in migrate_device_unmap() 701 unsigned long *dst_pfns, unsigned long npages, in __migrate_device_pages() 796 unsigned long npages) in migrate_device_pages() 827 unsigned long *dst_pfns, unsigned long npages) in migrate_device_finalize() 910 unsigned long npages) in migrate_device_range()
|
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 329 unsigned long npages = (end - start) >> PAGE_SHIFT; in hmm_vma_walk_pmd() local 432 unsigned long i, npages, pfn; in hmm_vma_walk_pud() local
|
/linux-6.1.9/fs/f2fs/ |
D | debug.c | 304 unsigned npages = NODE_MAPPING(sbi)->nrpages; in update_mem_info() local 309 unsigned npages = META_MAPPING(sbi)->nrpages; in update_mem_info() local 315 unsigned npages = COMPRESS_MAPPING(sbi)->nrpages; in update_mem_info() local
|
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_migrate.c | 50 svm_migrate_gart_map(struct amdgpu_ring *ring, uint64_t npages, in svm_migrate_gart_map() 131 uint64_t *vram, uint64_t npages, in svm_migrate_copy_memory_gart() 300 uint64_t npages = migrate->npages; in svm_migrate_copy_to_vram() local 410 uint64_t npages = (end - start) >> PAGE_SHIFT; in svm_migrate_vma_to_vram() local 566 dma_addr_t *scratch, uint64_t npages) in svm_migrate_copy_to_ram() 672 uint64_t npages = (end - start) >> PAGE_SHIFT; in svm_migrate_vma_to_ram() local
|
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_prime.c | 20 int npages = obj->size >> PAGE_SHIFT; in etnaviv_gem_prime_get_sg_table() local 109 int ret, npages; in etnaviv_gem_prime_import_sg_table() local
|
/linux-6.1.9/arch/x86/kernel/ |
D | x86_init.c | 133 static void enc_status_change_prepare_noop(unsigned long vaddr, int npages, bool enc) { } in enc_status_change_prepare_noop() 134 static bool enc_status_change_finish_noop(unsigned long vaddr, int npages, bool enc) { return false… in enc_status_change_finish_noop()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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
|
/linux-6.1.9/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-6.1.9/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 756 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_pin_tiler() local 1119 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_resume() local 1420 unsigned int npages; in omap_gem_new_dmabuf() local
|