iommu_copy_...m_user_array(9)
π NAME π
okay so this is the Kernel API Manual page for iommu_copy_struct_from_user_array, and the header/page name is iommu_copy_...m_user_array(9) β yes, the ellipsis is serving iykyk π
. its whole job: Copy iommu driver specific user space data from an iommu_user_data_array.
β¨ SYNOPSIS β¨
the signature is literally this, bestie β don't freelance it:
iommu_copy_struct_from_user_array (kdst , user_array , data_type , index , min_last );
π ARGUMENTS π
kdstβ pointer to an iommu driver specific user data that is defined ininclude/uapi/linux/iommufd.h.user_arrayβ pointer to astruct iommu_user_data_arrayfor a user space array.data_typeβ the data type of thekdst. Must match withuser_array->type.indexβ index to the location in the array to copy user data from.min_lastβ the last member of the data structurekdstpoints in, in the initial version.
π¦ DESCRIPTION π¦
copy a single entry from a user array. return 0 for success, otherwise -error. that's the tea ββ¨
πΈ SEE ALSO πΈ
the extended universe, bestie β no skips:
- Kernel file
./include/linux/iommu.h struct iommu_fault_page_request(9)struct iommu_fault(9)enum iommu_page_response_code(9)struct iommu_page_response(9)struct iopf_queue(9)struct iommu_resv_region(9)struct iommu_iotlb_gather(9)struct iommu_dirty_bitmap(9)struct iommu_dirty_ops(9)struct iommu_user_data(9)struct iommu_user_data_array(9)__iommu_copy_struct_from_user(9)iommu_copy_struct_from_user(9)__iommu_copy_struct_from_user_array(9)iommu_copy_struct_from_full_user_array(9)__iommu_copy_struct_to_user(9)iommu_copy_struct_to_user(9)struct iommu_ops(9)struct iommu_domain_ops(9)struct iommu_device(9)struct iommu_fault_param(9)struct dev_iommu(9)iommu_iotlb_gather_is_disjoint(9)iommu_iotlb_gather_add_range(9)iommu_iotlb_gather_add_page(9)struct iommu_fwspec(9)struct iommu_sva(9)iommu_map_sgtable(9)
mwah π this page was served from source/version ./include/linux, dated October 2026, for iommu_copy_...m_user_array(9). now go copy that struct, bestie πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms