__iommu_cop...m_user_array(9)
π
__iommu_cop...m_user_array(9) β Kernel API Manual, bestie edition β¨
okay so we are in the Kernel API Manual, and this page is all about __iommu_copy_struct_from_user_array. She is a function, she is iconic, and she is here to copy iommu driver specific user space data from an iommu_user_data_array. Periodt. π«Ά
πΈ NAME πΈ
__iommu_copy_struct_from_user_array β copy iommu driver specific user space data from an iommu_user_data_array. That is the whole name, no cap. π
β¨ SYNOPSIS β¨
int __iommu_copy_struct_from_user_array (void *dst_data , const struct
iommu_user_data_array *src_array , unsigned int data_type , unsigned int
index , size_t data_len , size_t min_len );
π ARGUMENTS π
dst_dataβ pointer to an iommu driver specific user data that is defined ininclude/uapi/linux/iommufd.h. π«Άsrc_arrayβ pointer to astruct iommu_user_data_arrayfor a user space array. β¨data_typeβ the data type ofdst_data. It must matchsrc_array.type. πindexβ index to the location in the array to copy user data from. πdata_lenβ length of current user data structure, i.e.sizeof(struct _dst). πmin_lenβ initial length of user data structure for backward compatibility. This should beoffsetofendusing the last member in the user data struct that was initially added toinclude/uapi/linux/iommufd.h. π
π¦ SEE ALSO π¦
Kernel file ./include/linux/iommu.h is the main character here, and the rest of the reference friend group is:
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)
source/version: ./include/linux Β· date: October 2026 Β· footer: __iommu_cop...m_user_array(9) β that is the whole footer vibe, 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