Lines Matching refs:iommu_bitmap
208 bitmap_andnot(zdev->iommu_bitmap, zdev->iommu_bitmap, in __dma_purge_tlb()
265 return iommu_area_alloc(zdev->iommu_bitmap, zdev->iommu_pages, in __dma_alloc_iommu()
284 bitmap_andnot(zdev->iommu_bitmap, zdev->iommu_bitmap, in dma_alloc_address()
311 if (!zdev->iommu_bitmap) in dma_free_address()
315 bitmap_clear(zdev->iommu_bitmap, offset, size); in dma_free_address()
581 zdev->iommu_bitmap = vzalloc(zdev->iommu_pages / 8); in zpci_dma_init_device()
582 if (!zdev->iommu_bitmap) { in zpci_dma_init_device()
602 vfree(zdev->iommu_bitmap); in zpci_dma_init_device()
603 zdev->iommu_bitmap = NULL; in zpci_dma_init_device()
635 vfree(zdev->iommu_bitmap); in zpci_dma_exit_device()
636 zdev->iommu_bitmap = NULL; in zpci_dma_exit_device()