Searched refs:iommu_pages (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/arch/s390/pci/ |
D | pci_dma.c | 25 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/ |
D | amd_gart_64.c | 49 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/ |
D | pci.h | 161 unsigned long iommu_pages; member
|
/Linux-v5.10/arch/powerpc/kvm/ |
D | book3s_64_vio.c | 35 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()
|