/openbmc/linux/drivers/virt/acrn/ |
H A D | hsm.c | 134 vm_param = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl() 181 cpu_regs = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl() 233 mmiodev = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl() 245 mmiodev = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl() 257 pcidev = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl() 269 pcidev = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl() 281 vdev = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl() 293 vdev = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl() 304 irq_info = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl() 316 irq_info = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl() [all …]
|
/openbmc/linux/scripts/coccinelle/api/ |
H A D | memdup_user.cocci | 2 /// Use memdup_user rather than duplicating its implementation 20 filter = frozenset(['memdup_user', 'vmemdup_user']) 34 + to = memdup_user(from,size); 101 coccilib.org.print_todo(p[0], "WARNING opportunity for memdup_user") 107 coccilib.report.print_report(p[0], "WARNING opportunity for memdup_user")
|
/openbmc/linux/security/keys/ |
H A D | keyctl_pkey.c | 244 in = memdup_user(_in, params.in_len); in keyctl_pkey_e_d_s() 306 in = memdup_user(_in, params.in_len); in keyctl_pkey_verify() 312 in2 = memdup_user(_in2, params.in2_len); in keyctl_pkey_verify()
|
/openbmc/linux/fs/btrfs/ |
H A D | ioctl.c | 3206 sa = memdup_user(arg, sizeof(*sa)); in btrfs_ioctl_scrub() 3264 sa = memdup_user(arg, sizeof(*sa)); in btrfs_ioctl_scrub_progress() 3283 sa = memdup_user(arg, sizeof(*sa)); in btrfs_ioctl_get_dev_stats() 3315 p = memdup_user(arg, sizeof(*p)); in btrfs_ioctl_dev_replace() 3371 ipa = memdup_user(arg, sizeof(*ipa)); in btrfs_ioctl_ino_to_path() 3426 loi = memdup_user(arg, sizeof(*loi)); in btrfs_ioctl_logical_to_ino() 3723 sa = memdup_user(arg, sizeof(*sa)); in btrfs_ioctl_quota_ctl() 3767 sa = memdup_user(arg, sizeof(*sa)); in btrfs_ioctl_qgroup_assign() 3819 sa = memdup_user(arg, sizeof(*sa)); in btrfs_ioctl_qgroup_create() 3875 sa = memdup_user(arg, sizeof(*sa)); in btrfs_ioctl_qgroup_limit() [all …]
|
/openbmc/linux/include/linux/ |
H A D | string.h | 15 extern void *memdup_user(const void __user *, size_t); 35 return memdup_user(src, nbytes); in memdup_array_user()
|
/openbmc/linux/fs/efivarfs/ |
H A D | file.c | 35 data = memdup_user(userbuf + sizeof(attributes), datasize); in efivarfs_file_write()
|
/openbmc/linux/drivers/net/wireless/silabs/wfx/ |
H A D | debug.c | 216 buf = memdup_user(user_buf, count); in wfx_send_pds_write() 258 request = memdup_user(user_buf, count); in wfx_send_hif_msg_write()
|
/openbmc/linux/drivers/firmware/efi/test/ |
H A D | efi_test.c | 73 buf = memdup_user(src, len); in copy_ucs2_from_user_len() 253 data = memdup_user(setvariable.data, setvariable.data_size); in efi_runtime_set_variable() 546 data = memdup_user((void *)resetsystem.data, in efi_runtime_reset_system()
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | authentication.c | 224 ims_cert = memdup_user(buf, size); in cap_ioctl() 240 authenticate = memdup_user(buf, size); in cap_ioctl()
|
/openbmc/linux/mm/ |
H A D | util.c | 193 void *memdup_user(const void __user *src, size_t len) in memdup_user() function 208 EXPORT_SYMBOL(memdup_user); 256 p = memdup_user(s, length); in strndup_user()
|
/openbmc/linux/sound/isa/wavefront/ |
H A D | wavefront_fx.c | 194 page_data = memdup_user((unsigned char __user *) in snd_wavefront_fx_ioctl()
|
/openbmc/linux/sound/usb/usx2y/ |
H A D | usX2Yhwdep.c | 188 buf = memdup_user(dsp->image, dsp->length); in snd_usx2y_hwdep_dsp_load()
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_chardev.c | 302 extoff = memdup_user((void __user *)arg, sizeof(*extoff)); in ptp_ioctl() 330 sysoff = memdup_user((void __user *)arg, sizeof(*sysoff)); in ptp_ioctl()
|
/openbmc/linux/arch/um/drivers/ |
H A D | hostaudio_kern.c | 108 kbuf = memdup_user(buffer, count); in hostaudio_write()
|
/openbmc/linux/drivers/i2c/ |
H A D | i2c-dev.c | 169 tmp = memdup_user(buf, count); in i2cdev_write() 256 msgs[i].buf = memdup_user(data_ptrs[i], msgs[i].len); in i2cdev_ioctl_rdwr()
|
/openbmc/linux/drivers/gpu/drm/virtio/ |
H A D | virtgpu_ioctl.c | 510 buf = memdup_user(u64_to_user_ptr(rc_blob->cmd), in virtio_gpu_resource_create_blob_ioctl() 586 ctx_set_params = memdup_user(u64_to_user_ptr(args->ctx_set_params), in virtio_gpu_context_init_ioctl()
|
/openbmc/linux/sound/firewire/fireworks/ |
H A D | fireworks_hwdep.c | 169 buf = memdup_user(data, count); in hwdep_write()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-prd.c | 240 msg = memdup_user(buf, size); in opal_prd_write()
|
/openbmc/linux/drivers/hv/ |
H A D | hv_utils_transport.c | 83 inmsg = memdup_user(buf, count); in hvt_op_write()
|
/openbmc/linux/drivers/misc/vmw_vmci/ |
H A D | vmci_host.c | 389 dg = memdup_user((void __user *)(uintptr_t)send_info.addr, in vmci_host_do_send_datagram() 758 cpt_buf = memdup_user((void __user *)(uintptr_t)set_info.cpt_buf, in vmci_host_do_ctx_set_cpt_state()
|
/openbmc/linux/drivers/char/ |
H A D | nvram.c | 271 tmp = memdup_user(buf, count); in nvram_misc_write()
|
/openbmc/linux/fs/ecryptfs/ |
H A D | miscdev.c | 398 data = memdup_user(buf, count); in ecryptfs_miscdev_write()
|
/openbmc/linux/block/ |
H A D | bsg-lib.c | 57 job->request = memdup_user(uptr64(hdr->request), hdr->request_len); in bsg_transport_sg_io_fn()
|
/openbmc/linux/drivers/dma-buf/ |
H A D | udmabuf.c | 324 list = memdup_user((void __user *)(arg + sizeof(head)), lsize); in udmabuf_ioctl_create_list()
|
/openbmc/linux/drivers/scsi/qedf/ |
H A D | qedf_debugfs.c | 225 kern_buf = memdup_user(buffer, 6); in qedf_dbg_stop_io_on_error_cmd_write()
|