Searched refs:vmemdup_user (Results 1 – 19 of 19) sorted by relevance
/linux-6.6.21/scripts/coccinelle/api/ |
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")
|
/linux-6.6.21/include/linux/ |
D | string.h | 16 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/ |
D | cio_inject.c | 98 buffer = vmemdup_user(buf, lbuf); in crw_inject_write()
|
/linux-6.6.21/mm/ |
D | util.c | 219 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/ |
D | nouveau_drv.h | 197 return vmemdup_user(userptr, bytes); in u_memcpya()
|
/linux-6.6.21/fs/coda/ |
D | psdev.c | 126 dcbuf = vmemdup_user(buf, nbytes); in coda_psdev_write()
|
/linux-6.6.21/fs/pstore/ |
D | platform.c | 443 record->buf = vmemdup_user(buf, record->size); in pstore_write_user_compat()
|
/linux-6.6.21/drivers/gpu/drm/virtio/ |
D | virtgpu_submit.c | 416 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/ |
D | submit.c | 172 data = vmemdup_user(from, copy_len); in alloc_copy_user_array()
|
/linux-6.6.21/Documentation/core-api/ |
D | kernel-api.rst | 50 vmemdup_user strndup_user memdup_user_nul
|
/linux-6.6.21/drivers/tty/vt/ |
D | consolemap.c | 647 unilist = vmemdup_user(list, array_size(sizeof(*unilist), ct)); in con_set_unimap()
|
/linux-6.6.21/arch/x86/kvm/ |
D | cpuid.c | 470 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/ |
D | mbox.c | 349 mbox->payload_in = vmemdup_user(u64_to_user_ptr(in_payload), in cxl_mbox_cmd_ctor()
|
/linux-6.6.21/fs/ |
D | xattr.c | 613 ctx->kvalue = vmemdup_user(ctx->cvalue, ctx->size); in setxattr_copy()
|
/linux-6.6.21/sound/core/ |
D | control.c | 1587 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/ |
D | vdpa.c | 366 buf = vmemdup_user(c->buf, config.len); in vhost_vdpa_set_config()
|
/linux-6.6.21/drivers/vdpa/vdpa_user/ |
D | vduse_dev.c | 1875 buf = vmemdup_user(argp + size, config.config_size); in vduse_ioctl()
|
/linux-6.6.21/kernel/bpf/ |
D | syscall.c | 1409 return vmemdup_user(ukey, key_size); in __bpf_copy_key()
|
/linux-6.6.21/virt/kvm/ |
D | kvm_main.c | 4935 entries = vmemdup_user(urouting->entries, in kvm_vm_ioctl()
|