/Linux-v4.19/arch/sparc/kernel/ |
D | iommu.c | 159 unsigned long npages) in alloc_npages() 205 int npages, nid; in dma_4u_alloc_coherent() local 252 unsigned long order, npages; in dma_4u_free_coherent() local 272 unsigned long flags, npages, oaddr; in dma_4u_map_page() local 322 u32 vaddr, unsigned long ctx, unsigned long npages, in strbuf_flush() 394 unsigned long flags, npages, ctx, i; in dma_4u_unmap_page() local 480 unsigned long paddr, npages, entry, out_entry = 0, slen; in dma_4u_map_sg() local 560 unsigned long vaddr, npages, entry, j; in dma_4u_map_sg() local 631 unsigned long npages, entry; in dma_4u_unmap_sg() local 667 unsigned long flags, ctx, npages; in dma_4u_sync_single_for_cpu() local [all …]
|
D | pci_sun4v.c | 59 unsigned long npages; /* Number of pages in list. */ member 85 unsigned long npages = p->npages; in iommu_batch_flush() local 179 unsigned long flags, order, first_page, npages, n; in dma_4v_alloc_coherent() local 294 unsigned long entry, unsigned long npages) in dma_4v_iommu_demap() 326 unsigned long order, npages, entry; in dma_4v_free_coherent() local 360 unsigned long flags, npages, oaddr; in dma_4v_map_page() local 433 unsigned long npages; in dma_4v_unmap_page() local 521 unsigned long paddr, npages, entry, out_entry = 0, slen; in dma_4v_map_sg() local 604 unsigned long vaddr, npages; in dma_4v_map_sg() local 648 unsigned long npages; in dma_4v_unmap_sg() local
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | user_pages.c | 72 u32 nlocked, u32 npages) in hfi1_can_pin_pages() 105 int hfi1_acquire_user_pages(struct mm_struct *mm, unsigned long vaddr, size_t npages, in hfi1_acquire_user_pages() 122 size_t npages, bool dirty) in hfi1_release_user_pages()
|
D | user_exp_rcv.c | 196 unsigned int npages, in unpin_rcv_pages() 219 unsigned int npages; in pin_rcv_pages() local 586 static u32 find_phys_blocks(struct tid_user_buf *tidbuf, unsigned int npages) in find_phys_blocks() 705 u16 npages, pageidx, setidx = start + idx; in program_rcvarray() local 749 u16 pageidx, unsigned int npages) in set_rcvarray_entry()
|
D | user_exp_rcv.h | 62 unsigned int npages; member 75 unsigned int npages; member
|
/Linux-v4.19/drivers/fpga/ |
D | dfl-afu-dma-region.c | 18 static void put_all_pages(struct page **pages, int npages) in put_all_pages() 45 static int afu_dma_adjust_locked_vm(struct device *dev, long npages, bool incr) in afu_dma_adjust_locked_vm() 91 int npages = region->length >> PAGE_SHIFT; in afu_dma_pin_pages() local 139 long npages = region->length >> PAGE_SHIFT; in afu_dma_unpin_pages() local 158 int npages = region->length >> PAGE_SHIFT; in afu_dma_check_continuous_pages() local
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | iommu.c | 177 unsigned long npages, in iommu_range_alloc() 306 void *page, unsigned int npages, in iommu_alloc() 349 unsigned int npages) in iommu_free_check() 396 unsigned int npages) in __iommu_free() 418 unsigned int npages) in iommu_free() 459 unsigned long vaddr, npages, entry, slen; in ppc_iommu_map_sg() local 559 unsigned long vaddr, npages; in ppc_iommu_map_sg() local 588 unsigned int npages; in ppc_iommu_unmap_sg() local 782 unsigned int npages, align; in iommu_map_page() local 817 unsigned int npages; in iommu_unmap_page() local [all …]
|
/Linux-v4.19/drivers/gpu/drm/i915/selftests/ |
D | scatterlist.c | 52 unsigned int npages = npages_fn(n, pt->st.nents, rnd); in expect_pfn_sg() local 208 unsigned long npages) in page_contiguous() 237 unsigned long npages = npages_fn(n, count, rnd); in alloc_table() local 287 const npages_fn_t *npages; in igt_sg_alloc() local 329 const npages_fn_t *npages; in igt_sg_trim() local
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_mr.c | 208 int hns_roce_mtt_init(struct hns_roce_dev *hr_dev, int npages, int page_shift, in hns_roce_mtt_init() 318 static int hns_roce_mhop_alloc(struct hns_roce_dev *hr_dev, int npages, in hns_roce_mhop_alloc() 494 u64 size, u32 access, int npages, in hns_roce_mr_alloc() 545 int npages; in hns_roce_mhop_free() local 628 int npages = 0; in hns_roce_mr_free() local 705 u32 npages, u64 *page_list) in hns_roce_write_mtt_chunk() 751 u32 npages, u64 *page_list) in hns_roce_write_mtt() 1072 int npages; in hns_roce_rereg_user_mr() local
|
/Linux-v4.19/drivers/infiniband/hw/cxgb3/ |
D | iwch_mem.c | 78 int iwch_alloc_pbl(struct iwch_mr *mhp, int npages) in iwch_alloc_pbl() 97 int iwch_write_pbl(struct iwch_mr *mhp, __be64 *pages, int npages, int offset) in iwch_write_pbl()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pagealloc.c | 50 s32 npages; member 135 s32 *npages, int boot) in mlx5_cmd_query_pages() 271 static int give_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in give_pages() 340 u32 npages; in reclaim_pages_cmd() local 365 static int reclaim_pages(struct mlx5_core_dev *dev, u32 func_id, int npages, in reclaim_pages() 437 s32 npages) in mlx5_core_req_pages_handler()
|
/Linux-v4.19/arch/x86/kernel/ |
D | pci-calgary_64.c | 207 unsigned long start_addr, unsigned int npages) in iommu_range_reserve() 232 unsigned int npages) in iommu_range_alloc() 271 void *vaddr, unsigned int npages, int direction) in iommu_alloc() 294 unsigned int npages) in iommu_free() 356 unsigned int npages; in calgary_unmap_sg() local 375 unsigned int npages; in calgary_map_sg() local 417 unsigned int npages; in calgary_map_page() local 431 unsigned int npages; in calgary_unmap_page() local 442 unsigned int npages, order; in calgary_alloc_coherent() local 472 unsigned int npages; in calgary_free_coherent() local [all …]
|
D | tce_64.c | 50 unsigned int npages, unsigned long uaddr, int direction) in tce_build() 75 void tce_free(struct iommu_table *tbl, long index, unsigned int npages) in tce_free()
|
/Linux-v4.19/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-v4.19/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() 417 u64 iova, u64 size, u32 access, int npages, in mlx4_mr_alloc_reserved() 527 int npages, int page_shift, struct mlx4_mr *mr) in mlx4_mr_alloc() 589 u64 iova, u64 size, int npages, in mlx4_mr_rereg_mem_write() 692 int start_index, int npages, u64 *page_list) in mlx4_write_mtt_chunk() 718 int start_index, int npages, u64 *page_list) in __mlx4_write_mtt() 746 int start_index, int npages, u64 *page_list) in mlx4_write_mtt() 969 int npages, u64 iova) in mlx4_check_fmr() 996 int npages, u64 iova, u32 *lkey, u32 *rkey) in mlx4_map_phys_fmr()
|
/Linux-v4.19/arch/sparc/mm/ |
D | iommu.c | 178 static u32 iommu_get_one(struct device *dev, struct page *page, int npages) in iommu_get_one() 211 int npages; in iommu_get_scsi_one() local 284 static void iommu_release_one(struct device *dev, u32 busa, int npages) in iommu_release_one() 303 int npages; in iommu_release_scsi_one() local
|
/Linux-v4.19/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_prime.c | 15 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-v4.19/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-v4.19/drivers/infiniband/hw/mlx5/ |
D | mr.c | 836 int npages; in get_octo_len() local 852 int *npages, int *page_shift, int *ncont, in mr_umem_get() 929 u64 virt_addr, u64 len, int npages, in alloc_mr_from_cache() 963 static inline int populate_xlt(struct mlx5_ib_mr *mr, int idx, int npages, in populate_xlt() 997 int mlx5_ib_update_xlt(struct mlx5_ib_mr *mr, u64 idx, int npages, in mlx5_ib_update_xlt() 1130 struct ib_umem *umem, int npages, in reg_create() 1215 int npages, u64 length, int access_flags) in set_mr_fileds() 1308 int npages; in mlx5_ib_reg_user_mr() local 1453 int npages = 0; in mlx5_ib_rereg_user_mr() local 1626 int npages = mr->npages; in dereg_mr() local
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/ |
D | omap_gem.c | 235 int npages = obj->size >> PAGE_SHIFT; in omap_gem_attach_pages() local 306 unsigned int npages = obj->size >> PAGE_SHIFT; in omap_gem_detach_pages() local 656 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_roll() local 732 int i, npages = obj->size >> PAGE_SHIFT; in omap_gem_dma_sync_buffer() local 786 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_pin() local 1007 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_resume() local 1266 unsigned int npages; in omap_gem_new_dmabuf() local
|
/Linux-v4.19/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-v4.19/arch/powerpc/kvm/ |
D | book3s_64_vio.c | 229 unsigned long i, npages = kvmppc_tce_pages(stt->size); in release_spapr_tce_table() local 298 unsigned long npages, size = args->size; in kvm_vm_ioctl_create_spapr_tce() local 557 unsigned long tce_list, unsigned long npages) in kvmppc_h_put_tce_indirect() 635 unsigned long tce_value, unsigned long npages) in kvmppc_h_stuff_tce()
|
/Linux-v4.19/fs/exofs/ |
D | dir.c | 243 unsigned long npages = dir_pages(inode); in exofs_readdir() local 311 unsigned long npages = dir_pages(dir); in exofs_find_entry() local 435 unsigned long npages = dir_pages(dir); in exofs_add_link() local 612 unsigned long i, npages = dir_pages(inode); in exofs_empty_dir() local
|
/Linux-v4.19/fs/ext2/ |
D | dir.c | 294 unsigned long npages = dir_pages(inode); in ext2_readdir() local 370 unsigned long npages = dir_pages(dir); in ext2_find_entry() local 494 unsigned long npages = dir_pages(dir); in ext2_add_link() local 670 unsigned long i, npages = dir_pages(inode); in ext2_empty_dir() local
|
/Linux-v4.19/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
|