Searched refs:iommu_pages (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/arch/s390/pci/ |
A D | pci_dma.c | 27 zdev->iommu_pages * PAGE_SIZE); in zpci_refresh_global() 231 zdev->lazy_bitmap, zdev->iommu_pages); in __dma_purge_tlb() 232 bitmap_zero(zdev->lazy_bitmap, zdev->iommu_pages); in __dma_purge_tlb() 287 return iommu_area_alloc(zdev->iommu_bitmap, zdev->iommu_pages, in __dma_alloc_iommu() 307 zdev->lazy_bitmap, zdev->iommu_pages); in dma_alloc_address() 308 bitmap_zero(zdev->lazy_bitmap, zdev->iommu_pages); in dma_alloc_address() 606 zdev->iommu_pages = zdev->iommu_size >> PAGE_SHIFT; in zpci_dma_init_device() 607 zdev->iommu_bitmap = vzalloc(zdev->iommu_pages / 8); in zpci_dma_init_device() 613 zdev->lazy_bitmap = vzalloc(zdev->iommu_pages / 8); in zpci_dma_init_device()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | amd_gart_64.c | 47 static unsigned long iommu_pages; /* .. and in pages */ variable 101 offset = iommu_area_alloc(iommu_gart_bitmap, iommu_pages, next_bit, in alloc_iommu() 105 offset = iommu_area_alloc(iommu_gart_bitmap, iommu_pages, 0, in alloc_iommu() 111 if (next_bit >= iommu_pages) { in alloc_iommu() 751 iommu_pages = iommu_size >> PAGE_SHIFT; in gart_iommu_init() 754 get_order(iommu_pages/8)); in gart_iommu_init()
|
/linux-6.3-rc2/arch/s390/include/asm/ |
A D | pci.h | 166 unsigned long iommu_pages; member
|
/linux-6.3-rc2/arch/powerpc/kvm/ |
A D | book3s_64_vio.c | 47 static unsigned long kvmppc_tce_pages(unsigned long iommu_pages) in kvmppc_tce_pages() argument 49 return ALIGN(iommu_pages * sizeof(u64), PAGE_SIZE) / PAGE_SIZE; in kvmppc_tce_pages()
|
Completed in 14 milliseconds