Home
last modified time | relevance | path

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

123456

/linux-6.1.9/drivers/virt/acrn/
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 …]
/linux-6.1.9/scripts/coccinelle/api/
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")
/linux-6.1.9/security/keys/
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()
/linux-6.1.9/fs/btrfs/
Dioctl.c2013 vol_args = memdup_user(arg, sizeof(*vol_args)); in btrfs_ioctl_resize()
2206 vol_args = memdup_user(arg, sizeof(*vol_args)); in btrfs_ioctl_snap_create()
2230 vol_args = memdup_user(arg, sizeof(*vol_args)); in btrfs_ioctl_snap_create_v2()
2250 inherit = memdup_user(vol_args->qgroup_inherit, vol_args->size); in btrfs_ioctl_snap_create_v2()
2928 args = memdup_user(argp, sizeof(*args)); in btrfs_ioctl_ino_lookup()
2979 args = memdup_user(argp, sizeof(*args)); in btrfs_ioctl_ino_lookup_user()
3142 rootrefs = memdup_user(argp, sizeof(*rootrefs)); in btrfs_ioctl_get_subvol_rootref()
3243 vol_args2 = memdup_user(arg, sizeof(*vol_args2)); in btrfs_ioctl_snap_destroy()
3337 vol_args = memdup_user(arg, sizeof(*vol_args)); in btrfs_ioctl_snap_destroy()
3536 vol_args = memdup_user(arg, sizeof(*vol_args)); in btrfs_ioctl_add_dev()
[all …]
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
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()
/linux-6.1.9/fs/efivarfs/
Dfile.c35 data = memdup_user(userbuf + sizeof(attributes), datasize); in efivarfs_file_write()
/linux-6.1.9/drivers/firmware/efi/test/
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()
/linux-6.1.9/drivers/staging/greybus/
Dauthentication.c224 ims_cert = memdup_user(buf, size); in cap_ioctl()
240 authenticate = memdup_user(buf, size); in cap_ioctl()
/linux-6.1.9/drivers/i2c/
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()
453 rdwr_pa = memdup_user(rdwr_arg.msgs, in i2cdev_ioctl()
/linux-6.1.9/drivers/gpu/drm/r128/
Dr128_state.c911 buffer = memdup_user(depth->buffer, buffer_size); in r128_cce_dispatch_write_span()
917 mask = memdup_user(depth->mask, mask_size); in r128_cce_dispatch_write_span()
992 x = memdup_user(depth->x, xbuf_size); in r128_cce_dispatch_write_pixels()
995 y = memdup_user(depth->y, ybuf_size); in r128_cce_dispatch_write_pixels()
1001 buffer = memdup_user(depth->buffer, buffer_size); in r128_cce_dispatch_write_pixels()
1010 mask = memdup_user(depth->mask, mask_size); in r128_cce_dispatch_write_pixels()
/linux-6.1.9/mm/
Dutil.c170 void *memdup_user(const void __user *src, size_t len) in memdup_user() function
185 EXPORT_SYMBOL(memdup_user);
233 p = memdup_user(s, length); in strndup_user()
/linux-6.1.9/drivers/scsi/bfa/
Dbfad_debugfs.c253 kern_buf = memdup_user(buf, nbytes); in bfad_debugfs_write_regrd()
320 kern_buf = memdup_user(buf, nbytes); in bfad_debugfs_write_regwr()
/linux-6.1.9/drivers/scsi/qedf/
Dqedf_debugfs.c165 kern_buf = memdup_user(buffer, count); in qedf_dbg_debug_cmd_write()
218 kern_buf = memdup_user(buffer, 6); in qedf_dbg_stop_io_on_error_cmd_write()
/linux-6.1.9/sound/isa/wavefront/
Dwavefront_fx.c194 page_data = memdup_user((unsigned char __user *) in snd_wavefront_fx_ioctl()
/linux-6.1.9/kernel/
Dkexec.c243 ksegments = memdup_user(segments, nr_segments * sizeof(ksegments[0])); in SYSCALL_DEFINE4()
/linux-6.1.9/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c315 kern_buf = memdup_user(buf, nbytes); in bnad_debugfs_write_regrd()
375 kern_buf = memdup_user(buf, nbytes); in bnad_debugfs_write_regwr()
/linux-6.1.9/sound/usb/usx2y/
DusX2Yhwdep.c188 buf = memdup_user(dsp->image, dsp->length); in snd_usx2y_hwdep_dsp_load()
/linux-6.1.9/drivers/ptp/
Dptp_chardev.c298 extoff = memdup_user((void __user *)arg, sizeof(*extoff)); in ptp_ioctl()
326 sysoff = memdup_user((void __user *)arg, sizeof(*sysoff)); in ptp_ioctl()
/linux-6.1.9/arch/um/drivers/
Dhostaudio_kern.c108 kbuf = memdup_user(buffer, count); in hostaudio_write()
/linux-6.1.9/include/linux/
Dstring.h13 extern void *memdup_user(const void __user *, size_t);
/linux-6.1.9/sound/firewire/fireworks/
Dfireworks_hwdep.c169 buf = memdup_user(data, count); in hwdep_write()
/linux-6.1.9/drivers/hv/
Dhv_utils_transport.c83 inmsg = memdup_user(buf, count); in hvt_op_write()
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dopal-prd.c233 msg = memdup_user(buf, size); in opal_prd_write()
/linux-6.1.9/drivers/misc/vmw_vmci/
Dvmci_host.c381 dg = memdup_user((void __user *)(uintptr_t)send_info.addr, in vmci_host_do_send_datagram()
750 cpt_buf = memdup_user((void __user *)(uintptr_t)set_info.cpt_buf, in vmci_host_do_ctx_set_cpt_state()
/linux-6.1.9/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c695 buf = memdup_user(u64_to_user_ptr(rc_blob->cmd), in virtio_gpu_resource_create_blob_ioctl()
771 ctx_set_params = memdup_user(u64_to_user_ptr(args->ctx_set_params), in virtio_gpu_context_init_ioctl()

123456