Home
last modified time | relevance | path

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

/linux/drivers/iommu/iommufd/
H A Dvfio_compat.c448 size_t total_cap_size; in iommufd_vfio_iommu_get_info() local
468 total_cap_size = sizeof(info); in iommufd_vfio_iommu_get_info()
472 if (info.argsz > total_cap_size) in iommufd_vfio_iommu_get_info()
473 cap_size = fill_fns[i](ioas, arg + total_cap_size, in iommufd_vfio_iommu_get_info()
474 info.argsz - total_cap_size); in iommufd_vfio_iommu_get_info()
483 if (last_cap && info.argsz >= total_cap_size && in iommufd_vfio_iommu_get_info()
484 put_user(total_cap_size, &last_cap->next)) { in iommufd_vfio_iommu_get_info()
488 last_cap = arg + total_cap_size; in iommufd_vfio_iommu_get_info()
489 total_cap_size += cap_size; in iommufd_vfio_iommu_get_info()
497 if (info.argsz >= total_cap_size) in iommufd_vfio_iommu_get_info()
[all …]