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