Lines Matching refs:iommu_bitmap
210 bitmap_andnot(zdev->iommu_bitmap, zdev->iommu_bitmap, in __dma_purge_tlb()
270 return iommu_area_alloc(zdev->iommu_bitmap, zdev->iommu_pages, in __dma_alloc_iommu()
288 bitmap_andnot(zdev->iommu_bitmap, zdev->iommu_bitmap, in dma_alloc_address()
315 if (!zdev->iommu_bitmap) in dma_free_address()
319 bitmap_clear(zdev->iommu_bitmap, offset, size); in dma_free_address()
589 zdev->iommu_bitmap = vzalloc(zdev->iommu_pages / 8); in zpci_dma_init_device()
590 if (!zdev->iommu_bitmap) { in zpci_dma_init_device()
609 vfree(zdev->iommu_bitmap); in zpci_dma_init_device()
610 zdev->iommu_bitmap = NULL; in zpci_dma_init_device()
634 vfree(zdev->iommu_bitmap); in zpci_dma_exit_device()
635 zdev->iommu_bitmap = NULL; in zpci_dma_exit_device()