Searched refs:src_array (Results 1 – 2 of 2) sorted by relevance
465 void *dst_data, const struct iommu_user_data_array *src_array, in __iommu_copy_struct_from_user_array() argument471 if (WARN_ON(!src_array || index >= src_array->entry_num)) in __iommu_copy_struct_from_user_array()473 if (!src_array->entry_num) in __iommu_copy_struct_from_user_array()475 src_data.uptr = src_array->uptr + src_array->entry_len * index; in __iommu_copy_struct_from_user_array()476 src_data.len = src_array->entry_len; in __iommu_copy_struct_from_user_array()477 src_data.type = src_array->type; in __iommu_copy_struct_from_user_array()
954 struct usb_string *src_array = src->strings; in ast_vhub_str_deep_copy() local958 if (src_array && dest_array) { in ast_vhub_str_deep_copy()960 *dest_array = *src_array; in ast_vhub_str_deep_copy()962 src_array++; in ast_vhub_str_deep_copy()963 } while (src_array->s); in ast_vhub_str_deep_copy()