copy_to_user
#define __copy_to_user(...) copy_to_user(__VA_ARGS__)
num_read = read_size - copy_to_user(dest, read_pos, read_size);
if (copy_to_user(&to->count,
copy_to_user(&to->size,
copy_to_user(&to->low_mark,
copy_to_user(&to->high_mark,
if (copy_to_user(&request->list[i].idx,
if (copy_to_user(&request->list[i].total,
if (copy_to_user(&request->list[i].used,
if (copy_to_user(&request->list[i].address,
if (copy_to_user(&res->contexts[i], &ctx, sizeof(ctx)))
if (copy_to_user(mode_ptr + copied,
if (copy_to_user(format_ptr,
if (copy_to_user(values_ptr + i, &property->values[i], sizeof(uint64_t))) {
if (copy_to_user(&enum_ptr[copied].value, &prop_enum->value, sizeof(uint64_t))) {
if (copy_to_user(&enum_ptr[copied].name,
if (copy_to_user(blob_ptr, blob->data, blob->length)){
if (copy_to_user((void __user *)(unsigned long)crtc_lut->red, r_base, size)) {
if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_base, size)) {
if (copy_to_user((void __user *)(unsigned long)crtc_lut->blue, b_base, size)) {
if (copy_to_user(buf, value, len))
if (copy_to_user(u->unique, master->unique, master->unique_len))
size = copy_to_user(ptr, x, size);
ret = copy_to_user(rbuf, virtual, io_size);
ret = copy_to_user(rbuf, virtual, io_size);
if (copy_to_user(buf, &event->hdr, eventsz))
if (copy_to_user(buf, event_data, eventsz))
if (copy_to_user((void __user *)(unsigned long)cmd.response,
if (copy_to_user((void __user *)(unsigned long)cmd.data,
if (copy_to_user((void __user *)(unsigned long)cmd.info,
if (copy_to_user((void __user *)(unsigned long)cmd.response,
if (copy_to_user((void __user *)(unsigned long)cmd.response,
if (copy_to_user((void __user *)(unsigned long)cmd.response,
if (copy_to_user((void __user *)(unsigned long)cmd.response,
if (copy_to_user((void __user *)(unsigned long)cmd.response,
if (copy_to_user((void __user *)(unsigned long) cmd->response,
if (copy_to_user((void __user *)(unsigned long)cmd.response,
if (copy_to_user((void __user *)(unsigned long)cmd.response,
if (copy_to_user((void __user *)(unsigned long)cmd.response,
if (copy_to_user((void __user *)(unsigned long)cmd.response,
if (copy_to_user((void __user *)(unsigned long)cmd.response,
if (copy_to_user((void __user *)(unsigned long)cmd.response,
if (copy_to_user(response, &resp, sizeof(resp)))
if (copy_to_user(response, resp,
if (copy_to_user(response, &resp, sizeof(resp)))
if (copy_to_user(buf, &packet->mad, hdr_size(file)))
if (copy_to_user(buf, recv_buf->mad, seg_payload))
if (copy_to_user(buf, (char *)recv_buf->mad + offset,
if (copy_to_user(buf, &packet->mad, hdr_size(file)))
if (copy_to_user(buf, packet->mad.data, packet->length))
if (copy_to_user(dest, &tmp, sizeof tmp))
if (copy_to_user(header_ptr, &resp, sizeof resp)) {
if (copy_to_user(attrs->ucore.outbuf, resp,
if (copy_to_user(u64_to_user_ptr(attr->ptr_attr.data), from, min_size))
if (copy_to_user(buf, event, eventsz))
return copy_to_user(udata->outbuf, src, len) ? -EFAULT : 0;