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

/linux-master/lib/
H A Dtest_user_copy.c134 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 Dsurface_aggregator_cdev.c266 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 Dsockptr.h90 return copy_struct_from_user(dst, ksize, src.user, size);
H A Duaccess.h301 * 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 Diommu.h429 return copy_struct_from_user(dst_data, data_len, src_data->uptr,
/linux-master/io_uring/
H A Dopenclose.c107 ret = copy_struct_from_user(&open->how, sizeof(open->how), how, len);
/linux-master/security/landlock/
H A Dsyscalls.c51 * 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 Dmain.c417 ret = copy_struct_from_user(ucmd.cmd, op->size, ucmd.ubuffer,
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_drv.c1167 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 Dtrace_events_user.c2341 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 Dhsmp.c330 if (copy_struct_from_user(&msg, sizeof(msg), arguser, sizeof(struct hsmp_message)))
/linux-master/fs/
H A Dopen.c1452 err = copy_struct_from_user(&tmp, sizeof(tmp), how, usize);
H A Dnamespace.c4672 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 Dseccomp.c1672 ret = copy_struct_from_user(&addfd, sizeof(addfd), uaddfd, size);
H A Dfork.c2967 err = copy_struct_from_user(&args, sizeof(args), uargs, usize);
/linux-master/kernel/sched/
H A Dcore.c8084 ret = copy_struct_from_user(attr, sizeof(*attr), uattr, size);
/linux-master/kernel/events/
H A Dcore.c12138 ret = copy_struct_from_user(attr, sizeof(*attr), uattr, size);

Completed in 628 milliseconds