Home
last modified time | relevance | path

Searched refs:memdup_user (Results 1 – 25 of 120) sorted by relevance

12345

/openbmc/linux/drivers/virt/acrn/
H A Dhsm.c134 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 Dmemdup_user.cocci2 /// 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 Dkeyctl_pkey.c244 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 Dioctl.c3206 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 Dstring.h15 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 Dfile.c35 data = memdup_user(userbuf + sizeof(attributes), datasize); in efivarfs_file_write()
/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Ddebug.c216 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 Defi_test.c73 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 Dauthentication.c224 ims_cert = memdup_user(buf, size); in cap_ioctl()
240 authenticate = memdup_user(buf, size); in cap_ioctl()
/openbmc/linux/mm/
H A Dutil.c193 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 Dwavefront_fx.c194 page_data = memdup_user((unsigned char __user *) in snd_wavefront_fx_ioctl()
/openbmc/linux/sound/usb/usx2y/
H A DusX2Yhwdep.c188 buf = memdup_user(dsp->image, dsp->length); in snd_usx2y_hwdep_dsp_load()
/openbmc/linux/drivers/ptp/
H A Dptp_chardev.c302 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 Dhostaudio_kern.c108 kbuf = memdup_user(buffer, count); in hostaudio_write()
/openbmc/linux/drivers/i2c/
H A Di2c-dev.c169 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 Dvirtgpu_ioctl.c510 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 Dfireworks_hwdep.c169 buf = memdup_user(data, count); in hwdep_write()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-prd.c240 msg = memdup_user(buf, size); in opal_prd_write()
/openbmc/linux/drivers/hv/
H A Dhv_utils_transport.c83 inmsg = memdup_user(buf, count); in hvt_op_write()
/openbmc/linux/drivers/misc/vmw_vmci/
H A Dvmci_host.c389 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 Dnvram.c271 tmp = memdup_user(buf, count); in nvram_misc_write()
/openbmc/linux/fs/ecryptfs/
H A Dmiscdev.c398 data = memdup_user(buf, count); in ecryptfs_miscdev_write()
/openbmc/linux/block/
H A Dbsg-lib.c57 job->request = memdup_user(uptr64(hdr->request), hdr->request_len); in bsg_transport_sg_io_fn()
/openbmc/linux/drivers/dma-buf/
H A Dudmabuf.c324 list = memdup_user((void __user *)(arg + sizeof(head)), lsize); in udmabuf_ioctl_create_list()
/openbmc/linux/drivers/scsi/qedf/
H A Dqedf_debugfs.c225 kern_buf = memdup_user(buffer, 6); in qedf_dbg_stop_io_on_error_cmd_write()

12345