| /Linux-v5.4/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
 479 		unsigned long paddr, npages, entry, out_entry = 0, slen;  in dma_4u_map_sg()  local
 559 			unsigned long vaddr, npages, entry, j;  in dma_4u_map_sg()  local
 630 		unsigned long npages, entry;  in dma_4u_unmap_sg()  local
 666 	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.	*/  member90 	unsigned long npages = p->npages;  in iommu_batch_flush()  local
 184 	unsigned long flags, order, first_page, npages, n;  in dma_4v_alloc_coherent()  local
 296 			       unsigned long entry, unsigned long npages)  in dma_4v_iommu_demap()
 328 	unsigned long order, npages, entry;  in dma_4v_free_coherent()  local
 362 	unsigned long flags, npages, oaddr;  in dma_4v_map_page()  local
 435 	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
 606 			unsigned long vaddr, npages;  in dma_4v_map_sg()  local
 650 		unsigned long npages;  in dma_4v_unmap_sg()  local
 
 | 
| /Linux-v5.4/drivers/infiniband/hw/hfi1/ | 
| D | user_pages.c | 72 			u32 nlocked, u32 npages)  in hfi1_can_pin_pages()103 int hfi1_acquire_user_pages(struct mm_struct *mm, unsigned long vaddr, size_t npages,  in hfi1_acquire_user_pages()
 119 			     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
 589 static u32 find_phys_blocks(struct tid_user_buf *tidbuf, unsigned int npages)  in find_phys_blocks()
 708 		u16 npages, pageidx, setidx = start + idx;  in program_rcvarray()  local
 752 			      u16 pageidx, unsigned int npages)  in set_rcvarray_entry()
 
 | 
| D | user_exp_rcv.h | 61 	unsigned int npages;  member74 	unsigned int npages;  member
 
 | 
| /Linux-v5.4/arch/powerpc/kernel/ | 
| D | iommu.c | 165                                        unsigned long npages,  in iommu_range_alloc()294 			      void *page, unsigned int npages,  in iommu_alloc()
 337 			     unsigned int npages)  in iommu_free_check()
 384 			 unsigned int npages)  in __iommu_free()
 406 		unsigned int npages)  in iommu_free()
 447 		unsigned long vaddr, npages, entry, slen;  in ppc_iommu_map_sg()  local
 547 			unsigned long vaddr, npages;  in ppc_iommu_map_sg()  local
 576 		unsigned int npages;  in ppc_iommu_unmap_sg()  local
 802 	unsigned int npages, align;  in iommu_map_page()  local
 837 	unsigned int npages;  in iommu_unmap_page()  local
 [all …]
 
 | 
| /Linux-v5.4/drivers/fpga/ | 
| D | dfl-afu-dma-region.c | 19 static void put_all_pages(struct page **pages, int npages)  in put_all_pages()46 	int npages = region->length >> PAGE_SHIFT;  in afu_dma_pin_pages()  local
 94 	long npages = region->length >> PAGE_SHIFT;  in afu_dma_unpin_pages()  local
 113 	int npages = region->length >> PAGE_SHIFT;  in afu_dma_check_continuous_pages()  local
 
 | 
| /Linux-v5.4/drivers/gpu/drm/i915/selftests/ | 
| D | scatterlist.c | 53 		unsigned int npages = npages_fn(n, pt->st.nents, rnd);  in expect_pfn_sg()  local209 				   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.4/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.4/drivers/infiniband/hw/hns/ | 
| D | hns_roce_mr.c | 221 int hns_roce_mtt_init(struct hns_roce_dev *hr_dev, int npages, int page_shift,  in hns_roce_mtt_init()350 static int pbl_1hop_alloc(struct hns_roce_dev *hr_dev, int npages,  in pbl_1hop_alloc()
 376 static int pbl_2hop_alloc(struct hns_roce_dev *hr_dev, int npages,  in pbl_2hop_alloc()
 416 static int pbl_3hop_alloc(struct hns_roce_dev *hr_dev, int npages,  in pbl_3hop_alloc()
 507 static int hns_roce_mhop_alloc(struct hns_roce_dev *hr_dev, int npages,  in hns_roce_mhop_alloc()
 572 			     u64 size, u32 access, int npages,  in hns_roce_mr_alloc()
 622 	int npages;  in hns_roce_mhop_free()  local
 706 	int npages = 0;  in hns_roce_mr_free()  local
 788 				    u32 npages, u64 *page_list)  in hns_roce_write_mtt_chunk()
 845 			      u32 npages, u64 *page_list)  in hns_roce_write_mtt()
 [all …]
 
 | 
| /Linux-v5.4/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-v5.4/drivers/gpu/drm/lima/ | 
| D | lima_object.c | 17 			int i, npages = bo->gem.size >> PAGE_SHIFT;  in lima_bo_destroy()  local63 	size_t npages;  in lima_bo_create()  local
 
 | 
| /Linux-v5.4/arch/x86/kernel/ | 
| D | pci-calgary_64.c | 191 	unsigned long start_addr, unsigned int npages)  in iommu_range_reserve()216 				       unsigned int npages)  in iommu_range_alloc()
 255 			      void *vaddr, unsigned int npages, int direction)  in iommu_alloc()
 277 	unsigned int npages)  in iommu_free()
 337 		unsigned int npages;  in calgary_unmap_sg()  local
 356 	unsigned int npages;  in calgary_map_sg()  local
 398 	unsigned int npages;  in calgary_map_page()  local
 412 	unsigned int npages;  in calgary_unmap_page()  local
 423 	unsigned int npages, order;  in calgary_alloc_coherent()  local
 453 	unsigned int npages;  in calgary_free_coherent()  local
 [all …]
 
 | 
| D | tce_64.c | 37 	unsigned int npages, unsigned long uaddr, int direction)  in tce_build()62 void tce_free(struct iommu_table *tbl, long index, unsigned int npages)  in tce_free()
 
 | 
| /Linux-v5.4/fs/sysv/ | 
| D | dir.c | 69 	unsigned long npages = dir_pages(inode);  in sysv_readdir()  local133 	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.4/drivers/net/ethernet/mellanox/mlx5/core/ | 
| D | pagealloc.c | 52 	s32	npages;  member137 				s32 *npages, int boot)  in mlx5_cmd_query_pages()
 275 static int give_pages(struct mlx5_core_dev *dev, u16 func_id, int npages,  in give_pages()
 348 	u32 npages;  in reclaim_pages_cmd()  local
 373 static int reclaim_pages(struct mlx5_core_dev *dev, u32 func_id, int npages,  in reclaim_pages()
 461 	s32 npages;  in req_pages_handler()  local
 
 | 
| /Linux-v5.4/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()
 970 				  int npages, u64 iova)  in mlx4_check_fmr()
 997 		      int npages, u64 iova, u32 *lkey, u32 *rkey)  in mlx4_map_phys_fmr()
 
 | 
| /Linux-v5.4/mm/ | 
| D | hmm.c | 358 				 const uint64_t *pfns, unsigned long npages,  in hmm_range_need_fault()384 	unsigned long i, npages;  in hmm_vma_walk_hole()  local
 410 	unsigned long pfn, npages, i;  in hmm_vma_handle_pmd()  local
 571 		unsigned long npages;  in hmm_vma_walk_pmd()  local
 672 		unsigned long i, npages, pfn;  in hmm_vma_walk_pud()  local
 967 	unsigned long i, npages, mapped;  in hmm_range_dma_map()  local
 1056 	unsigned long i, npages;  in hmm_range_dma_unmap()  local
 
 | 
| /Linux-v5.4/drivers/gpu/drm/etnaviv/ | 
| D | etnaviv_gem_prime.c | 17 	int npages = obj->size >> PAGE_SHIFT;  in etnaviv_gem_prime_get_sg_table()  local111 	int ret, npages;  in etnaviv_gem_prime_import_sg_table()  local
 
 | 
| /Linux-v5.4/arch/x86/mm/ | 
| D | cpu_entry_area.c | 58 	unsigned int npages;  in percpu_setup_debug_store()  local93 	unsigned int npages;  in percpu_setup_exception_stacks()  local
 
 | 
| /Linux-v5.4/fs/f2fs/ | 
| D | debug.c | 270 		unsigned npages = NODE_MAPPING(sbi)->nrpages;  in update_mem_info()  local274 		unsigned npages = META_MAPPING(sbi)->nrpages;  in update_mem_info()  local
 
 | 
| /Linux-v5.4/drivers/gpu/drm/msm/ | 
| D | msm_gem_vma.c | 61 		struct sg_table *sgt, int npages)  in msm_gem_map_vma()106 		struct msm_gem_vma *vma, int npages)  in msm_gem_init_vma()
 
 | 
| /Linux-v5.4/fs/minix/ | 
| D | dir.c | 87 	unsigned long npages = dir_pages(inode);  in minix_readdir()  local159 	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.4/drivers/gpu/drm/omapdrm/ | 
| D | omap_gem.c | 226 	int npages = obj->size >> PAGE_SHIFT;  in omap_gem_attach_pages()  local297 	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
 998 			u32 npages = obj->size >> PAGE_SHIFT;  in omap_gem_resume()  local
 1257 		unsigned int npages;  in omap_gem_new_dmabuf()  local
 
 | 
| /Linux-v5.4/fs/ufs/ | 
| D | dir.c | 258 	unsigned long npages = dir_pages(dir);  in ufs_find_entry()  local316 	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
 
 |