Home
last modified time | relevance | path

Searched refs:copy_in_user (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c163 copy_in_user(&p64->w, &p32->w, sizeof(p32->w)) || in get_v4l2_window32()
185 if (copy_in_user(&kclips->c, &uclips->c, sizeof(uclips->c))) in get_v4l2_window32()
203 if (copy_in_user(&p32->w, &p64->w, sizeof(p64->w)) || in put_v4l2_window32()
219 if (copy_in_user(&uclips->c, &kclips->c, sizeof(uclips->c))) in put_v4l2_window32()
304 return copy_in_user(&p64->fmt.pix, &p32->fmt.pix, in __get_v4l2_format32()
308 return copy_in_user(&p64->fmt.pix_mp, &p32->fmt.pix_mp, in __get_v4l2_format32()
316 return copy_in_user(&p64->fmt.vbi, &p32->fmt.vbi, in __get_v4l2_format32()
320 return copy_in_user(&p64->fmt.sliced, &p32->fmt.sliced, in __get_v4l2_format32()
324 return copy_in_user(&p64->fmt.sdr, &p32->fmt.sdr, in __get_v4l2_format32()
328 return copy_in_user(&p64->fmt.meta, &p32->fmt.meta, in __get_v4l2_format32()
[all …]
/Linux-v5.4/fs/quota/
Dcompat.c66 if (copy_in_user(compat_dqblk, dqblk, sizeof(*compat_dqblk)) || in COMPAT_SYSCALL_DEFINE4()
75 if (copy_in_user(dqblk, compat_dqblk, sizeof(*compat_dqblk)) || in COMPAT_SYSCALL_DEFINE4()
89 if (copy_in_user(compat_fsqstat, fsqstat, in COMPAT_SYSCALL_DEFINE4()
93 if (copy_in_user(&compat_fsqstat->qs_uquota, in COMPAT_SYSCALL_DEFINE4()
100 if (copy_in_user(&compat_fsqstat->qs_gquota, in COMPAT_SYSCALL_DEFINE4()
107 if (copy_in_user(&compat_fsqstat->qs_incoredqs, in COMPAT_SYSCALL_DEFINE4()
/Linux-v5.4/fs/
Dcompat_ioctl.c175 if (copy_in_user(&sgio->interface_id, &sgio32->interface_id, in sg_ioctl_trans()
210 if (copy_in_user(&sgio->timeout, &sgio32->timeout, in sg_ioctl_trans()
224 if (copy_in_user(&sgio32->pack_id, &sgio->pack_id, in sg_ioctl_trans()
229 copy_in_user(&sgio32->status, &sgio->status, in sg_ioctl_trans()
263 if (copy_in_user(o + i, r + i, offsetof(sg_req_info_t, usr_ptr)) || in sg_grt_trans()
358 if (copy_in_user(&odata->length, &odata32->length, in ppp_scompress()
492 if (copy_in_user(&p->l_type, &p32->l_type, sizeof(s16)) || in compat_ioctl_preallocate()
493 copy_in_user(&p->l_whence, &p32->l_whence, sizeof(s16)) || in compat_ioctl_preallocate()
494 copy_in_user(&p->l_start, &p32->l_start, sizeof(s64)) || in compat_ioctl_preallocate()
495 copy_in_user(&p->l_len, &p32->l_len, sizeof(s64)) || in compat_ioctl_preallocate()
[all …]
/Linux-v5.4/drivers/video/fbdev/
Dsbuslib.c202 ret = copy_in_user(p, argp, 2 * sizeof(int)); in fbiogetputcmap()
224 ret = copy_in_user(p, argp, in fbiogscursor()
226 ret |= copy_in_user(&p->size, &argp->size, sizeof(struct fbcurpos)); in fbiogscursor()
227 ret |= copy_in_user(&p->cmap, &argp->cmap, 2 * sizeof(int)); in fbiogscursor()
/Linux-v5.4/net/atm/
Dioctl.c253 if (copy_in_user(&iobuf32->length, &iobuf->length, in do_atm_iobuf()
273 if (copy_in_user(&sioc->number, &sioc32->number, 2 * sizeof(int)) || in do_atmif_sioc()
283 if (copy_in_user(&sioc32->length, &sioc->length, in do_atmif_sioc()
/Linux-v5.4/net/
Dcompat.c482 copy_in_user(&kgr->gr_group, &gr32->gr_group, in compat_mc_setsockopt()
504 copy_in_user(&kgsr->gsr_group, &gsr32->gsr_group, in compat_mc_setsockopt()
506 copy_in_user(&kgsr->gsr_source, &gsr32->gsr_source, in compat_mc_setsockopt()
533 copy_in_user(&kgf->gf_group, &gf32->gf_group, in compat_mc_setsockopt()
535 (numsrc && copy_in_user(kgf->gf_slist, gf32->gf_slist, in compat_mc_setsockopt()
587 copy_in_user(&kgf->gf_group, &gf32->gf_group, sizeof(kgf->gf_group))) in compat_mc_getsockopt()
620 if (copy_in_user(gf32->gf_slist, kgf->gf_slist, copylen)) in compat_mc_getsockopt()
Dsocket.c3076 if (copy_in_user(rxnfc, compat_rxnfc, in ethtool_ioctl()
3079 copy_in_user(&rxnfc->fs.ring_cookie, in ethtool_ioctl()
3087 } else if (copy_in_user(&rxnfc->rule_cnt, in ethtool_ioctl()
3098 if (copy_in_user(compat_rxnfc, rxnfc, in ethtool_ioctl()
3101 copy_in_user(&compat_rxnfc->fs.ring_cookie, in ethtool_ioctl()
3105 copy_in_user(&compat_rxnfc->rule_cnt, &rxnfc->rule_cnt, in ethtool_ioctl()
3122 if (copy_in_user(&compat_rxnfc->rule_locs[0], in ethtool_ioctl()
3191 if (copy_in_user(uifr, uifr32, sizeof(*uifr32))) in compat_ifreq_ioctl()
3213 if (copy_in_user(uifr32, uifr, sizeof(*uifr32))) in compat_ifreq_ioctl()
/Linux-v5.4/arch/arm64/lib/
DMakefile3 copy_to_user.o copy_in_user.o copy_page.o \
/Linux-v5.4/block/
Dcompat_ioctl.c128 if (copy_in_user(&cdread_audio->addr, in compat_cdrom_read_audio()
156 if (copy_in_user(&cgc->cmd, &cgc32->cmd, sizeof(cgc->cmd)) || in compat_cdrom_generic_command()
159 copy_in_user(&cgc->buflen, &cgc32->buflen, in compat_cdrom_generic_command()
/Linux-v5.4/sound/core/
Dhwdep_compat.c29 if (copy_in_user(dst, src, 4 + 64)) in snd_hwdep_dsp_load_compat()
Dcontrol_compat.c32 if (copy_in_user(data, data32, 4 * sizeof(u32))) in snd_ctl_elem_list_compat()
42 if (copy_in_user(data32, data, 4 * sizeof(u32))) in snd_ctl_elem_list_compat()
/Linux-v5.4/arch/sparc/lib/
DMakefile51 lib-$(CONFIG_SPARC64) += copy_in_user.o memmove.o
/Linux-v5.4/include/linux/
Duaccess.h157 copy_in_user(void __user *to, const void __user *from, unsigned long n) in copy_in_user() function
/Linux-v5.4/arch/sparc/kernel/
Dsignal32.c435 err |= copy_in_user((u32 __user *)sf, in setup_frame32()
567 err |= copy_in_user((u32 __user *)sf, in setup_rt_frame32()
Dprocess_64.c462 if (copy_in_user((void __user *) rval, (void __user *) psp, distance)) in clone_stackframe()
Dsignal_64.c410 err |= copy_in_user((u64 __user *)sf, in setup_rt_frame()
/Linux-v5.4/drivers/scsi/megaraid/
Dmegaraid_sas_base.c8384 if (copy_in_user(&ioc->host_no, &cioc->host_no, sizeof(u16)) || in megasas_mgmt_compat_ioctl_fw()
8385 copy_in_user(&ioc->sgl_off, &cioc->sgl_off, sizeof(u32)) || in megasas_mgmt_compat_ioctl_fw()
8386 copy_in_user(&ioc->sense_off, &cioc->sense_off, sizeof(u32)) || in megasas_mgmt_compat_ioctl_fw()
8387 copy_in_user(&ioc->sense_len, &cioc->sense_len, sizeof(u32)) || in megasas_mgmt_compat_ioctl_fw()
8388 copy_in_user(ioc->frame.raw, cioc->frame.raw, 128) || in megasas_mgmt_compat_ioctl_fw()
8389 copy_in_user(&ioc->sge_count, &cioc->sge_count, sizeof(u32))) in megasas_mgmt_compat_ioctl_fw()
8418 copy_in_user(&ioc->sgl[i].iov_len, in megasas_mgmt_compat_ioctl_fw()
8425 if (copy_in_user(&cioc->frame.hdr.cmd_status, in megasas_mgmt_compat_ioctl_fw()
/Linux-v5.4/drivers/video/fbdev/core/
Dfbmem.c1221 if (copy_in_user(&cmap->start, &cmap32->start, 2 * sizeof(__u32))) in fb_getput_cmap()
1237 if (copy_in_user(&cmap32->start, in fb_getput_cmap()
/Linux-v5.4/drivers/scsi/aacraid/
Dlinit.c1184 if (copy_in_user(f, (void __user *)arg, sizeof(struct fib_ioctl) - sizeof(u32))) in aac_compat_do_ioctl()
/Linux-v5.4/drivers/usb/core/
Ddevio.c2006 if (copy_in_user(p, p32, (sizeof(*p32) - sizeof(compat_caddr_t))) || in proc_control_compat()
/Linux-v5.4/drivers/scsi/
Dhpsa.c6225 err |= copy_in_user(&arg32->error_info, &p->error_info, in hpsa_ioctl32_passthru()
6263 err |= copy_in_user(&arg32->error_info, &p->error_info, in hpsa_ioctl32_big_passthru()