Lines Matching refs:total_cap_size
453 size_t total_cap_size; in iommufd_vfio_iommu_get_info() local
473 total_cap_size = sizeof(info); in iommufd_vfio_iommu_get_info()
477 if (info.argsz > total_cap_size) in iommufd_vfio_iommu_get_info()
478 cap_size = fill_fns[i](ioas, arg + total_cap_size, in iommufd_vfio_iommu_get_info()
479 info.argsz - total_cap_size); in iommufd_vfio_iommu_get_info()
488 if (last_cap && info.argsz >= total_cap_size && in iommufd_vfio_iommu_get_info()
489 put_user(total_cap_size, &last_cap->next)) { in iommufd_vfio_iommu_get_info()
493 last_cap = arg + total_cap_size; in iommufd_vfio_iommu_get_info()
494 total_cap_size += cap_size; in iommufd_vfio_iommu_get_info()
502 if (info.argsz >= total_cap_size) in iommufd_vfio_iommu_get_info()
504 info.argsz = total_cap_size; in iommufd_vfio_iommu_get_info()