Lines Matching refs:msg_flags

61 	unsigned			msg_flags;  member
185 return sendmsg_copy_msghdr(&iomsg->msg, sr->umsg, sr->msg_flags, in io_sendmsg_copy_hdr()
257 sr->msg_flags = READ_ONCE(sqe->msg_flags) | MSG_NOSIGNAL; in io_sendmsg_prep()
258 if (sr->msg_flags & MSG_DONTWAIT) in io_sendmsg_prep()
263 sr->msg_flags |= MSG_CMSG_COMPAT; in io_sendmsg_prep()
295 flags = sr->msg_flags; in io_sendmsg()
371 flags = sr->msg_flags; in io_send()
377 msg.msg_flags = flags; in io_send()
556 sr->msg_flags = READ_ONCE(sqe->msg_flags) | MSG_NOSIGNAL; in io_recvmsg_prep()
557 if (sr->msg_flags & MSG_DONTWAIT) in io_recvmsg_prep()
559 if (sr->msg_flags & MSG_ERRQUEUE) in io_recvmsg_prep()
564 if (sr->msg_flags & MSG_WAITALL) in io_recvmsg_prep()
582 sr->msg_flags |= MSG_CMSG_COMPAT; in io_recvmsg_prep()
675 kmsg->msg.msg_flags = flags & (MSG_CMSG_CLOEXEC|MSG_CMSG_COMPAT); in io_recvmsg_multishot()
688 .flags = kmsg->msg.msg_flags & ~MSG_CMSG_COMPAT in io_recvmsg_multishot()
770 flags = sr->msg_flags; in io_recvmsg()
801 } else if ((flags & MSG_WAITALL) && (kmsg->msg.msg_flags & (MSG_TRUNC | MSG_CTRUNC))) { in io_recvmsg()
868 msg.msg_flags = 0; in io_recv()
873 flags = sr->msg_flags; in io_recv()
899 } else if ((flags & MSG_WAITALL) && (msg.msg_flags & (MSG_TRUNC | MSG_CTRUNC))) { in io_recv()
989 zc->msg_flags = READ_ONCE(sqe->msg_flags) | MSG_NOSIGNAL; in io_send_zc_prep()
990 if (zc->msg_flags & MSG_DONTWAIT) in io_send_zc_prep()
997 zc->msg_flags |= MSG_CMSG_COMPAT; in io_send_zc_prep()
1067 unsigned msg_flags; in io_send_zc() local
1116 msg_flags = zc->msg_flags | MSG_ZEROCOPY; in io_send_zc()
1118 msg_flags |= MSG_DONTWAIT; in io_send_zc()
1119 if (msg_flags & MSG_WAITALL) in io_send_zc()
1122 msg.msg_flags = msg_flags; in io_send_zc()
1130 if (ret > 0 && io_net_retry(sock, msg.msg_flags)) { in io_send_zc()
1186 flags = sr->msg_flags | MSG_ZEROCOPY; in io_sendmsg_zc()