Home
last modified time | relevance | path

Searched refs:MSG_DONTWAIT (Results 1 – 25 of 127) sorted by relevance

123456

/Linux-v5.10/net/phonet/
Ddatagram.c79 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pn_sendmsg()
93 msg->msg_flags & MSG_DONTWAIT, &err); in pn_sendmsg()
122 if (flags & ~(MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_NOSIGNAL| in pn_recvmsg()
Dpep.c1122 if ((msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pep_sendmsg()
1128 flags & MSG_DONTWAIT, &err); in pep_sendmsg()
1138 timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in pep_sendmsg()
1243 if (flags & ~(MSG_OOB|MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_WAITALL| in pep_recvmsg()
/Linux-v5.10/net/xfrm/
Despintcp.c142 flags |= nonblock ? MSG_DONTWAIT : 0; in espintcp_recvmsg()
271 return flags & MSG_DONTWAIT ? -EAGAIN : 0; in espintcp_push_msgs()
317 long timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg()
326 if (msg->msg_flags & ~MSG_DONTWAIT) in espintcp_sendmsg()
337 err = espintcp_push_msgs(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg()
339 if (err != -EAGAIN || !(msg->msg_flags & MSG_DONTWAIT)) in espintcp_sendmsg()
377 err = espintcp_push_msgs(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg()
/Linux-v5.10/tools/testing/selftests/net/
Dudpgso_bench_rx.c171 ret = recv(fd, NULL, 1 << 21, MSG_TRUNC | MSG_DONTWAIT); in do_flush_tcp()
234 ret = recvmsg(fd, &msg, MSG_TRUNC | MSG_DONTWAIT); in recv_msg()
259 ret = recv(fd, rbuf, len, MSG_TRUNC | MSG_DONTWAIT); in do_flush_udp()
Dmsg_zerocopy.c193 flags = MSG_DONTWAIT; in do_sendmsg()
371 if (recvmsg(fd, &msg, MSG_DONTWAIT)) in do_recvmsg_completion()
609 ret = recv(fd, NULL, 1 << 21, MSG_TRUNC | MSG_DONTWAIT); in do_flush_tcp()
628 ret = recv(fd, buf, sizeof(buf), MSG_DONTWAIT | MSG_TRUNC); in do_flush_datagram()
Dudpgso.c497 if (ret == -1 && errno == EAGAIN && (flags & MSG_DONTWAIT)) in recv_one()
552 ret = recv_one(fdr, MSG_DONTWAIT); in run_one()
/Linux-v5.10/net/rds/
Dtcp_send.c63 .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL, in rds_tcp_sendmsg()
116 int flags = MSG_DONTWAIT | MSG_NOSIGNAL | more; in rds_tcp_xmit()
/Linux-v5.10/tools/testing/selftests/android/ion/
Dipcsocket.c150 ret = sendmsg(sockfd, &msgh, MSG_DONTWAIT); in sendtosocket()
202 ret = recvmsg(sockfd, &msgh, MSG_DONTWAIT); in receivefromsocket()
/Linux-v5.10/drivers/infiniband/sw/siw/
Dsiw_qp_tx.c329 flags = MSG_MORE | MSG_DONTWAIT | MSG_SENDPAGE_NOTLAST; in siw_tcp_sendpages()
335 flags = MSG_MORE | MSG_DONTWAIT; in siw_tcp_sendpages()
430 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_EOR }; in siw_tx_hdt()
440 rv = siw_tx_ctrl(c_tx, s, MSG_DONTWAIT | MSG_MORE); in siw_tx_hdt()
864 msg_flags = MSG_DONTWAIT; in siw_qp_sq_proc_tx()
866 msg_flags = MSG_DONTWAIT | MSG_MORE; in siw_qp_sq_proc_tx()
/Linux-v5.10/net/caif/
Dcaif_socket.c370 timeo = sock_rcvtimeo(sk, flags&MSG_DONTWAIT); in caif_stream_recvmsg()
544 noblock = msg->msg_flags & MSG_DONTWAIT; in caif_seqpkt_sendmsg()
610 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in caif_stream_sendmsg()
633 msg->msg_flags&MSG_DONTWAIT, in caif_stream_sendmsg()
654 msg->msg_flags&MSG_DONTWAIT, timeo); in caif_stream_sendmsg()
/Linux-v5.10/drivers/nvme/target/
Dtcp.c523 left, MSG_DONTWAIT | MSG_MORE | MSG_SENDPAGE_NOTLAST); in nvmet_try_send_data_pdu()
546 int flags = MSG_DONTWAIT; in nvmet_try_send_data()
594 int flags = MSG_DONTWAIT; in nvmet_try_send_response()
623 int flags = MSG_DONTWAIT; in nvmet_try_send_r2t()
648 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_try_send_ddgst()
1010 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_tcp_try_recv_pdu()
1102 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_tcp_try_recv_ddgst()
1262 c->recv_msg.msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; in nvmet_tcp_alloc_cmd()
/Linux-v5.10/net/core/
Ddatagram.c276 sk_busy_loop(sk, flags & MSG_DONTWAIT); in __skb_try_recv_datagram()
294 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in __skb_recv_datagram()
318 flags | (noblock ? MSG_DONTWAIT : 0), in skb_recv_datagram()
/Linux-v5.10/net/can/
Draw.c759 msg->msg_flags & MSG_DONTWAIT, &err); in raw_sendmsg()
802 noblock = flags & MSG_DONTWAIT; in raw_recvmsg()
803 flags &= ~MSG_DONTWAIT; in raw_recvmsg()
/Linux-v5.10/net/x25/
Dx25_out.c52 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output()
/Linux-v5.10/net/rxrpc/
Dsendmsg.c302 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in rxrpc_send_data()
336 if (msg->msg_flags & MSG_DONTWAIT) in rxrpc_send_data()
362 sk, size, msg->msg_flags & MSG_DONTWAIT, &ret); in rxrpc_send_data()
/Linux-v5.10/net/qrtr/
Dqrtr.c885 if (msg->msg_flags & ~(MSG_DONTWAIT)) in qrtr_sendmsg()
937 msg->msg_flags & MSG_DONTWAIT, &rc); in qrtr_sendmsg()
1016 skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, in qrtr_recvmsg()
1017 flags & MSG_DONTWAIT, &rc); in qrtr_recvmsg()
/Linux-v5.10/net/decnet/
Daf_decnet.c1685 long timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in dn_recvmsg()
1703 if (flags & ~(MSG_CMSG_COMPAT|MSG_PEEK|MSG_OOB|MSG_WAITALL|MSG_DONTWAIT|MSG_NOSIGNAL)) { in dn_recvmsg()
1745 if (flags & MSG_DONTWAIT) { in dn_recvmsg()
1926 if (flags & ~(MSG_TRYHARD|MSG_OOB|MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL|MSG_MORE|MSG_CMSG_COMPAT)) in dn_sendmsg()
1933 timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in dn_sendmsg()
2002 if (flags & MSG_DONTWAIT) { in dn_sendmsg()
2023 flags & MSG_DONTWAIT, &err); in dn_sendmsg()
/Linux-v5.10/net/mptcp/
Dmptcp_diag.c61 MSG_DONTWAIT); in mptcp_diag_dump_one()
/Linux-v5.10/net/tls/
Dtls_sw.c917 long timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in tls_sw_sendmsg()
938 if (msg->msg_flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | in tls_sw_sendmsg()
1142 long timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in tls_sw_do_sendpage()
1258 if (flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | in tls_sw_sendpage_locked()
1272 if (flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | in tls_sw_sendpage()
1310 if ((flags & MSG_DONTWAIT) || !timeo) { in tls_wait_data()
1780 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in tls_sw_recvmsg()
1994 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in tls_sw_splice_read()
/Linux-v5.10/net/unix/
Daf_unix.c1671 msg->msg_flags & MSG_DONTWAIT, &err, in unix_dgram_sendmsg()
1687 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in unix_dgram_sendmsg()
1870 msg->msg_flags & MSG_DONTWAIT, &err, in unix_stream_sendmsg()
1943 newskb = sock_alloc_send_pskb(sk, 0, 0, flags & MSG_DONTWAIT, in unix_stream_sendpage()
1954 err = flags & MSG_DONTWAIT ? -EAGAIN : -ERESTARTSYS; in unix_stream_sendpage()
2093 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in unix_dgram_recvmsg()
2253 int noblock = flags & MSG_DONTWAIT; in unix_stream_read_generic()
2494 state.flags = MSG_DONTWAIT; in unix_stream_splice_read()
/Linux-v5.10/net/kcm/
Dkcmsock.c649 MSG_DONTWAIT); in kcm_write_msgs()
762 long timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in kcm_sendpage()
904 long timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in kcm_sendmsg()
1096 if ((flags & MSG_DONTWAIT) || !timeo) { in kcm_wait_data()
1124 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in kcm_recvmsg()
1184 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in kcm_splice_read()
/Linux-v5.10/net/netrom/
Daf_netrom.c1043 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_CMSG_COMPAT)) in nr_sendmsg()
1095 if ((skb = sock_alloc_send_skb(sk, size, msg->msg_flags & MSG_DONTWAIT, &err)) == NULL) in nr_sendmsg()
1162 if ((skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, flags & MSG_DONTWAIT, &er)) == NULL) { in nr_recvmsg()
/Linux-v5.10/net/atm/
Dcommon.c534 if (flags & ~(MSG_DONTWAIT | MSG_PEEK)) in vcc_recvmsg()
543 skb = skb_recv_datagram(sk, flags, flags & MSG_DONTWAIT, &error); in vcc_recvmsg()
606 if (m->msg_flags & MSG_DONTWAIT) { in vcc_sendmsg()
/Linux-v5.10/net/netfilter/
Dnfnetlink_cttimeout.c283 MSG_DONTWAIT); in cttimeout_get_timeout()
503 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in cttimeout_default_get()
/Linux-v5.10/drivers/vhost/
Dnet.c771 .msg_flags = MSG_DONTWAIT, in handle_tx_copy()
860 .msg_flags = MSG_DONTWAIT, in handle_tx_zerocopy()
1109 .msg_flags = MSG_DONTWAIT, in handle_rx()
1178 1, MSG_DONTWAIT | MSG_TRUNC); in handle_rx()
1192 sock_len, MSG_DONTWAIT | MSG_TRUNC); in handle_rx()

123456