Lines Matching refs:iomsg
4898 struct io_async_msghdr *iomsg) in io_sendmsg_copy_hdr() argument
4903 iomsg->msg.msg_name = &iomsg->addr; in io_sendmsg_copy_hdr()
4904 iomsg->free_iov = iomsg->fast_iov; in io_sendmsg_copy_hdr()
4905 ret = sendmsg_copy_msghdr(&iomsg->msg, req->sr_msg.umsg, in io_sendmsg_copy_hdr()
4906 req->sr_msg.msg_flags, &iomsg->free_iov); in io_sendmsg_copy_hdr()
4908 sr->msg_control = iomsg->msg.msg_control; in io_sendmsg_copy_hdr()
4949 struct io_async_msghdr iomsg, *kmsg; in io_sendmsg() local
4962 ret = io_sendmsg_copy_hdr(req, &iomsg); in io_sendmsg()
4965 kmsg = &iomsg; in io_sendmsg()
5058 struct io_async_msghdr *iomsg) in __io_recvmsg_copy_hdr() argument
5065 ret = __copy_msghdr_from_user(&iomsg->msg, sr->umsg, in __io_recvmsg_copy_hdr()
5066 &iomsg->uaddr, &uiov, &iov_len); in __io_recvmsg_copy_hdr()
5073 if (copy_from_user(iomsg->fast_iov, uiov, sizeof(*uiov))) in __io_recvmsg_copy_hdr()
5075 sr->len = iomsg->fast_iov[0].iov_len; in __io_recvmsg_copy_hdr()
5076 iomsg->free_iov = NULL; in __io_recvmsg_copy_hdr()
5078 iomsg->free_iov = iomsg->fast_iov; in __io_recvmsg_copy_hdr()
5080 &iomsg->free_iov, &iomsg->msg.msg_iter, in __io_recvmsg_copy_hdr()
5091 struct io_async_msghdr *iomsg) in __io_compat_recvmsg_copy_hdr() argument
5099 ret = __get_compat_msghdr(&iomsg->msg, sr->umsg_compat, &iomsg->uaddr, in __io_compat_recvmsg_copy_hdr()
5117 iomsg->free_iov = NULL; in __io_compat_recvmsg_copy_hdr()
5119 iomsg->free_iov = iomsg->fast_iov; in __io_compat_recvmsg_copy_hdr()
5121 UIO_FASTIOV, &iomsg->free_iov, in __io_compat_recvmsg_copy_hdr()
5122 &iomsg->msg.msg_iter, true); in __io_compat_recvmsg_copy_hdr()
5132 struct io_async_msghdr *iomsg) in io_recvmsg_copy_hdr() argument
5134 iomsg->msg.msg_name = &iomsg->addr; in io_recvmsg_copy_hdr()
5138 return __io_compat_recvmsg_copy_hdr(req, iomsg); in io_recvmsg_copy_hdr()
5141 return __io_recvmsg_copy_hdr(req, iomsg); in io_recvmsg_copy_hdr()
5202 struct io_async_msghdr iomsg, *kmsg; in io_recvmsg() local
5217 ret = io_recvmsg_copy_hdr(req, &iomsg); in io_recvmsg()
5220 kmsg = &iomsg; in io_recvmsg()