Home
last modified time | relevance | path

Searched refs:vmemdup_user (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/scripts/coccinelle/api/
Dmemdup_user.cocci20 filter = frozenset(['memdup_user', 'vmemdup_user'])
57 + to = vmemdup_user(from,size);
113 coccilib.org.print_todo(p[0], "WARNING opportunity for vmemdup_user")
119 coccilib.report.print_report(p[0], "WARNING opportunity for vmemdup_user")
/linux-6.6.21/include/linux/
Dstring.h16 extern void *vmemdup_user(const void __user *, size_t);
54 return vmemdup_user(src, nbytes); in vmemdup_array_user()
/linux-6.6.21/drivers/s390/cio/
Dcio_inject.c98 buffer = vmemdup_user(buf, lbuf); in crw_inject_write()
/linux-6.6.21/mm/
Dutil.c219 void *vmemdup_user(const void __user *src, size_t len) in vmemdup_user() function
234 EXPORT_SYMBOL(vmemdup_user);
/linux-6.6.21/drivers/gpu/drm/nouveau/
Dnouveau_drv.h197 return vmemdup_user(userptr, bytes); in u_memcpya()
/linux-6.6.21/fs/coda/
Dpsdev.c126 dcbuf = vmemdup_user(buf, nbytes); in coda_psdev_write()
/linux-6.6.21/fs/pstore/
Dplatform.c443 record->buf = vmemdup_user(buf, record->size); in pstore_write_user_compat()
/linux-6.6.21/drivers/gpu/drm/virtio/
Dvirtgpu_submit.c416 submit->buf = vmemdup_user(u64_to_user_ptr(exbuf->command), exbuf->size); in virtio_gpu_init_submit()
/linux-6.6.21/drivers/gpu/drm/tegra/
Dsubmit.c172 data = vmemdup_user(from, copy_len); in alloc_copy_user_array()
/linux-6.6.21/Documentation/core-api/
Dkernel-api.rst50 vmemdup_user strndup_user memdup_user_nul
/linux-6.6.21/drivers/tty/vt/
Dconsolemap.c647 unilist = vmemdup_user(list, array_size(sizeof(*unilist), ct)); in con_set_unimap()
/linux-6.6.21/arch/x86/kvm/
Dcpuid.c470 e = vmemdup_user(entries, array_size(sizeof(*e), cpuid->nent)); in kvm_vcpu_ioctl_set_cpuid()
514 e2 = vmemdup_user(entries, array_size(sizeof(*e2), cpuid->nent)); in kvm_vcpu_ioctl_set_cpuid2()
/linux-6.6.21/drivers/cxl/core/
Dmbox.c349 mbox->payload_in = vmemdup_user(u64_to_user_ptr(in_payload), in cxl_mbox_cmd_ctor()
/linux-6.6.21/fs/
Dxattr.c613 ctx->kvalue = vmemdup_user(ctx->cvalue, ctx->size); in setxattr_copy()
/linux-6.6.21/sound/core/
Dcontrol.c1587 container = vmemdup_user(buf, size); in replace_user_tlv()
1664 names = vmemdup_user((const void __user *)user_ptrval, buf_len); in snd_ctl_elem_init_enum_names()
/linux-6.6.21/drivers/vhost/
Dvdpa.c366 buf = vmemdup_user(c->buf, config.len); in vhost_vdpa_set_config()
/linux-6.6.21/drivers/vdpa/vdpa_user/
Dvduse_dev.c1875 buf = vmemdup_user(argp + size, config.config_size); in vduse_ioctl()
/linux-6.6.21/kernel/bpf/
Dsyscall.c1409 return vmemdup_user(ukey, key_size); in __bpf_copy_key()
/linux-6.6.21/virt/kvm/
Dkvm_main.c4935 entries = vmemdup_user(urouting->entries, in kvm_vm_ioctl()