diff options
author | 2024-11-05 12:05:13 -0800 | |
---|---|---|
committer | 2024-11-12 11:46:19 -0400 | |
commit | 4f2e59ccb69866c5165525bd7aee47cd5cd00acc (patch) | |
tree | dda2e35185c7bb91525536abdf26140342fce155 /scripts/lib/kdoc/kdoc_parser.py | |
parent | iommufd: Allow hwpt_id to carry viommu_id for IOMMU_HWPT_INVALIDATE (diff) | |
download | linux-rng-4f2e59ccb69866c5165525bd7aee47cd5cd00acc.tar.xz linux-rng-4f2e59ccb69866c5165525bd7aee47cd5cd00acc.zip |
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 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions