Lines Matching refs:iommu_bitmap
230 bitmap_andnot(zdev->iommu_bitmap, zdev->iommu_bitmap, in __dma_purge_tlb()
287 return iommu_area_alloc(zdev->iommu_bitmap, zdev->iommu_pages, in __dma_alloc_iommu()
306 bitmap_andnot(zdev->iommu_bitmap, zdev->iommu_bitmap, in dma_alloc_address()
333 if (!zdev->iommu_bitmap) in dma_free_address()
337 bitmap_clear(zdev->iommu_bitmap, offset, size); in dma_free_address()
618 zdev->iommu_bitmap = bitmap_vzalloc(zdev->iommu_pages, GFP_KERNEL); in zpci_dma_init_device()
619 if (!zdev->iommu_bitmap) { in zpci_dma_init_device()
639 vfree(zdev->iommu_bitmap); in zpci_dma_init_device()
640 zdev->iommu_bitmap = NULL; in zpci_dma_init_device()
672 vfree(zdev->iommu_bitmap); in zpci_dma_exit_device()
673 zdev->iommu_bitmap = NULL; in zpci_dma_exit_device()