Home
last modified time | relevance | path

Searched refs:copy_struct_from_user (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/lib/
H A Dtest_user_copy.c134 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()
/openbmc/linux/drivers/platform/surface/
H A Dsurface_aggregator_cdev.c266 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()
/openbmc/linux/security/landlock/
H A Dsyscalls.c77 return copy_struct_from_user(dst, ksize, src, usize); in copy_min_struct_from_user()
/openbmc/linux/io_uring/
H A Dopenclose.c102 ret = copy_struct_from_user(&open->how, sizeof(open->how), how, len); in io_openat2_prep()
/openbmc/linux/include/linux/
H A Duaccess.h348 copy_struct_from_user(void *dst, size_t ksize, const void __user *src, in copy_struct_from_user() function
/openbmc/linux/drivers/platform/x86/amd/
H A Dhsmp.c264 if (copy_struct_from_user(&msg, sizeof(msg), arguser, sizeof(struct hsmp_message))) in hsmp_ioctl()
/openbmc/qemu/linux-user/
H A Dqemu.h326 int copy_struct_from_user(void *dst, size_t ksize, abi_ptr src, size_t usize);
H A Dstrace.c3615 copy_struct_from_user(&how, sizeof(how), arg2, arg3) == 0) { in print_openat2()
H A Dsyscall.c610 int copy_struct_from_user(void *dst, size_t ksize, abi_ptr src, size_t usize) in copy_struct_from_user() function
8500 ret = copy_struct_from_user(&how, sizeof(how), guest_open_how, guest_size); in do_openat2()
/openbmc/linux/drivers/iommu/iommufd/
H A Dmain.c394 ret = copy_struct_from_user(ucmd.cmd, op->size, ucmd.ubuffer, in iommufd_fops_ioctl()
/openbmc/linux/kernel/trace/
H A Dtrace_events_user.c2339 ret = copy_struct_from_user(kreg, sizeof(*kreg), ureg, size); in user_reg_get()
2501 ret = copy_struct_from_user(kreg, sizeof(*kreg), ureg, size); in user_unreg_get()
/openbmc/linux/fs/
H A Dopen.c1467 err = copy_struct_from_user(&tmp, sizeof(tmp), how, usize); in SYSCALL_DEFINE4()
H A Dnamespace.c4678 err = copy_struct_from_user(&attr, sizeof(attr), uattr, usize); in SYSCALL_DEFINE5()
/openbmc/linux/kernel/
H A Dseccomp.c1672 ret = copy_struct_from_user(&addfd, sizeof(addfd), uaddfd, size); in seccomp_notify_addfd()
H A Dfork.c3079 err = copy_struct_from_user(&args, sizeof(args), uargs, usize); in copy_clone_args_from_user()
/openbmc/linux/kernel/sched/
H A Dcore.c8012 ret = copy_struct_from_user(attr, sizeof(*attr), uattr, size); in sched_copy_attr()
/openbmc/linux/kernel/events/
H A Dcore.c12177 ret = copy_struct_from_user(attr, sizeof(*attr), uattr, size); in perf_copy_attr()