Searched refs:copy_struct_from_user (Results 1 – 14 of 14) sorted by relevance
/Linux-v6.6/lib/ |
D | test_user_copy.c | 134 ret |= test(copy_struct_from_user(kmem, ksize, umem, usize), in test_copy_struct_from_user() 147 ret |= test(copy_struct_from_user(kmem, ksize, umem, usize), in test_copy_struct_from_user() 157 ret |= test(copy_struct_from_user(kmem, ksize, umem, usize) != -E2BIG, in test_copy_struct_from_user() 169 ret |= test(copy_struct_from_user(kmem, ksize, umem, usize), in test_copy_struct_from_user()
|
/Linux-v6.6/drivers/platform/surface/ |
D | surface_aggregator_cdev.c | 266 ret = copy_struct_from_user(&rqst, sizeof(rqst), r, sizeof(*r)); in ssam_cdev_request() 378 ret = copy_struct_from_user(&desc, sizeof(desc), d, sizeof(*d)); in ssam_cdev_notif_register() 393 ret = copy_struct_from_user(&desc, sizeof(desc), d, sizeof(*d)); in ssam_cdev_notif_unregister() 411 ret = copy_struct_from_user(&desc, sizeof(desc), d, sizeof(*d)); in ssam_cdev_event_enable() 439 ret = copy_struct_from_user(&desc, sizeof(desc), d, sizeof(*d)); in ssam_cdev_event_disable()
|
/Linux-v6.6/security/landlock/ |
D | syscalls.c | 65 return copy_struct_from_user(dst, ksize, src, usize); in copy_min_struct_from_user()
|
/Linux-v6.6/io_uring/ |
D | openclose.c | 102 ret = copy_struct_from_user(&open->how, sizeof(open->how), how, len); in io_openat2_prep()
|
/Linux-v6.6/drivers/platform/x86/amd/ |
D | hsmp.c | 264 if (copy_struct_from_user(&msg, sizeof(msg), arguser, sizeof(struct hsmp_message))) in hsmp_ioctl()
|
/Linux-v6.6/include/linux/ |
D | uaccess.h | 348 copy_struct_from_user(void *dst, size_t ksize, const void __user *src, in copy_struct_from_user() function
|
/Linux-v6.6/drivers/iommu/iommufd/ |
D | main.c | 394 ret = copy_struct_from_user(ucmd.cmd, op->size, ucmd.ubuffer, in iommufd_fops_ioctl()
|
/Linux-v6.6/kernel/trace/ |
D | trace_events_user.c | 2246 ret = copy_struct_from_user(kreg, sizeof(*kreg), ureg, size); in user_reg_get() 2408 ret = copy_struct_from_user(kreg, sizeof(*kreg), ureg, size); in user_unreg_get()
|
/Linux-v6.6/fs/ |
D | open.c | 1468 err = copy_struct_from_user(&tmp, sizeof(tmp), how, usize); in SYSCALL_DEFINE4()
|
D | namespace.c | 4654 err = copy_struct_from_user(&attr, sizeof(attr), uattr, usize); in SYSCALL_DEFINE5()
|
/Linux-v6.6/kernel/ |
D | seccomp.c | 1672 ret = copy_struct_from_user(&addfd, sizeof(addfd), uaddfd, size); in seccomp_notify_addfd()
|
D | fork.c | 3079 err = copy_struct_from_user(&args, sizeof(args), uargs, usize); in copy_clone_args_from_user()
|
/Linux-v6.6/kernel/sched/ |
D | core.c | 8010 ret = copy_struct_from_user(attr, sizeof(*attr), uattr, size); in sched_copy_attr()
|
/Linux-v6.6/kernel/events/ |
D | core.c | 12073 ret = copy_struct_from_user(attr, sizeof(*attr), uattr, size); in perf_copy_attr()
|