Home
last modified time | relevance | path

Searched refs:iommu_pages (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/arch/s390/pci/
Dpci_dma.c25 zdev->iommu_pages * PAGE_SIZE); in zpci_refresh_global()
209 zdev->lazy_bitmap, zdev->iommu_pages); in __dma_purge_tlb()
210 bitmap_zero(zdev->lazy_bitmap, zdev->iommu_pages); in __dma_purge_tlb()
265 return iommu_area_alloc(zdev->iommu_bitmap, zdev->iommu_pages, in __dma_alloc_iommu()
285 zdev->lazy_bitmap, zdev->iommu_pages); in dma_alloc_address()
286 bitmap_zero(zdev->lazy_bitmap, zdev->iommu_pages); in dma_alloc_address()
579 zdev->iommu_pages = zdev->iommu_size >> PAGE_SHIFT; in zpci_dma_init_device()
580 zdev->iommu_bitmap = vzalloc(zdev->iommu_pages / 8); in zpci_dma_init_device()
586 zdev->lazy_bitmap = vzalloc(zdev->iommu_pages / 8); in zpci_dma_init_device()
/Linux-v5.10/arch/x86/kernel/
Damd_gart_64.c49 static unsigned long iommu_pages; /* .. and in pages */ variable
103 offset = iommu_area_alloc(iommu_gart_bitmap, iommu_pages, next_bit, in alloc_iommu()
107 offset = iommu_area_alloc(iommu_gart_bitmap, iommu_pages, 0, in alloc_iommu()
113 if (next_bit >= iommu_pages) { in alloc_iommu()
753 iommu_pages = iommu_size >> PAGE_SHIFT; in gart_iommu_init()
756 get_order(iommu_pages/8)); in gart_iommu_init()
/Linux-v5.10/arch/s390/include/asm/
Dpci.h161 unsigned long iommu_pages; member
/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_64_vio.c35 static unsigned long kvmppc_tce_pages(unsigned long iommu_pages) in kvmppc_tce_pages() argument
37 return ALIGN(iommu_pages * sizeof(u64), PAGE_SIZE) / PAGE_SIZE; in kvmppc_tce_pages()