Lines Matching refs:dst_ptr
244 static bool property_copy_string_array(const char **dst_ptr,
251 dst_ptr[i] = kstrdup(src_ptr[i], GFP_KERNEL);
252 if (!dst_ptr[i] && src_ptr[i]) {
254 kfree(dst_ptr[i]);
266 void *dst_ptr;
284 dst_ptr = &dst->value;
287 dst_ptr = kmalloc(src->length, GFP_KERNEL);
288 if (!dst_ptr)
290 dst->pointer = dst_ptr;
295 if (!property_copy_string_array(dst_ptr, pointer, nval)) {
301 memcpy(dst_ptr, pointer, src->length);