Home
last modified time | relevance | path

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

12

/arch/powerpc/kernel/
Diommu.c79 unsigned long npages, in iommu_range_alloc()
179 void *page, unsigned int npages, in iommu_alloc()
230 unsigned int npages) in __iommu_free()
258 unsigned int npages) in iommu_free()
308 unsigned long vaddr, npages, entry, slen; in iommu_map_sg() local
408 unsigned long vaddr, npages; in iommu_map_sg() local
441 unsigned int npages; in iommu_unmap_sg() local
580 unsigned int npages, align; in iommu_map_page() local
614 unsigned int npages; in iommu_unmap_page() local
/arch/sparc/kernel/
Diommu.c96 unsigned long npages, in iommu_range_alloc()
165 void iommu_range_free(struct iommu *iommu, dma_addr_t dma_addr, unsigned long npages) in iommu_range_free()
242 unsigned long npages) in alloc_npages()
287 int npages, nid; in dma_4u_alloc_coherent() local
336 unsigned long flags, order, npages; in dma_4u_free_coherent() local
360 unsigned long flags, npages, oaddr; in dma_4u_map_single() local
410 u32 vaddr, unsigned long ctx, unsigned long npages, in strbuf_flush()
481 unsigned long flags, npages, ctx, i; in dma_4u_unmap_single() local
567 unsigned long paddr, npages, entry, out_entry = 0, slen; in dma_4u_map_sg() local
646 unsigned long vaddr, npages, entry, j; in dma_4u_map_sg() local
[all …]
Dpci_sun4v.c41 unsigned long npages; /* Number of pages in list. */ member
66 unsigned long npages = p->npages; in iommu_batch_flush() local
132 unsigned long flags, order, first_page, npages, n; in dma_4v_alloc_coherent() local
204 unsigned long flags, order, npages, entry; in dma_4v_free_coherent() local
237 unsigned long flags, npages, oaddr; in dma_4v_map_single() local
302 unsigned long flags, npages; in dma_4v_unmap_single() local
377 unsigned long paddr, npages, entry, out_entry = 0, slen; in dma_4v_map_sg() local
461 unsigned long vaddr, npages; in dma_4v_map_sg() local
500 unsigned long npages, entry; in dma_4v_unmap_sg() local
Dldc.c1877 static long arena_alloc(struct ldc_iommu *iommu, unsigned long npages) in arena_alloc()
1958 unsigned long npages) in alloc_npages()
2091 unsigned long i, npages, flags; in ldc_map_sg() local
2137 unsigned long npages, pa, flags; in ldc_map_single() local
2177 unsigned long i, shift, index, npages; in free_npages() local
/arch/powerpc/platforms/pseries/
Diommu.c53 long npages, unsigned long uaddr, in tce_build_pSeries()
80 static void tce_free_pSeries(struct iommu_table *tbl, long index, long npages) in tce_free_pSeries()
103 long npages, unsigned long uaddr, in tce_build_pSeriesLP()
146 long npages, unsigned long uaddr, in tce_buildmulti_pSeriesLP()
222 static void tce_free_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages) in tce_free_pSeriesLP()
241 static void tce_freemulti_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages) in tce_freemulti_pSeriesLP()
/arch/x86/kernel/
Dtce_64.c49 unsigned int npages, unsigned long uaddr, int direction) in tce_build()
74 void tce_free(struct iommu_table *tbl, long index, unsigned int npages) in tce_free()
Dpci-calgary_64.c227 unsigned long start_addr, unsigned int npages) in iommu_range_reserve()
261 unsigned int npages) in iommu_range_alloc()
300 void *vaddr, unsigned int npages, int direction) in iommu_alloc()
326 unsigned int npages) in iommu_free()
394 unsigned int npages; in calgary_unmap_sg() local
412 unsigned int npages; in calgary_map_sg() local
453 unsigned int npages; in calgary_map_single() local
466 unsigned int npages; in calgary_unmap_single() local
477 unsigned int npages, order; in calgary_alloc_coherent() local
508 unsigned int npages; in calgary_free_coherent() local
[all …]
Defi.c441 u64 addr, npages; in runtime_code_page_mkexec() local
470 u64 end, systab, addr, npages, end_pfn; in efi_enter_virtual_mode() local
Dpci-gart_64.c236 unsigned long npages = iommu_num_pages(phys_mem, size, PAGE_SIZE); in dma_map_area() local
282 int npages; in gart_unmap_single() local
Damd_iommu.c1855 unsigned long i, npages = iommu_num_pages(paddr, size, PAGE_SIZE); in amd_iommu_map_range() local
1884 unsigned long i, npages = iommu_num_pages(iova, size, PAGE_SIZE); in amd_iommu_unmap_range() local
/arch/sparc/mm/
Diommu.c175 static u32 iommu_get_one(struct device *dev, struct page *page, int npages) in iommu_get_one()
208 int npages; in iommu_get_scsi_one() local
299 static void iommu_release_one(struct device *dev, u32 busa, int npages) in iommu_release_one()
318 int npages; in iommu_release_scsi_one() local
Dio-unit.c93 int i, j, k, npages; in iounit_get_area() local
Dsun4c.c1014 unsigned long npages; in sun4c_lockarea() local
1072 unsigned long vpage, npages; in sun4c_unlockarea() local
2006 unsigned long npages; in sun4c_paging_init() local
/arch/powerpc/sysdev/
Ddart_iommu.c151 long npages, unsigned long uaddr, in dart_build()
191 static void dart_free(struct iommu_table *tbl, long index, long npages) in dart_free()
/arch/powerpc/platforms/pasemi/
Diommu.c87 long npages, unsigned long uaddr, in iobmap_build()
116 long npages) in iobmap_free()
/arch/powerpc/platforms/iseries/
Diommu.c44 static int tce_build_iSeries(struct iommu_table *tbl, long index, long npages, in tce_build_iSeries()
77 static void tce_free_iSeries(struct iommu_table *tbl, long index, long npages) in tce_free_iSeries()
/arch/frv/mm/
Dinit.c119 unsigned long npages = (memory_end - memory_start) >> PAGE_SHIFT; in mem_init() local
/arch/x86/vdso/
Dvma.c38 int npages = (vdso_end - vdso_start + PAGE_SIZE - 1) / PAGE_SIZE; in init_vdso_vars() local
/arch/alpha/kernel/
Dpci_iommu.c236 long npages, dma_ofs, i; in pci_map_single_1() local
349 long dma_ofs, npages; in pci_unmap_single() local
543 long npages, dma_ofs, i; in sg_fill() local
745 long npages, ofs; in pci_unmap_sg() local
/arch/powerpc/mm/
Dsubpage-prot.c55 int npages) in hpte_flush_range()
/arch/mips/jazz/
Djazzdma.c214 int first, pages, npages; in vdma_remap() local
/arch/parisc/kernel/
Dinventory.c135 unsigned long npages; in pagezero_memconfig() local
Dcache.c487 unsigned long npages; in __flush_tlb_range() local
/arch/powerpc/platforms/cell/
Diommu.c175 static int tce_build_cell(struct iommu_table *tbl, long index, long npages, in tce_build_cell()
219 static void tce_free_cell(struct iommu_table *tbl, long index, long npages) in tce_free_cell()
/arch/parisc/mm/
Dinit.c283 unsigned long npages; in setup_bootmem() local

12