Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/i2c/
Di2c-dev.c551 struct i2c_msg32 umsg; in compat_i2cdev_ioctl() local
552 if (copy_from_user(&umsg, p + i, sizeof(umsg))) { in compat_i2cdev_ioctl()
557 .addr = umsg.addr, in compat_i2cdev_ioctl()
558 .flags = umsg.flags, in compat_i2cdev_ioctl()
559 .len = umsg.len, in compat_i2cdev_ioctl()
560 .buf = (__force __u8 *)compat_ptr(umsg.buf), in compat_i2cdev_ioctl()
/linux-6.1.9/tools/perf/trace/beauty/include/linux/
Dsocket.h414 struct user_msghdr __user *umsg,
418 struct user_msghdr __user *umsg, unsigned flags,
421 struct user_msghdr __user *umsg, unsigned flags,
425 struct user_msghdr *umsg,
/linux-6.1.9/include/linux/
Dsocket.h414 struct user_msghdr __user *umsg,
418 struct user_msghdr __user *umsg, unsigned flags,
421 struct user_msghdr __user *umsg, unsigned flags,
425 struct user_msghdr *umsg,
/linux-6.1.9/net/
Dcompat.c84 struct compat_msghdr __user *umsg, in get_compat_msghdr() argument
91 if (copy_from_user(&msg, umsg, sizeof(*umsg))) in get_compat_msghdr()
Dsocket.c2406 struct user_msghdr __user *umsg, in copy_msghdr_from_user() argument
2413 if (copy_from_user(&msg, umsg, sizeof(*umsg))) in copy_msghdr_from_user()
2502 struct user_msghdr __user *umsg, unsigned flags, in sendmsg_copy_msghdr() argument
2510 msg_compat = (struct compat_msghdr __user *) umsg; in sendmsg_copy_msghdr()
2513 err = copy_msghdr_from_user(msg, umsg, NULL, iov); in sendmsg_copy_msghdr()
2655 struct user_msghdr __user *umsg, unsigned flags, in recvmsg_copy_msghdr() argument
2664 msg_compat = (struct compat_msghdr __user *) umsg; in recvmsg_copy_msghdr()
2667 err = copy_msghdr_from_user(msg, umsg, uaddr, iov); in recvmsg_copy_msghdr()
2753 struct user_msghdr __user *umsg, in __sys_recvmsg_sock() argument
2756 return ____sys_recvmsg(sock, msg, umsg, uaddr, flags, 0); in __sys_recvmsg_sock()
/linux-6.1.9/io_uring/
Dnet.c56 struct user_msghdr __user *umsg; member
185 return sendmsg_copy_msghdr(&iomsg->msg, sr->umsg, sr->msg_flags, in io_sendmsg_copy_hdr()
252 sr->umsg = u64_to_user_ptr(READ_ONCE(sqe->addr)); in io_sendmsg_prep()
424 if (copy_from_user(&msg, sr->umsg, sizeof(*sr->umsg))) in __io_recvmsg_copy_hdr()
551 sr->umsg = u64_to_user_ptr(READ_ONCE(sqe->addr)); in io_recvmsg_prep()
781 ret = __sys_recvmsg_sock(sock, &kmsg->msg, sr->umsg, in io_recvmsg()