Searched refs:copy_struct_from_user (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.15/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-v5.15/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-v5.15/include/linux/ |
| D | uaccess.h | 335 copy_struct_from_user(void *dst, size_t ksize, const void __user *src, in copy_struct_from_user() function
|
| /Linux-v5.15/security/landlock/ |
| D | syscalls.c | 64 return copy_struct_from_user(dst, ksize, src, usize); in copy_min_struct_from_user()
|
| /Linux-v5.15/fs/ |
| D | open.c | 1247 err = copy_struct_from_user(&tmp, sizeof(tmp), how, usize); in SYSCALL_DEFINE4()
|
| D | namespace.c | 4251 err = copy_struct_from_user(&attr, sizeof(attr), uattr, usize); in SYSCALL_DEFINE5()
|
| D | io_uring.c | 4190 ret = copy_struct_from_user(&req->open.how, sizeof(req->open.how), how, in io_openat2_prep()
|
| /Linux-v5.15/kernel/ |
| D | seccomp.c | 1570 ret = copy_struct_from_user(&addfd, sizeof(addfd), uaddfd, size); in seccomp_notify_addfd()
|
| D | fork.c | 2728 err = copy_struct_from_user(&args, sizeof(args), uargs, usize); in copy_clone_args_from_user()
|
| /Linux-v5.15/kernel/sched/ |
| D | core.c | 7640 ret = copy_struct_from_user(attr, sizeof(*attr), uattr, size); in sched_copy_attr()
|
| /Linux-v5.15/kernel/events/ |
| D | core.c | 11695 ret = copy_struct_from_user(attr, sizeof(*attr), uattr, size); in perf_copy_attr()
|