Home
last modified time | relevance | path

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

/openbmc/linux/scripts/coccinelle/api/
H A 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")
/openbmc/linux/include/linux/
H A Dstring.h16 extern void *vmemdup_user(const void __user *, size_t);
54 return vmemdup_user(src, nbytes); in vmemdup_array_user()
/openbmc/linux/mm/
H A Dutil.c219 void *vmemdup_user(const void __user *src, size_t len) in vmemdup_user() function
234 EXPORT_SYMBOL(vmemdup_user);
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_drv.h197 return vmemdup_user(userptr, bytes); in u_memcpya()
/openbmc/linux/fs/coda/
H A Dpsdev.c126 dcbuf = vmemdup_user(buf, nbytes); in coda_psdev_write()
/openbmc/linux/fs/pstore/
H A Dplatform.c443 record->buf = vmemdup_user(buf, record->size); in pstore_write_user_compat()
/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_submit.c416 submit->buf = vmemdup_user(u64_to_user_ptr(exbuf->command), exbuf->size); in virtio_gpu_init_submit()
/openbmc/linux/Documentation/core-api/
H A Dkernel-api.rst50 vmemdup_user strndup_user memdup_user_nul
/openbmc/linux/drivers/tty/vt/
H A Dconsolemap.c647 unilist = vmemdup_user(list, array_size(sizeof(*unilist), ct)); in con_set_unimap()
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dsubmit.c172 data = vmemdup_user(from, copy_len); in alloc_copy_user_array()
/openbmc/linux/arch/x86/kvm/
H A Dcpuid.c471 e = vmemdup_user(entries, array_size(sizeof(*e), cpuid->nent)); in kvm_vcpu_ioctl_set_cpuid()
515 e2 = vmemdup_user(entries, array_size(sizeof(*e2), cpuid->nent)); in kvm_vcpu_ioctl_set_cpuid2()
/openbmc/linux/drivers/cxl/core/
H A Dmbox.c349 mbox->payload_in = vmemdup_user(u64_to_user_ptr(in_payload), in cxl_mbox_cmd_ctor()
/openbmc/linux/fs/
H A Dxattr.c613 ctx->kvalue = vmemdup_user(ctx->cvalue, ctx->size); in setxattr_copy()
/openbmc/linux/sound/core/
H A Dcontrol.c1591 container = vmemdup_user(buf, size); in replace_user_tlv()
1668 names = vmemdup_user((const void __user *)user_ptrval, buf_len); in snd_ctl_elem_init_enum_names()
/openbmc/linux/drivers/vhost/
H A Dvdpa.c364 buf = vmemdup_user(c->buf, config.len); in vhost_vdpa_set_config()
/openbmc/linux/drivers/vdpa/vdpa_user/
H A Dvduse_dev.c1881 buf = vmemdup_user(argp + size, config.config_size); in vduse_ioctl()
/openbmc/linux/virt/kvm/
H A Dkvm_main.c4936 entries = vmemdup_user(urouting->entries, in kvm_vm_ioctl()
/openbmc/linux/kernel/bpf/
H A Dsyscall.c1412 return vmemdup_user(ukey, key_size); in __bpf_copy_key()