Searched refs:user_array (Results 1 – 1 of 1) sorted by relevance
/linux-6.14.4/include/linux/ |
D | iommu.h | 500 #define iommu_copy_struct_from_user_array(kdst, user_array, data_type, index, \ argument 503 kdst, user_array, data_type, index, sizeof(*(kdst)), \ 521 struct iommu_user_data_array *user_array, in iommu_copy_struct_from_full_user_array() argument 527 if (user_array->type != data_type) in iommu_copy_struct_from_full_user_array() 529 if (!user_array->entry_num) in iommu_copy_struct_from_full_user_array() 531 if (likely(user_array->entry_len == kdst_entry_size)) { in iommu_copy_struct_from_full_user_array() 532 if (copy_from_user(kdst, user_array->uptr, in iommu_copy_struct_from_full_user_array() 533 user_array->entry_num * in iommu_copy_struct_from_full_user_array() 534 user_array->entry_len)) in iommu_copy_struct_from_full_user_array() 539 for (i = 0; i != user_array->entry_num; i++) { in iommu_copy_struct_from_full_user_array() [all …]
|