Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iommu/iommufd/
Dvfio_compat.c401 if (avail >= struct_size(&cap_iovas, iova_ranges, in iommufd_fill_cap_iova()
403 copy_to_user(&ucap_iovas->iova_ranges[cap_iovas.nr_iovas], in iommufd_fill_cap_iova()
408 if (avail >= struct_size(&cap_iovas, iova_ranges, cap_iovas.nr_iovas) && in iommufd_fill_cap_iova()
411 return struct_size(&cap_iovas, iova_ranges, cap_iovas.nr_iovas); in iommufd_fill_cap_iova()
Dmain.c313 struct iommu_ioas_iova_ranges iova_ranges; member
/Linux-v6.6/drivers/vfio/
Dvfio_iommu_type1.c2688 memcpy(iova_cap->iova_ranges, cap_iovas->iova_ranges, in vfio_iommu_iova_add_cap()
2689 cap_iovas->nr_iovas * sizeof(*cap_iovas->iova_ranges)); in vfio_iommu_iova_add_cap()
2712 size = struct_size(cap_iovas, iova_ranges, iovas); in vfio_iommu_iova_build_caps()
2721 cap_iovas->iova_ranges[i].start = iova->start; in vfio_iommu_iova_build_caps()
2722 cap_iovas->iova_ranges[i].end = iova->end; in vfio_iommu_iova_build_caps()
/Linux-v6.6/include/uapi/linux/
Dvfio.h1476 struct vfio_iova_range iova_ranges[]; member
/Linux-v6.6/tools/testing/selftests/iommu/
Diommufd.c554 TEST_F(iommufd_ioas, iova_ranges) in TEST_F() argument
1630 data->iova_ranges[0].start); in check_vfio_info_cap_chain()
1631 EXPECT_EQ(MOCK_APERTURE_LAST, data->iova_ranges[0].end); in check_vfio_info_cap_chain()