/linux-4.1.27/fs/efivarfs/ |
H A D | file.c | 37 data = memdup_user(userbuf + sizeof(attributes), datasize); efivarfs_file_write()
|
/linux-4.1.27/mm/ |
H A D | util.c | 121 * memdup_user - duplicate memory region from user space 128 void *memdup_user(const void __user *src, size_t len) memdup_user() function 148 EXPORT_SYMBOL(memdup_user); variable 168 p = memdup_user(s, length); strndup_user()
|
/linux-4.1.27/include/linux/ |
H A D | string.h | 12 extern void *memdup_user(const void __user *, size_t);
|
/linux-4.1.27/fs/btrfs/ |
H A D | ioctl.c | 1491 vol_args = memdup_user(arg, sizeof(*vol_args)); btrfs_ioctl_resize() 1670 vol_args = memdup_user(arg, sizeof(*vol_args)); btrfs_ioctl_snap_create() 1693 vol_args = memdup_user(arg, sizeof(*vol_args)); btrfs_ioctl_snap_create_v2() 1714 inherit = memdup_user(vol_args->qgroup_inherit, vol_args->size); btrfs_ioctl_snap_create_v2() 2283 args = memdup_user(argp, sizeof(*args)); btrfs_ioctl_ino_lookup() 2321 vol_args = memdup_user(arg, sizeof(*vol_args)); btrfs_ioctl_snap_destroy() 2618 vol_args = memdup_user(arg, sizeof(*vol_args)); btrfs_ioctl_add_dev() 2650 vol_args = memdup_user(arg, sizeof(*vol_args)); btrfs_ioctl_rm_dev() 2720 di_args = memdup_user(arg, sizeof(*di_args)); btrfs_ioctl_dev_info() 2971 same = memdup_user(argp, size); btrfs_ioctl_file_extent_same() 4211 sa = memdup_user(arg, sizeof(*sa)); btrfs_ioctl_scrub() 4252 sa = memdup_user(arg, sizeof(*sa)); btrfs_ioctl_scrub_progress() 4271 sa = memdup_user(arg, sizeof(*sa)); btrfs_ioctl_get_dev_stats() 4297 p = memdup_user(arg, sizeof(*p)); btrfs_ioctl_dev_replace() 4356 ipa = memdup_user(arg, sizeof(*ipa)); btrfs_ioctl_ino_to_path() 4428 loi = memdup_user(arg, sizeof(*loi)); btrfs_ioctl_logical_to_ino() 4562 bargs = memdup_user(arg, sizeof(*bargs)); btrfs_ioctl_balance() 4708 sa = memdup_user(arg, sizeof(*sa)); btrfs_ioctl_quota_ctl() 4759 sa = memdup_user(arg, sizeof(*sa)); btrfs_ioctl_qgroup_assign() 4811 sa = memdup_user(arg, sizeof(*sa)); btrfs_ioctl_qgroup_create() 4862 sa = memdup_user(arg, sizeof(*sa)); btrfs_ioctl_qgroup_limit() 4907 qsa = memdup_user(arg, sizeof(*qsa)); btrfs_ioctl_quota_rescan() 5059 args32 = memdup_user(arg, sizeof(*args32)); btrfs_ioctl_set_received_subvol_32() 5111 sa = memdup_user(arg, sizeof(*sa)); btrfs_ioctl_set_received_subvol()
|
H A D | super.c | 1968 vol = memdup_user((void __user *)arg, sizeof(*vol)); btrfs_control_ioctl()
|
H A D | send.c | 5724 arg = memdup_user(arg_, sizeof(*arg)); btrfs_ioctl_send()
|
/linux-4.1.27/drivers/i2c/ |
H A D | i2c-dev.c | 171 tmp = memdup_user(buf, count); i2cdev_write() 256 rdwr_pa = memdup_user(rdwr_arg.msgs, i2cdev_ioctl_rdrw() 276 rdwr_pa[i].buf = memdup_user(data_ptrs[i], rdwr_pa[i].len); i2cdev_ioctl_rdrw()
|
/linux-4.1.27/drivers/isdn/sc/ |
H A D | ioctl.c | 221 spid = memdup_user(data->dataptr, SCIOC_SPIDSIZE); sc_ioctl() 296 dn = memdup_user(data->dataptr, SCIOC_DNSIZE); sc_ioctl()
|
/linux-4.1.27/drivers/scsi/bfa/ |
H A D | bfad_debugfs.c | 263 kern_buf = memdup_user(buf, nbytes); bfad_debugfs_write_regrd() 330 kern_buf = memdup_user(buf, nbytes); bfad_debugfs_write_regwr()
|
/linux-4.1.27/fs/ecryptfs/ |
H A D | miscdev.c | 414 data = memdup_user(buf, count); ecryptfs_miscdev_write() 416 printk(KERN_ERR "%s: memdup_user returned error [%ld]\n", ecryptfs_miscdev_write()
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
H A D | rtw_android.c | 162 command = memdup_user(priv_cmd.buf, priv_cmd.total_len); rtw_android_priv_cmd()
|
/linux-4.1.27/drivers/gpu/drm/r128/ |
H A D | r128_state.c | 904 buffer = memdup_user(depth->buffer, buffer_size); r128_cce_dispatch_write_span() 910 mask = memdup_user(depth->mask, mask_size); r128_cce_dispatch_write_span() 1005 buffer = memdup_user(depth->buffer, buffer_size); r128_cce_dispatch_write_pixels() 1014 mask = memdup_user(depth->mask, mask_size); r128_cce_dispatch_write_pixels()
|
/linux-4.1.27/sound/firewire/fireworks/ |
H A D | fireworks_hwdep.c | 136 buf = memdup_user(data, count); hwdep_write()
|
/linux-4.1.27/sound/isa/wavefront/ |
H A D | wavefront_fx.c | 207 page_data = memdup_user((unsigned char __user *) snd_wavefront_fx_ioctl()
|
H A D | wavefront_synth.c | 1672 wc = memdup_user(argp, sizeof(*wc)); snd_wavefront_synth_ioctl()
|
/linux-4.1.27/sound/usb/usx2y/ |
H A D | usX2Yhwdep.c | 209 buf = memdup_user(dsp->image, dsp->length); snd_usX2Y_hwdep_dsp_load()
|
H A D | us122l.c | 392 cfg = memdup_user((void *)arg, sizeof(*cfg)); usb_stream_hwdep_ioctl()
|
/linux-4.1.27/fs/ncpfs/ |
H A D | ioctl.c | 662 newname = memdup_user(user.object_name, __ncp_ioctl() 759 new = memdup_user(user.data, user.len); __ncp_ioctl()
|
/linux-4.1.27/drivers/media/rc/ |
H A D | ir-lirc-codec.c | 134 txbuf = memdup_user(buf, n); ir_lirc_transmit_ir()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_debugfs.c | 334 buf = memdup_user(ubuf, len); edid_write()
|
/linux-4.1.27/drivers/vfio/platform/ |
H A D | vfio_platform_common.c | 244 data = memdup_user((void __user *)(arg + minsz), size); vfio_platform_ioctl()
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtdchar.c | 394 ops.oobbuf = memdup_user(ptr, length); mtdchar_writeoob() 565 ops.datbuf = memdup_user(usr_data, ops.len); mtdchar_write_ioctl() 573 ops.oobbuf = memdup_user(usr_oob, ops.ooblen); mtdchar_write_ioctl()
|
/linux-4.1.27/sound/core/ |
H A D | pcm_native.c | 464 params = memdup_user(_params, sizeof(*params)); snd_pcm_hw_refine_user() 608 params = memdup_user(_params, sizeof(*params)); snd_pcm_hw_params_user() 2862 bufs = memdup_user(xfern.bufs, snd_pcm_playback_ioctl1() 2942 bufs = memdup_user(xfern.bufs, snd_pcm_capture_ioctl1() 3601 oparams = memdup_user(_oparams, sizeof(*oparams)); snd_pcm_hw_refine_old_user() 3631 oparams = memdup_user(_oparams, sizeof(*oparams)); snd_pcm_hw_params_old_user()
|
H A D | control.c | 897 control = memdup_user(_control, sizeof(*control)); snd_ctl_elem_read_user() 954 control = memdup_user(_control, sizeof(*control)); snd_ctl_elem_write_user() 1121 new_data = memdup_user(tlv, size); snd_ctl_elem_user_tlv() 1164 names = memdup_user((const void __user *)user_ptrval, snd_ctl_elem_init_enum_names()
|
H A D | timer.c | 1486 ginfo = memdup_user(_ginfo, sizeof(*ginfo)); snd_timer_user_ginfo()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-taskfile.c | 483 req_task = memdup_user(buf, tasksize); ide_taskfile_ioctl()
|
/linux-4.1.27/drivers/staging/media/lirc/ |
H A D | lirc_parallel.c | 383 wbuf = memdup_user(buf, n); lirc_write()
|
H A D | lirc_sasem.c | 389 data_buf = memdup_user(buf, n_bytes); vfd_write()
|
H A D | lirc_sir.c | 250 tx_buf = memdup_user(buf, n); lirc_write()
|
H A D | lirc_imon.c | 411 data_buf = memdup_user(buf, n_bytes); vfd_write()
|
H A D | lirc_serial.c | 899 wbuf = memdup_user(buf, n); lirc_write()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_ioctl32.c | 424 ops = memdup_user(compat_ptr(am_hreq.ops), size); xfs_compat_attrmulti_by_handle()
|
H A D | xfs_ioctl.c | 491 kbuf = memdup_user(ubuf, len); xfs_attrmulti_attr_set() 539 ops = memdup_user(am_hreq.ops, size); xfs_attrmulti_by_handle()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | rtl871x_ioctl_linux.c | 959 ext = memdup_user(dwrq->pointer, len); r871x_wx_set_priv() 1913 pparmbuf = memdup_user(p->pointer, len); r871x_mp_ioctl_hdl() 2180 param = memdup_user(p->pointer, p->length); wpa_supplicant_ioctl()
|
/linux-4.1.27/drivers/isdn/pcbit/ |
H A D | drv.c | 414 cbuf = memdup_user(buf, len); pcbit_writecmd()
|
/linux-4.1.27/drivers/input/misc/ |
H A D | uinput.c | 394 user_dev = memdup_user(buffer, sizeof(struct uinput_user_dev)); uinput_setup_device()
|
/linux-4.1.27/drivers/char/ |
H A D | applicom.c | 707 adgl = memdup_user(argp, sizeof(struct st_ram_io)); ac_ioctl()
|
/linux-4.1.27/fs/autofs4/ |
H A D | dev-ioctl.c | 109 res = memdup_user(in, tmp.size); copy_dev_ioctl()
|
/linux-4.1.27/net/can/ |
H A D | raw.c | 506 filter = memdup_user(optval, optlen); raw_setsockopt()
|
/linux-4.1.27/sound/pci/emu10k1/ |
H A D | emufx.c | 2537 icode = memdup_user(argp, sizeof(*icode)); snd_emu10k1_fx8010_ioctl() 2544 icode = memdup_user(argp, sizeof(*icode)); snd_emu10k1_fx8010_ioctl() 2555 ipcm = memdup_user(argp, sizeof(*ipcm)); snd_emu10k1_fx8010_ioctl() 2562 ipcm = memdup_user(argp, sizeof(*ipcm)); snd_emu10k1_fx8010_ioctl()
|
/linux-4.1.27/drivers/block/ |
H A D | cpqarray.c | 1257 p = memdup_user(io->sg[0].addr, io->sg[0].size); ida_ctlr_ioctl() 1292 p = memdup_user(io->sg[0].addr, io->sg[0].size); ida_ctlr_ioctl()
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | x86.c | 1944 page = memdup_user(blob_addr + (page_num * PAGE_SIZE), PAGE_SIZE); xen_hvm_config() 2733 entries = memdup_user(user_msrs->entries, size); msr_io() 3397 u.lapic = memdup_user(argp, sizeof(*u.lapic)); kvm_arch_vcpu_ioctl() 3565 u.xsave = memdup_user(argp, sizeof(*u.xsave)); kvm_arch_vcpu_ioctl() 3588 u.xcrs = memdup_user(argp, sizeof(*u.xcrs)); kvm_arch_vcpu_ioctl() 3953 chip = memdup_user(argp, sizeof(*chip)); kvm_arch_vm_ioctl() 3977 chip = memdup_user(argp, sizeof(*chip)); kvm_arch_vm_ioctl()
|
/linux-4.1.27/virt/kvm/ |
H A D | kvm_main.c | 2156 kvm_regs = memdup_user(argp, sizeof(*kvm_regs)); kvm_vcpu_ioctl() 2180 kvm_sregs = memdup_user(argp, sizeof(*kvm_sregs)); kvm_vcpu_ioctl() 2272 fpu = memdup_user(argp, sizeof(*fpu)); kvm_vcpu_ioctl()
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | ucm.c | 698 data = memdup_user((void __user *)(unsigned long)src, len); ib_ucm_alloc_data()
|
H A D | ucma.c | 1190 optval = memdup_user((void __user *) (unsigned long) cmd.optval, ucma_set_option()
|
/linux-4.1.27/drivers/net/wan/ |
H A D | sdla.c | 1221 temp = memdup_user(mem.data, mem.len); sdla_xfer()
|
H A D | farsync.c | 2033 buf = memdup_user(ifr->ifr_data + sizeof(struct fstioc_write), fst_ioctl()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
H A D | vivid-vid-out.c | 926 new_bitmap = memdup_user(win->bitmap, bitmap_size); vidioc_s_fmt_vid_out_overlay()
|
/linux-4.1.27/drivers/staging/i2o/ |
H A D | i2o_config.c | 197 ops = memdup_user(kcmd.opbuf, kcmd.oplen); i2o_cfg_parms()
|
/linux-4.1.27/drivers/vfio/pci/ |
H A D | vfio_pci.c | 593 data = memdup_user((void __user *)(arg + minsz), vfio_pci_ioctl()
|
/linux-4.1.27/drivers/media/dvb-core/ |
H A D | dvb_demux.c | 1161 p = memdup_user(buf, count); dvbdmx_write()
|
/linux-4.1.27/net/bluetooth/hidp/ |
H A D | core.c | 754 session->rd_data = memdup_user(req->rd_data, req->rd_size); hidp_setup_hid()
|
/linux-4.1.27/net/dccp/ |
H A D | proto.c | 476 val = memdup_user(optval, optlen); dccp_setsockopt_ccid()
|
/linux-4.1.27/sound/isa/sb/ |
H A D | sb16_csp.c | 692 kbuf = memdup_user(buf, size); snd_sb_csp_load_user()
|
/linux-4.1.27/drivers/message/fusion/ |
H A D | mptctl.c | 1264 karg = memdup_user(uarg, data_size); mptctl_getiocinfo() 1266 printk(KERN_ERR MYNAM "%s@%d::mpt_ioctl_iocinfo() - memdup_user returned error [%ld]\n", mptctl_getiocinfo()
|
/linux-4.1.27/fs/nilfs2/ |
H A D | ioctl.c | 915 kbufs[4] = memdup_user((void __user *)(unsigned long)argv[4].v_base, nilfs_ioctl_clean_segments()
|
/linux-4.1.27/drivers/staging/comedi/ |
H A D | comedi_fops.c | 1601 chanlist = memdup_user(user_chanlist, __comedi_get_user_chanlist()
|
/linux-4.1.27/drivers/usb/gadget/legacy/ |
H A D | inode.c | 1785 kbuf = memdup_user(buf, length); dev_config()
|
/linux-4.1.27/drivers/video/fbdev/via/ |
H A D | viafbdev.c | 591 viafb_gamma_table = memdup_user(argp, 256 * sizeof(u32)); viafb_ioctl()
|
/linux-4.1.27/drivers/isdn/i4l/ |
H A D | isdn_ppp.c | 463 code = memdup_user(uprog.filter, len); get_filter()
|
/linux-4.1.27/drivers/net/ppp/ |
H A D | ppp_generic.c | 555 code = memdup_user(uprog.filter, len); get_filter()
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_core.c | 2589 ipw = memdup_user(p->pointer, p->length); rtl8192_ioctl()
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
H A D | rtllib_softmac.c | 3611 param = memdup_user(p->pointer, p->length); rtllib_wpa_supplicant_ioctl()
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_softmac.c | 3164 param = memdup_user(p->pointer, p->length); ieee80211_wpa_supplicant_ioctl()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_main.c | 2333 fw_data = memdup_user(useraddr + sizeof(t), t.len);
|
/linux-4.1.27/net/sctp/ |
H A D | socket.c | 3438 hmacs = memdup_user(optval, optlen); sctp_setsockopt_hmac_ident() 3476 authkey = memdup_user(optval, optlen); sctp_setsockopt_auth_key()
|
/linux-4.1.27/drivers/s390/net/ |
H A D | qeth_core_main.c | 4640 ureq = memdup_user(udata, req_len + sizeof(struct qeth_snmp_ureq_hdr)); qeth_snmp_command()
|
/linux-4.1.27/drivers/staging/rtl8192u/ |
H A D | r8192U_core.c | 3468 ipw = memdup_user(p->pointer, p->length); rtl8192_ioctl()
|
/linux-4.1.27/drivers/tty/vt/ |
H A D | vt.c | 4115 font.data = memdup_user(op->data, size); con_font_set()
|