Searched refs:nr_iovas (Results 1 – 7 of 7) sorted by relevance
402 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()
1474 __u32 nr_iovas; member
1498 __u32 nr_iovas; member
2687 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()
281 s->nb_iova_ranges = cap_iova_range->nr_iovas; in collect_usable_iova_ranges()
323 for (int i = 0; i < cap->nr_iovas; i++) { in vfio_get_info_iova_range()
1628 ASSERT_EQ(1, data->nr_iovas); in check_vfio_info_cap_chain()