__iommu_cop...m_user_array(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __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 in include/uapi/linux/iommufd.h. 🫢
  • src_array β€” pointer to a struct iommu_user_data_array for a user space array. ✨
  • data_type β€” the data type of dst_data. It must match src_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 be offsetofend using the last member in the user data struct that was initially added to include/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:


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