Home
last modified time | relevance | path

Searched refs:iotlb_gather (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/iommu/
H A Ddma-iommu.c814 struct iommu_iotlb_gather iotlb_gather; in __iommu_dma_unmap() local
819 iommu_iotlb_gather_init(&iotlb_gather); in __iommu_dma_unmap()
820 iotlb_gather.queued = READ_ONCE(cookie->fq_domain); in __iommu_dma_unmap()
822 unmapped = iommu_unmap_fast(domain, dma_addr, size, &iotlb_gather); in __iommu_dma_unmap()
825 if (!iotlb_gather.queued) in __iommu_dma_unmap()
826 iommu_iotlb_sync(domain, &iotlb_gather); in __iommu_dma_unmap()
827 iommu_dma_free_iova(domain, dma_addr, size, &iotlb_gather); in __iommu_dma_unmap()
2030 struct iommu_iotlb_gather iotlb_gather; in __iommu_dma_iova_unlink() local
2037 iommu_iotlb_gather_init(&iotlb_gather); in __iommu_dma_iova_unlink()
2038 iotlb_gather in __iommu_dma_iova_unlink()
[all...]
H A Dsprd-iommu.c325 struct iommu_iotlb_gather *iotlb_gather) in sprd_iommu_unmap() argument
363 struct iommu_iotlb_gather *iotlb_gather) in sprd_iommu_sync() argument
H A Diommu.c2557 struct iommu_iotlb_gather *iotlb_gather) in __iommu_unmap() argument
2594 unmapped_page = ops->unmap_pages(domain, iova, pgsize, count, iotlb_gather); in __iommu_unmap()
2626 struct iommu_iotlb_gather iotlb_gather; in iommu_unmap() local
2629 iommu_iotlb_gather_init(&iotlb_gather); in iommu_unmap()
2630 ret = __iommu_unmap(domain, iova, size, &iotlb_gather); in iommu_unmap()
2631 iommu_iotlb_sync(domain, &iotlb_gather); in iommu_unmap()
2642 * @iotlb_gather: range information for a pending IOTLB flush
2658 struct iommu_iotlb_gather *iotlb_gather) in iommu_unmap_fast() argument
2660 return __iommu_unmap(domain, iova, size, iotlb_gather); in iommu_unmap_fast()
/linux/drivers/vfio/
H A Dvfio_iommu_type1.c968 struct iommu_iotlb_gather *iotlb_gather) in vfio_sync_unpin() argument
973 iommu_iotlb_sync(domain->domain, iotlb_gather); in vfio_sync_unpin()
1004 struct iommu_iotlb_gather *iotlb_gather) in unmap_unpin_fast() argument
1011 iotlb_gather); in unmap_unpin_fast()
1032 iotlb_gather); in unmap_unpin_fast()
1063 struct iommu_iotlb_gather iotlb_gather; in vfio_unmap_unpin() local
1088 iommu_iotlb_gather_init(&iotlb_gather); in vfio_unmap_unpin()
1117 &iotlb_gather); in vfio_unmap_unpin()
1130 &iotlb_gather); in vfio_unmap_unpin()
/linux/drivers/iommu/arm/arm-smmu/
H A Darm-smmu.c1286 struct iommu_iotlb_gather *iotlb_gather) in arm_smmu_unmap_pages() argument
1296 ret = ops->unmap_pages(ops, iova, pgsize, pgcount, iotlb_gather); in arm_smmu_unmap_pages()