/linux-6.12.1/drivers/virt/acrn/ |
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 …]
|
/linux-6.12.1/scripts/coccinelle/api/ |
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")
|
/linux-6.12.1/security/keys/ |
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()
|
/linux-6.12.1/fs/btrfs/ |
D | ioctl.c | 1156 vol_args = memdup_user(arg, sizeof(*vol_args)); in btrfs_ioctl_resize() 1361 vol_args = memdup_user(arg, sizeof(*vol_args)); in btrfs_ioctl_snap_create() 1388 vol_args = memdup_user(arg, sizeof(*vol_args)); in btrfs_ioctl_snap_create_v2() 1410 inherit = memdup_user(vol_args->qgroup_inherit, vol_args->size); in btrfs_ioctl_snap_create_v2() 2083 args = memdup_user(argp, sizeof(*args)); in btrfs_ioctl_ino_lookup() 2134 args = memdup_user(argp, sizeof(*args)); in btrfs_ioctl_ino_lookup_user() 2297 rootrefs = memdup_user(argp, sizeof(*rootrefs)); in btrfs_ioctl_get_subvol_rootref() 2398 vol_args2 = memdup_user(arg, sizeof(*vol_args2)); in btrfs_ioctl_snap_destroy() 2494 vol_args = memdup_user(arg, sizeof(*vol_args)); in btrfs_ioctl_snap_destroy() 2706 vol_args = memdup_user(arg, sizeof(*vol_args)); in btrfs_ioctl_add_dev() [all …]
|
/linux-6.12.1/drivers/net/wireless/silabs/wfx/ |
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()
|
/linux-6.12.1/fs/efivarfs/ |
D | file.c | 35 data = memdup_user(userbuf + sizeof(attributes), datasize); in efivarfs_file_write()
|
/linux-6.12.1/drivers/firmware/efi/test/ |
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()
|
/linux-6.12.1/drivers/staging/greybus/ |
D | authentication.c | 227 ims_cert = memdup_user(buf, size); in cap_ioctl() 243 authenticate = memdup_user(buf, size); in cap_ioctl()
|
/linux-6.12.1/include/linux/ |
D | string.h | 17 extern void *memdup_user(const void __user *, size_t) __realloc_size(2); 38 return memdup_user(src, nbytes); in memdup_array_user()
|
/linux-6.12.1/mm/ |
D | util.c | 222 void *memdup_user(const void __user *src, size_t len) in memdup_user() function 237 EXPORT_SYMBOL(memdup_user); 285 p = memdup_user(s, length); in strndup_user()
|
/linux-6.12.1/sound/usb/usx2y/ |
D | usX2Yhwdep.c | 180 buf = memdup_user(dsp->image, dsp->length); in snd_usx2y_hwdep_dsp_load()
|
/linux-6.12.1/drivers/i2c/ |
D | i2c-dev.c | 177 tmp = memdup_user(buf, count); in i2cdev_write() 268 msgs[i].buf = memdup_user(data_ptrs[i], msgs[i].len); in i2cdev_ioctl_rdwr()
|
/linux-6.12.1/drivers/gpu/drm/virtio/ |
D | virtgpu_ioctl.c | 520 buf = memdup_user(u64_to_user_ptr(rc_blob->cmd), in virtio_gpu_resource_create_blob_ioctl() 596 ctx_set_params = memdup_user(u64_to_user_ptr(args->ctx_set_params), in virtio_gpu_context_init_ioctl()
|
/linux-6.12.1/drivers/ptp/ |
D | ptp_chardev.c | 356 extoff = memdup_user((void __user *)arg, sizeof(*extoff)); in ptp_ioctl() 388 sysoff = memdup_user((void __user *)arg, sizeof(*sysoff)); in ptp_ioctl()
|
/linux-6.12.1/arch/um/drivers/ |
D | hostaudio_kern.c | 108 kbuf = memdup_user(buffer, count); in hostaudio_write()
|
/linux-6.12.1/sound/firewire/fireworks/ |
D | fireworks_hwdep.c | 169 buf = memdup_user(data, count); in hwdep_write()
|
/linux-6.12.1/drivers/gpio/ |
D | gpio-sloppy-logic-analyzer.c | 206 buf = memdup_user(ubuf, count); in trigger_write()
|
/linux-6.12.1/drivers/misc/vmw_vmci/ |
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()
|
/linux-6.12.1/arch/powerpc/platforms/powernv/ |
D | opal-prd.c | 242 msg = memdup_user(buf, size); in opal_prd_write()
|
/linux-6.12.1/drivers/hv/ |
D | hv_utils_transport.c | 83 inmsg = memdup_user(buf, count); in hvt_op_write()
|
/linux-6.12.1/security/ipe/ |
D | policy_fs.c | 298 copy = memdup_user(data, len); in update_policy()
|
/linux-6.12.1/fs/xfs/ |
D | xfs_handle.c | 571 args.value = memdup_user(ubuf, len); in xfs_attrmulti_attr_set() 657 ops = memdup_user(am_hreq.ops, size); in xfs_attrmulti_by_handle()
|
/linux-6.12.1/drivers/s390/crypto/ |
D | pkey_api.c | 80 return memdup_user(ukey, keylen); in _copy_key_from_user() 88 return memdup_user(uapqns, nr_apqns * sizeof(struct pkey_apqn)); in _copy_apqns_from_user()
|
/linux-6.12.1/drivers/char/ |
D | nvram.c | 271 tmp = memdup_user(buf, count); in nvram_misc_write()
|
/linux-6.12.1/fs/ecryptfs/ |
D | miscdev.c | 398 data = memdup_user(buf, count); in ecryptfs_miscdev_write()
|