Searched refs:src_array (Results 1 – 2 of 2) sorted by relevance
467 void *dst_data, const struct iommu_user_data_array *src_array, in __iommu_copy_struct_from_user_array() argument473 if (WARN_ON(!src_array || index >= src_array->entry_num)) in __iommu_copy_struct_from_user_array()475 if (!src_array->entry_num) in __iommu_copy_struct_from_user_array()477 src_data.uptr = src_array->uptr + src_array->entry_len * index; in __iommu_copy_struct_from_user_array()478 src_data.len = src_array->entry_len; in __iommu_copy_struct_from_user_array()479 src_data.type = src_array->type; in __iommu_copy_struct_from_user_array()
955 struct usb_string *src_array = src->strings; in ast_vhub_str_deep_copy() local959 if (src_array && dest_array) { in ast_vhub_str_deep_copy()961 *dest_array = *src_array; in ast_vhub_str_deep_copy()963 src_array++; in ast_vhub_str_deep_copy()964 } while (src_array->s); in ast_vhub_str_deep_copy()