Searched refs:user_array (Results 1 – 1 of 1) sorted by relevance
514 kdst, user_array, data_type, index, sizeof(*(kdst)), \532 struct iommu_user_data_array *user_array, in iommu_copy_struct_from_full_user_array() argument538 if (user_array->type != data_type) in iommu_copy_struct_from_full_user_array()540 if (!user_array->entry_num) in iommu_copy_struct_from_full_user_array()542 if (likely(user_array->entry_len == kdst_entry_size)) { in iommu_copy_struct_from_full_user_array()543 if (copy_from_user(kdst, user_array->uptr, in iommu_copy_struct_from_full_user_array()544 user_array->entry_num * in iommu_copy_struct_from_full_user_array()545 user_array->entry_len)) in iommu_copy_struct_from_full_user_array()550 for (i = 0; i != user_array->entry_num; i++) { in iommu_copy_struct_from_full_user_array()553 user_array->uptr + user_array->entry_len * i, in iommu_copy_struct_from_full_user_array()[all …]
Completed in 10 milliseconds