Home
last modified time | relevance | path

Searched refs:iovas (Results 1 – 4 of 4) sorted by relevance

/drivers/iommu/iommufd/
Dvfio_compat.c236 unsigned long iovas[] = { unmap.iova + unmap.size - 1, in iommufd_vfio_unmap_dma() local
239 rc = iopt_cut_iova(&ioas->iopt, iovas, in iommufd_vfio_unmap_dma()
Dio_pagetable.c1099 int iopt_cut_iova(struct io_pagetable *iopt, unsigned long *iovas, in iopt_cut_iova() argument
1109 area = iopt_area_iter_first(iopt, iovas[i], iovas[i]); in iopt_cut_iova()
1112 rc = iopt_area_split(area, iovas[i]); in iopt_cut_iova()
Diommufd_private.h87 int iopt_cut_iova(struct io_pagetable *iopt, unsigned long *iovas,
/drivers/vfio/
Dvfio_iommu_type1.c2699 int iovas = 0, i = 0, ret; in vfio_iommu_iova_build_caps() local
2702 iovas++; in vfio_iommu_iova_build_caps()
2704 if (!iovas) { in vfio_iommu_iova_build_caps()
2712 size = struct_size(cap_iovas, iova_ranges, iovas); in vfio_iommu_iova_build_caps()
2718 cap_iovas->nr_iovas = iovas; in vfio_iommu_iova_build_caps()