Home
last modified time | relevance | path

Searched defs:npages (Results 1 – 25 of 423) sorted by relevance

12345678910>>...17

/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dhmm-tests.c123 unsigned long npages) in hmm_dmirror_cmd()
223 unsigned long npages; in TEST_F() local
287 unsigned long npages; in TEST_F() local
346 unsigned long npages; in TEST_F() local
394 unsigned long npages; in TEST_F() local
460 unsigned long npages; in TEST_F() local
538 unsigned long npages; in TEST_F() local
615 unsigned long npages; in TEST_F() local
671 unsigned long npages; in TEST_F() local
730 unsigned long npages; in TEST_F() local
[all …]
/kernel/linux/linux-4.19/arch/sparc/kernel/
Diommu.c159 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 …]
Dpci_sun4v.c59 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
/kernel/linux/linux-5.10/arch/sparc/kernel/
Diommu.c158 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
558 unsigned long vaddr, npages, entry, j; in dma_4u_map_sg() local
629 unsigned long npages, entry; in dma_4u_unmap_sg() local
665 unsigned long flags, ctx, npages; in dma_4u_sync_single_for_cpu() local
[all …]
Dpci_sun4v.c60 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
606 unsigned long vaddr, npages; in dma_4v_map_sg() local
650 unsigned long npages; in dma_4v_unmap_sg() local
/kernel/linux/linux-4.19/drivers/infiniband/hw/hfi1/
Duser_pages.c72 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Duser_pages.c72 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()
Duser_exp_rcv.c172 unsigned int npages, in unpin_rcv_pages()
198 unsigned int npages; in pin_rcv_pages() local
561 static u32 find_phys_blocks(struct tid_user_buf *tidbuf, unsigned int npages) in find_phys_blocks()
680 u16 npages, pageidx, setidx = start + idx; in program_rcvarray() local
724 u16 pageidx, unsigned int npages) in set_rcvarray_entry()
/kernel/linux/linux-4.19/drivers/fpga/
Ddfl-afu-dma-region.c18 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
/kernel/linux/linux-4.19/arch/powerpc/kernel/
Diommu.c177 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 …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Diommu.c165 unsigned long npages, in iommu_range_alloc()
287 void *page, unsigned int npages, in iommu_alloc()
330 unsigned int npages) in iommu_free_check()
377 unsigned int npages) in __iommu_free()
399 unsigned int npages) in iommu_free()
440 unsigned long vaddr, npages, entry, slen; in ppc_iommu_map_sg() local
540 unsigned long vaddr, npages; in ppc_iommu_map_sg() local
569 unsigned int npages; in ppc_iommu_unmap_sg() local
795 unsigned int npages, align; in iommu_map_page() local
830 unsigned int npages; in iommu_unmap_page() local
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/i915/selftests/
Dscatterlist.c52 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
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Dscatterlist.c53 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
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dpagealloc.c52 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
/kernel/linux/linux-4.19/drivers/infiniband/hw/cxgb3/
Diwch_mem.c78 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()
/kernel/linux/linux-4.19/drivers/infiniband/hw/hns/
Dhns_roce_mr.c208 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
/kernel/linux/linux-4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dpagealloc.c50 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()
/kernel/linux/linux-5.10/drivers/fpga/
Ddfl-afu-dma-region.c37 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
/kernel/linux/linux-5.10/fs/sysv/
Ddir.c69 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
/kernel/linux/linux-4.19/fs/sysv/
Ddir.c69 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
/kernel/linux/linux-4.19/arch/x86/kernel/
Dpci-calgary_64.c207 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 …]
Dtce_64.c50 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()
/kernel/linux/linux-4.19/drivers/net/ethernet/mellanox/mlx4/
Dmr.c194 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()
/kernel/linux/linux-5.10/mm/
Dhmm.c120 const unsigned long hmm_pfns[], unsigned long npages, in hmm_range_need_fault()
151 unsigned long i, npages; in hmm_vma_walk_hole() local
191 unsigned long pfn, npages, i; in hmm_vma_handle_pmd() local
327 unsigned long npages = (end - start) >> PAGE_SHIFT; in hmm_vma_walk_pmd() local
431 unsigned long i, npages, pfn; in hmm_vma_walk_pud() local
/kernel/linux/linux-4.19/arch/sparc/mm/
Diommu.c178 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

12345678910>>...17