Searched refs:iotlb_gather (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/iommu/ |
H A D | dma-iommu.c | 832 struct iommu_iotlb_gather iotlb_gather; in __iommu_dma_unmap() local 837 iommu_iotlb_gather_init(&iotlb_gather); in __iommu_dma_unmap() 838 iotlb_gather.queued = READ_ONCE(cookie->fq_domain); in __iommu_dma_unmap() 840 unmapped = iommu_unmap_fast(domain, dma_addr, size, &iotlb_gather); in __iommu_dma_unmap() 843 if (!iotlb_gather.queued) in __iommu_dma_unmap() 844 iommu_iotlb_sync(domain, &iotlb_gather); in __iommu_dma_unmap() 845 iommu_dma_free_iova(cookie, dma_addr, size, &iotlb_gather); in __iommu_dma_unmap()
|
H A D | sprd-iommu.c | 323 struct iommu_iotlb_gather *iotlb_gather) in sprd_iommu_unmap() argument 361 struct iommu_iotlb_gather *iotlb_gather) in sprd_iommu_sync() argument
|
H A D | iommu.c | 2510 struct iommu_iotlb_gather *iotlb_gather) in __iommu_unmap() argument 2547 unmapped_page = ops->unmap_pages(domain, iova, pgsize, count, iotlb_gather); in __iommu_unmap() 2579 struct iommu_iotlb_gather iotlb_gather; in iommu_unmap() local 2582 iommu_iotlb_gather_init(&iotlb_gather); in iommu_unmap() 2583 ret = __iommu_unmap(domain, iova, size, &iotlb_gather); in iommu_unmap() 2584 iommu_iotlb_sync(domain, &iotlb_gather); in iommu_unmap() 2592 struct iommu_iotlb_gather *iotlb_gather) in iommu_unmap_fast() argument 2594 return __iommu_unmap(domain, iova, size, iotlb_gather); in iommu_unmap_fast()
|
/linux/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 931 struct iommu_iotlb_gather *iotlb_gather) in vfio_sync_unpin() argument 936 iommu_iotlb_sync(domain->domain, iotlb_gather); in vfio_sync_unpin() 967 struct iommu_iotlb_gather *iotlb_gather) in unmap_unpin_fast() argument 974 iotlb_gather); in unmap_unpin_fast() 995 iotlb_gather); in unmap_unpin_fast() 1026 struct iommu_iotlb_gather iotlb_gather; in vfio_unmap_unpin() local 1051 iommu_iotlb_gather_init(&iotlb_gather); in vfio_unmap_unpin() 1081 &iotlb_gather); in vfio_unmap_unpin() 1094 &iotlb_gather); in vfio_unmap_unpin()
|
/linux/drivers/iommu/arm/arm-smmu/ |
H A D | arm-smmu.c | 1276 struct iommu_iotlb_gather *iotlb_gather) in arm_smmu_unmap_pages() argument 1286 ret = ops->unmap_pages(ops, iova, pgsize, pgcount, iotlb_gather); in arm_smmu_unmap_pages()
|