Lines Matching refs:dst_ptr
233 static bool property_copy_string_array(const char **dst_ptr, in property_copy_string_array() argument
240 dst_ptr[i] = kstrdup(src_ptr[i], GFP_KERNEL); in property_copy_string_array()
241 if (!dst_ptr[i] && src_ptr[i]) { in property_copy_string_array()
243 kfree(dst_ptr[i]); in property_copy_string_array()
255 void *dst_ptr; in property_entry_copy_data() local
273 dst_ptr = &dst->value; in property_entry_copy_data()
276 dst_ptr = kmalloc(src->length, GFP_KERNEL); in property_entry_copy_data()
277 if (!dst_ptr) in property_entry_copy_data()
279 dst->pointer = dst_ptr; in property_entry_copy_data()
284 if (!property_copy_string_array(dst_ptr, pointer, nval)) { in property_entry_copy_data()
290 memcpy(dst_ptr, pointer, src->length); in property_entry_copy_data()