Searched refs:iova_ranges (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/iommu/iommufd/ |
D | vfio_compat.c | 401 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()
|
D | main.c | 313 struct iommu_ioas_iova_ranges iova_ranges; member
|
/Linux-v6.6/drivers/vfio/ |
D | vfio_iommu_type1.c | 2688 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/ |
D | vfio.h | 1476 struct vfio_iova_range iova_ranges[]; member
|
/Linux-v6.6/tools/testing/selftests/iommu/ |
D | iommufd.c | 554 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()
|