Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iommu/iommufd/
Dvfio_compat.c402 cap_iovas.nr_iovas + 1) && in iommufd_fill_cap_iova()
403 copy_to_user(&ucap_iovas->iova_ranges[cap_iovas.nr_iovas], in iommufd_fill_cap_iova()
406 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()
/linux-6.6.21/include/uapi/linux/
Dvfio.h1474 __u32 nr_iovas; member
/linux-6.6.21/drivers/vfio/
Dvfio_iommu_type1.c2687 iova_cap->nr_iovas = cap_iovas->nr_iovas; in vfio_iommu_iova_add_cap()
2689 cap_iovas->nr_iovas * sizeof(*cap_iovas->iova_ranges)); in vfio_iommu_iova_add_cap()
2718 cap_iovas->nr_iovas = iovas; in vfio_iommu_iova_build_caps()
/linux-6.6.21/tools/testing/selftests/iommu/
Diommufd.c1628 ASSERT_EQ(1, data->nr_iovas); in check_vfio_info_cap_chain()