Searched refs:vmemdup_user (Results 1 – 18 of 18) sorted by relevance
/openbmc/linux/scripts/coccinelle/api/ |
H A D | memdup_user.cocci | 20 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 D | string.h | 16 extern void *vmemdup_user(const void __user *, size_t); 54 return vmemdup_user(src, nbytes); in vmemdup_array_user()
|
/openbmc/linux/mm/ |
H A D | util.c | 219 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 D | nouveau_drv.h | 197 return vmemdup_user(userptr, bytes); in u_memcpya()
|
/openbmc/linux/fs/coda/ |
H A D | psdev.c | 126 dcbuf = vmemdup_user(buf, nbytes); in coda_psdev_write()
|
/openbmc/linux/fs/pstore/ |
H A D | platform.c | 443 record->buf = vmemdup_user(buf, record->size); in pstore_write_user_compat()
|
/openbmc/linux/drivers/gpu/drm/virtio/ |
H A D | virtgpu_submit.c | 416 submit->buf = vmemdup_user(u64_to_user_ptr(exbuf->command), exbuf->size); in virtio_gpu_init_submit()
|
/openbmc/linux/Documentation/core-api/ |
H A D | kernel-api.rst | 50 vmemdup_user strndup_user memdup_user_nul
|
/openbmc/linux/drivers/tty/vt/ |
H A D | consolemap.c | 647 unilist = vmemdup_user(list, array_size(sizeof(*unilist), ct)); in con_set_unimap()
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | submit.c | 172 data = vmemdup_user(from, copy_len); in alloc_copy_user_array()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | cpuid.c | 471 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 D | mbox.c | 349 mbox->payload_in = vmemdup_user(u64_to_user_ptr(in_payload), in cxl_mbox_cmd_ctor()
|
/openbmc/linux/fs/ |
H A D | xattr.c | 613 ctx->kvalue = vmemdup_user(ctx->cvalue, ctx->size); in setxattr_copy()
|
/openbmc/linux/sound/core/ |
H A D | control.c | 1591 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 D | vdpa.c | 364 buf = vmemdup_user(c->buf, config.len); in vhost_vdpa_set_config()
|
/openbmc/linux/drivers/vdpa/vdpa_user/ |
H A D | vduse_dev.c | 1881 buf = vmemdup_user(argp + size, config.config_size); in vduse_ioctl()
|
/openbmc/linux/virt/kvm/ |
H A D | kvm_main.c | 4936 entries = vmemdup_user(urouting->entries, in kvm_vm_ioctl()
|
/openbmc/linux/kernel/bpf/ |
H A D | syscall.c | 1412 return vmemdup_user(ukey, key_size); in __bpf_copy_key()
|