Lines Matching refs:dst_ptr
217 static bool property_copy_string_array(const char **dst_ptr,
224 dst_ptr[i] = kstrdup(src_ptr[i], GFP_KERNEL);
225 if (!dst_ptr[i] && src_ptr[i]) {
227 kfree(dst_ptr[i]);
239 void *dst_ptr;
257 dst_ptr = &dst->value;
260 dst_ptr = kmalloc(src->length, GFP_KERNEL);
261 if (!dst_ptr)
263 dst->pointer = dst_ptr;
268 if (!property_copy_string_array(dst_ptr, pointer, nval)) {
274 memcpy(dst_ptr, pointer, src->length);