diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2024-11-05 23:05:13 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2024-11-12 18:46:19 +0300 |
commit | 4f2e59ccb69866c5165525bd7aee47cd5cd00acc (patch) | |
tree | dda2e35185c7bb91525536abdf26140342fce155 /tools/perf/scripts/python/gecko.py | |
parent | 54ce69e36c71c88f258b1a322c54343d90954858 (diff) | |
download | linux-4f2e59ccb69866c5165525bd7aee47cd5cd00acc.tar.xz |
iommu: Add iommu_copy_struct_from_full_user_array helper
The iommu_copy_struct_from_user_array helper can be used to copy a single
entry from a user array which might not be efficient if the array is big.
Add a new iommu_copy_struct_from_full_user_array to copy the entire user
array at once. Update the existing iommu_copy_struct_from_user_array kdoc
accordingly.
Link: https://patch.msgid.link/r/5cd773d9c26920c5807d232b21d415ea79172e49.1730836308.git.nicolinc@nvidia.com
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions