Home
last modified time | relevance | path

Searched refs:umsg (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/i2c/
Di2c-dev.c552 struct i2c_msg32 umsg; in compat_i2cdev_ioctl() local
553 if (copy_from_user(&umsg, p + i, sizeof(umsg))) { in compat_i2cdev_ioctl()
558 .addr = umsg.addr, in compat_i2cdev_ioctl()
559 .flags = umsg.flags, in compat_i2cdev_ioctl()
560 .len = umsg.len, in compat_i2cdev_ioctl()
561 .buf = compat_ptr(umsg.buf) in compat_i2cdev_ioctl()
/kernel/linux/linux-5.10/include/linux/
Dsocket.h399 struct user_msghdr __user *umsg,
403 struct user_msghdr __user *umsg, unsigned flags,
406 struct user_msghdr __user *umsg, unsigned flags,
410 struct user_msghdr __user *umsg,
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/
Dsocket.h398 struct user_msghdr __user *umsg,
402 struct user_msghdr __user *umsg, unsigned flags,
405 struct user_msghdr __user *umsg, unsigned flags,
409 struct user_msghdr __user *umsg,
/kernel/linux/linux-5.10/net/
Dcompat.c37 struct compat_msghdr __user *umsg, in __get_compat_msghdr() argument
44 if (copy_from_user(&msg, umsg, sizeof(*umsg))) in __get_compat_msghdr()
89 struct compat_msghdr __user *umsg, in get_compat_msghdr() argument
97 err = __get_compat_msghdr(kmsg, umsg, save_addr, &ptr, &len); in get_compat_msghdr()
Dsocket.c2234 struct user_msghdr __user *umsg, in __copy_msghdr_from_user() argument
2241 if (copy_from_user(&msg, umsg, sizeof(*umsg))) in __copy_msghdr_from_user()
2285 struct user_msghdr __user *umsg, in copy_msghdr_from_user() argument
2292 err = __copy_msghdr_from_user(kmsg, umsg, save_addr, &msg.msg_iov, in copy_msghdr_from_user()
2379 struct user_msghdr __user *umsg, unsigned flags, in sendmsg_copy_msghdr() argument
2387 msg_compat = (struct compat_msghdr __user *) umsg; in sendmsg_copy_msghdr()
2390 err = copy_msghdr_from_user(msg, umsg, NULL, iov); in sendmsg_copy_msghdr()
2532 struct user_msghdr __user *umsg, unsigned flags, in recvmsg_copy_msghdr() argument
2541 msg_compat = (struct compat_msghdr __user *) umsg; in recvmsg_copy_msghdr()
2544 err = copy_msghdr_from_user(msg, umsg, uaddr, iov); in recvmsg_copy_msghdr()
[all …]
/kernel/linux/linux-5.10/include/net/
Dcompat.h59 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr __user *umsg,
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c576 struct user_msghdr __user *umsg; member
4749 ret = sendmsg_copy_msghdr(&iomsg->msg, req->sr_msg.umsg, in io_sendmsg_copy_hdr()
4777 sr->umsg = u64_to_user_ptr(READ_ONCE(sqe->addr)); in io_sendmsg_prep()
4907 ret = __copy_msghdr_from_user(&iomsg->msg, sr->umsg, in __io_recvmsg_copy_hdr()
5027 sr->umsg = u64_to_user_ptr(READ_ONCE(sqe->addr)); in io_recvmsg_prep()
5081 ret = __sys_recvmsg_sock(sock, &kmsg->msg, req->sr_msg.umsg, in io_recvmsg()