Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iommu/iommufd/
H A Dvfio_compat.c453 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()
[all …]