Home
last modified time | relevance | path

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

12

/linux-3.4.99/fs/quota/
Dcompat.c64 if (copy_in_user(compat_dqblk, dqblk, sizeof(*compat_dqblk)) || in sys32_quotactl()
73 if (copy_in_user(dqblk, compat_dqblk, sizeof(*compat_dqblk)) || in sys32_quotactl()
87 if (copy_in_user(compat_fsqstat, fsqstat, in sys32_quotactl()
91 if (copy_in_user(&compat_fsqstat->qs_uquota, in sys32_quotactl()
98 if (copy_in_user(&compat_fsqstat->qs_gquota, in sys32_quotactl()
105 if (copy_in_user(&compat_fsqstat->qs_incoredqs, in sys32_quotactl()
/linux-3.4.99/arch/powerpc/lib/
Dusercopy_64.c28 unsigned long copy_in_user(void __user *to, const void __user *from, in copy_in_user() function
40 EXPORT_SYMBOL(copy_in_user);
/linux-3.4.99/arch/x86/lib/
Dusercopy_64.c103 unsigned long copy_in_user(void __user *to, const void __user *from, unsigned len) in copy_in_user() function
110 EXPORT_SYMBOL(copy_in_user);
/linux-3.4.99/drivers/video/
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-3.4.99/fs/
Dcompat_ioctl.c309 if (copy_in_user(&sgio->interface_id, &sgio32->interface_id, in sg_ioctl_trans()
344 if (copy_in_user(&sgio->timeout, &sgio32->timeout, in sg_ioctl_trans()
358 if (copy_in_user(&sgio32->pack_id, &sgio->pack_id, in sg_ioctl_trans()
363 copy_in_user(&sgio32->status, &sgio->status, in sg_ioctl_trans()
397 if (copy_in_user(o + i, r + i, offsetof(sg_req_info_t, usr_ptr)) || in sg_grt_trans()
492 if (copy_in_user(&odata->length, &odata32->length, in ppp_scompress()
705 if (copy_in_user(&tmsgs[i].addr, &umsgs[i].addr, 3*sizeof(u16))) in do_i2c_rdwr_ioctl()
795 if (copy_in_user(&p->l_type, &p32->l_type, sizeof(s16)) || in compat_ioctl_preallocate()
796 copy_in_user(&p->l_whence, &p32->l_whence, sizeof(s16)) || in compat_ioctl_preallocate()
797 copy_in_user(&p->l_start, &p32->l_start, sizeof(s64)) || in compat_ioctl_preallocate()
[all …]
/linux-3.4.99/arch/s390/include/asm/
Duaccess.h84 size_t (*copy_in_user)(size_t, void __user *, const void __user *); member
312 return uaccess.copy_in_user(n, to, from); in __copy_in_user()
316 copy_in_user(void __user *to, const void __user *from, unsigned long n) in copy_in_user() function
/linux-3.4.99/drivers/media/video/
Dv4l2-compat-ioctl32.c69 if (copy_in_user(&kclips->c, &uclips->c, sizeof(uclips->c))) in get_v4l2_window32()
340 if (copy_in_user(up, up32, 2 * sizeof(__u32)) || in get_v4l2_plane32()
341 copy_in_user(&up->data_offset, &up32->data_offset, in get_v4l2_plane32()
352 if (copy_in_user(&up->m.mem_offset, &up32->m.mem_offset, in get_v4l2_plane32()
363 if (copy_in_user(up32, up, 2 * sizeof(__u32)) || in put_v4l2_plane32()
364 copy_in_user(&up32->data_offset, &up->data_offset, in put_v4l2_plane32()
371 if (copy_in_user(&up32->m.mem_offset, &up->m.mem_offset, in put_v4l2_plane32()
651 if (copy_in_user(kcontrols, ucontrols, sizeof(*ucontrols))) in get_v4l2_ext_controls32()
699 if (copy_in_user(ucontrols, kcontrols, size)) in put_v4l2_ext_controls32()
/linux-3.4.99/net/atm/
Dioctl.c270 if (copy_in_user(&iobuf32->length, &iobuf->length, in do_atm_iobuf()
290 if (copy_in_user(&sioc->number, &sioc32->number, 2 * sizeof(int)) || in do_atmif_sioc()
300 if (copy_in_user(&sioc32->length, &sioc->length, in do_atmif_sioc()
/linux-3.4.99/arch/s390/lib/
Duaccess_mvcos.c208 .copy_in_user = copy_in_user_mvcos,
221 .copy_in_user = copy_in_user_mvcos,
Duaccess_std.c313 .copy_in_user = copy_in_user_std,
/linux-3.4.99/arch/sparc/include/asm/
Duaccess_64.h246 copy_in_user(void __user *to, void __user *from, unsigned long size) in copy_in_user() function
254 #define __copy_in_user copy_in_user
/linux-3.4.99/arch/parisc/include/asm/
Duaccess.h238 unsigned long copy_in_user(void __user *dst, const void __user *src, unsigned long len);
239 #define __copy_in_user copy_in_user
/linux-3.4.99/net/
Dcompat.c591 copy_in_user(&kgr->gr_group, &gr32->gr_group, in compat_mc_setsockopt()
613 copy_in_user(&kgsr->gsr_group, &gsr32->gsr_group, in compat_mc_setsockopt()
615 copy_in_user(&kgsr->gsr_source, &gsr32->gsr_source, in compat_mc_setsockopt()
642 copy_in_user(&kgf->gf_group, &gf32->gf_group, in compat_mc_setsockopt()
644 (numsrc && copy_in_user(kgf->gf_slist, gf32->gf_slist, in compat_mc_setsockopt()
696 copy_in_user(&kgf->gf_group, &gf32->gf_group, sizeof(kgf->gf_group))) in compat_mc_getsockopt()
729 if (copy_in_user(gf32->gf_slist, kgf->gf_slist, copylen)) in compat_mc_getsockopt()
Dsocket.c2682 if (copy_in_user(uifr, uifr32, sizeof(struct compat_ifreq))) in dev_ifname32()
2689 if (copy_in_user(uifr32, uifr, sizeof(struct compat_ifreq))) in dev_ifname32()
2722 if (copy_in_user(ifr, ifr32, sizeof(struct compat_ifreq))) in dev_ifconf()
2743 if (copy_in_user(ifr32, ifr, sizeof(struct compat_ifreq))) in dev_ifconf()
2814 if (copy_in_user(&ifr->ifr_name, &ifr32->ifr_name, IFNAMSIZ)) in ethtool_ioctl()
2835 if (copy_in_user(rxnfc, compat_rxnfc, in ethtool_ioctl()
2838 copy_in_user(&rxnfc->fs.ring_cookie, in ethtool_ioctl()
2842 copy_in_user(&rxnfc->rule_cnt, &compat_rxnfc->rule_cnt, in ethtool_ioctl()
2852 if (copy_in_user(compat_rxnfc, rxnfc, in ethtool_ioctl()
2855 copy_in_user(&compat_rxnfc->fs.ring_cookie, in ethtool_ioctl()
[all …]
/linux-3.4.99/sound/core/
Dhwdep_compat.c43 if (copy_in_user(dst, src, 4 + 64)) in snd_hwdep_dsp_load_compat()
Dcontrol_compat.c45 if (copy_in_user(data, data32, 4 * sizeof(u32))) in snd_ctl_elem_list_compat()
55 if (copy_in_user(data32, data, 4 * sizeof(u32))) in snd_ctl_elem_list_compat()
/linux-3.4.99/arch/sparc/lib/
DMakefile39 lib-$(CONFIG_SPARC64) += copy_in_user.o user_fixup.o memmove.o
/linux-3.4.99/arch/parisc/lib/
Dmemcpy.c486 unsigned long copy_in_user(void __user *dst, const void __user *src, unsigned long len) in copy_in_user() function
504 EXPORT_SYMBOL(copy_in_user);
/linux-3.4.99/drivers/media/video/uvc/
Duvc_v4l2.c1082 if (copy_in_user(kmenus, umenus, kp->menu_count * sizeof(*umenus))) in uvc_v4l2_get_xu_mapping()
1111 if (copy_in_user(umenus, kmenus, kp->menu_count * sizeof(*umenus))) in uvc_v4l2_put_xu_mapping()
1152 if (copy_in_user(kdata, udata, kp->size)) in uvc_v4l2_get_xu_query()
1178 if (copy_in_user(udata, kdata, kp->size)) in uvc_v4l2_put_xu_query()
/linux-3.4.99/arch/score/include/asm/
Duaccess.h344 copy_in_user(void *to, const void *from, unsigned long len) in copy_in_user() function
/linux-3.4.99/block/
Dcompat_ioctl.c130 if (copy_in_user(&cdread_audio->addr, in compat_cdrom_read_audio()
158 if (copy_in_user(&cgc->cmd, &cgc32->cmd, sizeof(cgc->cmd)) || in compat_cdrom_generic_command()
161 copy_in_user(&cgc->buflen, &cgc32->buflen, in compat_cdrom_generic_command()
/linux-3.4.99/arch/x86/include/asm/
Duaccess_64.h44 copy_in_user(void __user *to, const void __user *from, unsigned len);
/linux-3.4.99/arch/tile/include/asm/
Duaccess.h403 copy_in_user(void __user *to, const void __user *from, unsigned long n) in copy_in_user() function
/linux-3.4.99/arch/ia64/include/asm/
Duaccess.h280 copy_in_user (void __user *to, const void __user *from, unsigned long n) in copy_in_user() function
/linux-3.4.99/arch/powerpc/include/asm/
Duaccess.h371 extern unsigned long copy_in_user(void __user *to, const void __user *from,

12