Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iommu/iommufd/
H A 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()
/openbmc/linux/include/uapi/linux/
H A Dvfio.h1474 __u32 nr_iovas; member
/openbmc/qemu/linux-headers/linux/
H A Dvfio.h1498 __u32 nr_iovas; member
/openbmc/linux/drivers/vfio/
H A 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()
/openbmc/qemu/util/
H A Dvfio-helpers.c281 s->nb_iova_ranges = cap_iova_range->nr_iovas; in collect_usable_iova_ranges()
/openbmc/qemu/hw/vfio/
H A Dcontainer.c323 for (int i = 0; i < cap->nr_iovas; i++) { in vfio_get_info_iova_range()
/openbmc/linux/tools/testing/selftests/iommu/
H A Diommufd.c1628 ASSERT_EQ(1, data->nr_iovas); in check_vfio_info_cap_chain()