Searched refs:copy_struct_from_user (Results 1 - 17 of 17) sorted by relevance
/linux-master/lib/ |
H A D | test_user_copy.c | 134 ret |= test(copy_struct_from_user(kmem, ksize, umem, usize), 135 "copy_struct_from_user(usize == ksize) failed"); 137 "copy_struct_from_user(usize == ksize) gives unexpected copy"); 147 ret |= test(copy_struct_from_user(kmem, ksize, umem, usize), 148 "copy_struct_from_user(usize < ksize) failed"); 150 "copy_struct_from_user(usize < ksize) gives unexpected copy"); 157 ret |= test(copy_struct_from_user(kmem, ksize, umem, usize) != -E2BIG, 158 "copy_struct_from_user(usize > ksize) didn't give E2BIG"); 169 ret |= test(copy_struct_from_user(kmem, ksize, umem, usize), 170 "copy_struct_from_user(usiz [all...] |
/linux-master/drivers/platform/surface/ |
H A D | surface_aggregator_cdev.c | 266 ret = copy_struct_from_user(&rqst, sizeof(rqst), r, sizeof(*r)); 378 ret = copy_struct_from_user(&desc, sizeof(desc), d, sizeof(*d)); 393 ret = copy_struct_from_user(&desc, sizeof(desc), d, sizeof(*d)); 411 ret = copy_struct_from_user(&desc, sizeof(desc), d, sizeof(*d)); 439 ret = copy_struct_from_user(&desc, sizeof(desc), d, sizeof(*d));
|
/linux-master/include/linux/ |
H A D | sockptr.h | 90 return copy_struct_from_user(dst, ksize, src.user, size);
|
H A D | uaccess.h | 301 * copy_struct_from_user: copy a struct from userspace 327 * err = copy_struct_from_user(&karg, sizeof(karg), uarg, usize); 348 copy_struct_from_user(void *dst, size_t ksize, const void __user *src, function
|
H A D | iommu.h | 429 return copy_struct_from_user(dst_data, data_len, src_data->uptr,
|
/linux-master/io_uring/ |
H A D | openclose.c | 107 ret = copy_struct_from_user(&open->how, sizeof(open->how), how, len);
|
/linux-master/security/landlock/ |
H A D | syscalls.c | 51 * Extend copy_struct_from_user() to check for consistent user buffer. 78 return copy_struct_from_user(dst, ksize, src, usize);
|
/linux-master/drivers/iommu/iommufd/ |
H A D | main.c | 417 ret = copy_struct_from_user(ucmd.cmd, op->size, ucmd.ubuffer,
|
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_drv.c | 1167 return copy_struct_from_user(out, obj_size, u64_to_user_ptr(usr_ptr), usr_stride); 1212 ret = copy_struct_from_user(out_ptr, obj_size, in_ptr, in->stride);
|
/linux-master/kernel/trace/ |
H A D | trace_events_user.c | 2341 ret = copy_struct_from_user(kreg, sizeof(*kreg), ureg, size); 2503 ret = copy_struct_from_user(kreg, sizeof(*kreg), ureg, size);
|
/linux-master/drivers/platform/x86/amd/ |
H A D | hsmp.c | 330 if (copy_struct_from_user(&msg, sizeof(msg), arguser, sizeof(struct hsmp_message)))
|
/linux-master/fs/ |
H A D | open.c | 1452 err = copy_struct_from_user(&tmp, sizeof(tmp), how, usize);
|
H A D | namespace.c | 4672 err = copy_struct_from_user(&attr, sizeof(attr), uattr, usize); 4992 ret = copy_struct_from_user(kreq, sizeof(*kreq), req, usize);
|
/linux-master/kernel/ |
H A D | seccomp.c | 1672 ret = copy_struct_from_user(&addfd, sizeof(addfd), uaddfd, size);
|
H A D | fork.c | 2967 err = copy_struct_from_user(&args, sizeof(args), uargs, usize);
|
/linux-master/kernel/sched/ |
H A D | core.c | 8084 ret = copy_struct_from_user(attr, sizeof(*attr), uattr, size);
|
/linux-master/kernel/events/ |
H A D | core.c | 12138 ret = copy_struct_from_user(attr, sizeof(*attr), uattr, size);
|
Completed in 628 milliseconds