Lines Matching full:unmapped
153 static int __vfio_iommu_unmap(int fd, u64 iova, u64 size, u32 flags, u64 *unmapped) in __vfio_iommu_unmap() argument
165 if (unmapped) in __vfio_iommu_unmap()
166 *unmapped = args.size; in __vfio_iommu_unmap()
172 u64 *unmapped) in vfio_iommu_unmap() argument
175 region->size, 0, unmapped); in vfio_iommu_unmap()
178 static int __iommufd_unmap(int fd, u64 iova, u64 length, u32 ioas_id, u64 *unmapped) in __iommufd_unmap() argument
190 if (unmapped) in __iommufd_unmap()
191 *unmapped = args.length; in __iommufd_unmap()
197 u64 *unmapped) in iommufd_unmap() argument
200 iommu->ioas_id, unmapped); in iommufd_unmap()
203 int __iommu_unmap(struct iommu *iommu, struct dma_region *region, u64 *unmapped) in __iommu_unmap() argument
208 ret = iommufd_unmap(iommu, region, unmapped); in __iommu_unmap()
210 ret = vfio_iommu_unmap(iommu, region, unmapped); in __iommu_unmap()
220 int __iommu_unmap_all(struct iommu *iommu, u64 *unmapped) in __iommu_unmap_all() argument
227 iommu->ioas_id, unmapped); in __iommu_unmap_all()
230 VFIO_DMA_UNMAP_FLAG_ALL, unmapped); in __iommu_unmap_all()