Searched refs:MSG_NOSIGNAL (Results 1 – 25 of 25) sorted by relevance
92 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pn_sendmsg()135 if (flags & ~(MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_NOSIGNAL| in pn_recvmsg()
1135 if ((msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pep_sendmsg()1257 MSG_NOSIGNAL|MSG_CMSG_COMPAT)) in pep_recvmsg()
68 .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL, in rds_tcp_sendmsg()121 int flags = MSG_DONTWAIT | MSG_NOSIGNAL | more; in rds_tcp_xmit()
185 if (err == -EPIPE && !(flags & MSG_NOSIGNAL)) in sk_stream_error()
286 #define MSG_NOSIGNAL 0x4000 /* Do not generate SIGPIPE */ macro
176 smb_msg->msg_flags = MSG_DONTWAIT + MSG_NOSIGNAL; in smb_send_kvec()178 smb_msg->msg_flags = MSG_NOSIGNAL; in smb_send_kvec()
368 if (msg->msg_flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL)) in tls_sw_sendmsg()517 if (flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | in tls_sw_sendpage()
233 MSG_NOSIGNAL, in tls_write_space()
361 ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | MSG_SENDPAGE_NOTLAST)) in tls_push_data()
523 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL }; in ceph_tcp_recvmsg()544 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL }; in ceph_tcp_recvpage()562 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL }; in ceph_tcp_sendmsg()579 int flags = MSG_DONTWAIT | MSG_NOSIGNAL | (more ? MSG_MORE : MSG_EOR); in __ceph_tcp_sendpage()592 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL }; in ceph_tcp_sendpage()
1708 if (flags & ~(MSG_CMSG_COMPAT|MSG_PEEK|MSG_OOB|MSG_WAITALL|MSG_DONTWAIT|MSG_NOSIGNAL)) { in dn_recvmsg()1931 if (flags & ~(MSG_TRYHARD|MSG_OOB|MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL|MSG_MORE|MSG_CMSG_COMPAT)) in dn_sendmsg()1959 if (!(flags & MSG_NOSIGNAL)) in dn_sendmsg()
306 struct msghdr msg = {.msg_flags = MSG_NOSIGNAL}; in usbip_recv()
604 s->msg.msg_flags = MSG_NOSIGNAL; in bnep_add_connection()
679 r = ret = sock_recvmsg(con->sock, &msg, MSG_DONTWAIT | MSG_NOSIGNAL); in receive_from_sock()1491 const int msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; in send_to_sock()
190 if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_NOSIGNAL | MSG_ERRQUEUE)) in mISDN_sock_sendmsg()
665 if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL)) in caif_stream_sendmsg()
1918 if (sent == 0 && !(msg->msg_flags&MSG_NOSIGNAL)) in unix_stream_sendmsg()2035 if (send_sigpipe && !(flags & MSG_NOSIGNAL)) in unix_stream_sendpage()
285 int err, i, flags = MSG_NOSIGNAL; in msg_loop()
1688 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_NOSIGNAL|MSG_ERRQUEUE| in hci_sock_sendmsg()
1569 msg_flags |= MSG_NOSIGNAL; in _drbd_send_page()1851 struct msghdr msg = {.msg_flags = msg_flags | MSG_NOSIGNAL}; in drbd_send()
517 .msg_flags = (flags ? flags : MSG_WAITALL | MSG_NOSIGNAL) in drbd_recv_short()1230 err = drbd_recv_short(connection->data.socket, buffer, size, MSG_NOSIGNAL|MSG_DONTWAIT); in drbd_recv_header_maybe_unplug()
1580 struct msghdr msg = {.msg_flags = MSG_DONTWAIT|MSG_NOSIGNAL}; in ip_vs_send_async()
429 msg.msg_flags = msg_flags | MSG_NOSIGNAL; in sock_xmit()
328 #define XS_SENDMSG_FLAGS (MSG_DONTWAIT | MSG_NOSIGNAL)
1597 if (err == -EPIPE && !(flags & MSG_NOSIGNAL)) in sctp_error()