copy_from_user
if (copy_from_user(&info[i], uptr, bytes)) {
if (copy_from_user(&user_chunk, chunk_ptr,
r = copy_from_user(&rd->id, (struct amdgpu_debugfs_regs2_iocdata_v2 *)data,
r = copy_from_user(&v1_data, (struct amdgpu_debugfs_regs2_iocdata *)data,
if (copy_from_user(&rd->id,
ret = copy_from_user((void *)&ta_type, &buf[copy_pos], sizeof(uint32_t));
ret = copy_from_user((void *)&ta_bin_len, &buf[copy_pos], sizeof(uint32_t));
ret = copy_from_user((void *)&ta_type, &buf[copy_pos], sizeof(uint32_t));
ret = copy_from_user((void *)&ta_id, &buf[copy_pos], sizeof(uint32_t));
ret = copy_from_user((void *)&ta_type, &buf[copy_pos], sizeof(uint32_t));
ret = copy_from_user((void *)&ta_id, &buf[copy_pos], sizeof(uint32_t));
ret = copy_from_user((void *)&cmd_id, &buf[copy_pos], sizeof(uint32_t));
ret = copy_from_user((void *)&shared_buf_len, &buf[copy_pos], sizeof(uint32_t));
if (copy_from_user(str, buf, s))
if (copy_from_user(data, buf, sizeof(*data)))
ret = copy_from_user(str, buf, size);
r = copy_from_user(ptr + off, buf, bytes);
err = copy_from_user(devices_arr,
err = copy_from_user(devices_arr,
ret = copy_from_user(&process_priv,
ret = copy_from_user(device_buckets, (void __user *)args->devices,
ret = copy_from_user(bo_buckets, (void __user *)args->bos,
ret = copy_from_user(bo_privs, (void __user *)args->priv_data + *priv_offset,
if (copy_from_user(kdata, (void __user *)arg, usize) != 0) {
if (copy_from_user(tmp, user_buf, size)) {
ret = copy_from_user(ev_priv, user_priv_ptr + *priv_data_offset, sizeof(*ev_priv));
if (copy_from_user(&event_data, &events[i],
ret = copy_from_user(q_data, user_priv_ptr + *priv_data_offset, sizeof(*q_data));
ret = copy_from_user(q_extra_data, user_priv_ptr + *priv_data_offset, q_extra_data_size);
if (copy_from_user(&events, user, sizeof(events)))
ret = copy_from_user(&criu_svm_md->data, user_priv_ptr + *priv_data_offset,
r = copy_from_user(data, buf, write_size);
if (copy_from_user(wr_buf_ptr, buf, wr_buf_size)) {
if (copy_from_user(&prop_value,
if (copy_from_user(r_base, (void __user *)(unsigned long)crtc_lut->red, size)) {
if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) {
if (copy_from_user(b_base, (void __user *)(unsigned long)crtc_lut->blue, size)) {
if (copy_from_user(buf, ubuf, len))
ret = copy_from_user(clips, clips_ptr,
if (copy_from_user(handles, bo_handles, count * sizeof(u32))) {
if (copy_from_user(&uq32, (void __user *)arg, sizeof(uq32)))
if (copy_from_user(&c32, argp, sizeof(c32)))
if (copy_from_user(&req32, argp, sizeof(req32)))
if (copy_from_user(&req64, argp,
if (copy_from_user(&req64.modifier, &argp->modifier,
if (copy_from_user(&v32, (void __user *)arg, sizeof(v32)))
if (copy_from_user(kdata, (void __user *)arg, in_size) != 0) {
if (copy_from_user(blob->data,
} else if (copy_from_user(points, user_points,
if (copy_from_user(handles, user_handles,
} else if (copy_from_user(points, u64_to_user_ptr(args->points),
if (copy_from_user(tmp, ubuf, len))
if (copy_from_user(tmp, ubuf, len))
if (copy_from_user(tmp, ubuf, len))
if (copy_from_user(&user_sseu, u64_to_user_ptr(args->value),
if (copy_from_user(&user, u64_to_user_ptr(args->value), sizeof(user)))
if (copy_from_user(&local, ext, sizeof(local)))
if (copy_from_user(&user_sseu, u64_to_user_ptr(args->value),
if (copy_from_user(&ci, &ext->engines[n], sizeof(ci))) {
if (copy_from_user(&ci, &ext->master, sizeof(ci)))
if (copy_from_user(&ci, &ext->engines[n], sizeof(ci)))
if (copy_from_user(&ci, &ext->engines[n], sizeof(ci))) {
if (copy_from_user(&ci, &user->engines[n], sizeof(ci))) {
if (copy_from_user(&user_sseu, u64_to_user_ptr(args->value),
if (copy_from_user(®ion, uregions, sizeof(region)))
if (copy_from_user(&ext, base, sizeof(ext)))
if (copy_from_user(&ext, base, sizeof(ext)))
if (copy_from_user(&ext, base, sizeof(ext)))
if (copy_from_user(&timeline_fences, ext, sizeof(timeline_fences)))
if (copy_from_user(exec2_list,
if (copy_from_user(vaddr, user_data, args->size))
if (copy_from_user(&info, (void __user *)arg, minsz))
if (copy_from_user(&info, (void __user *)arg, minsz))
if (copy_from_user(&info, (void __user *)arg, minsz))
if (copy_from_user(&hdr, (void __user *)arg, minsz))
if (copy_from_user(&dmabuf, (void __user *)arg, minsz))
if (copy_from_user(&val, buf, sizeof(val)))
if (copy_from_user(&val, buf, sizeof(val)))
if (copy_from_user(&val, buf, sizeof(val)))
if (copy_from_user(&val, buf, sizeof(val)))
unwritten = copy_from_user((void __force *)vaddr + offset,
if (copy_from_user(&req32, (void __user *)arg, sizeof(req32)))
if (copy_from_user(&user_sseu,
if (copy_from_user(query_hdr, u64_to_user_ptr(query_item->data_ptr),
if (copy_from_user(uuid, user_query_config_ptr->uuid,
if (copy_from_user(&user_config, user_config_ptr, sizeof(user_config))) {
if (copy_from_user(&item, user_item_ptr, sizeof(item)))
if (copy_from_user(p->chunks_array, chunk_array_ptr,
if (copy_from_user(&user_chunk, chunk_ptr,
if (copy_from_user(p->chunks[i].kdata, cdata, size)) {
if (copy_from_user(parser->const_ib.ptr,
else if (copy_from_user(parser->ib.ptr, ib_chunk->user_ptr, ib_chunk->length_dw * 4))
if (copy_from_user(value, value_ptr, sizeof(uint32_t))) {
if (copy_from_user(value, value_ptr, sizeof(uint32_t))) {
if (copy_from_user(value, value_ptr, sizeof(uint32_t))) {
if (copy_from_user(value, value_ptr, sizeof(uint32_t))) {
if (copy_from_user(value, value_ptr, sizeof(uint32_t))) {