Lines Matching refs:dst_ptr
230 static bool property_copy_string_array(const char **dst_ptr, in property_copy_string_array() argument
237 dst_ptr[i] = kstrdup(src_ptr[i], GFP_KERNEL); in property_copy_string_array()
238 if (!dst_ptr[i] && src_ptr[i]) { in property_copy_string_array()
240 kfree(dst_ptr[i]); in property_copy_string_array()
252 void *dst_ptr; in property_entry_copy_data() local
270 dst_ptr = &dst->value; in property_entry_copy_data()
273 dst_ptr = kmalloc(src->length, GFP_KERNEL); in property_entry_copy_data()
274 if (!dst_ptr) in property_entry_copy_data()
276 dst->pointer = dst_ptr; in property_entry_copy_data()
281 if (!property_copy_string_array(dst_ptr, pointer, nval)) { in property_entry_copy_data()
287 memcpy(dst_ptr, pointer, src->length); in property_entry_copy_data()