/Linux-v5.10/net/phonet/ |
D | datagram.c | 79 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()
|
D | pep.c | 1122 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/ |
D | espintcp.c | 142 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/ |
D | udpgso_bench_rx.c | 171 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()
|
D | msg_zerocopy.c | 193 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()
|
D | udpgso.c | 497 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/ |
D | tcp_send.c | 63 .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/ |
D | ipcsocket.c | 150 ret = sendmsg(sockfd, &msgh, MSG_DONTWAIT); in sendtosocket() 202 ret = recvmsg(sockfd, &msgh, MSG_DONTWAIT); in receivefromsocket()
|
/Linux-v5.10/drivers/infiniband/sw/siw/ |
D | siw_qp_tx.c | 329 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/ |
D | caif_socket.c | 370 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/ |
D | tcp.c | 523 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/ |
D | datagram.c | 276 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/ |
D | raw.c | 759 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/ |
D | x25_out.c | 52 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output()
|
/Linux-v5.10/net/rxrpc/ |
D | sendmsg.c | 302 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/ |
D | qrtr.c | 885 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/ |
D | af_decnet.c | 1685 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/ |
D | mptcp_diag.c | 61 MSG_DONTWAIT); in mptcp_diag_dump_one()
|
/Linux-v5.10/net/tls/ |
D | tls_sw.c | 917 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/ |
D | af_unix.c | 1671 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/ |
D | kcmsock.c | 649 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/ |
D | af_netrom.c | 1043 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/ |
D | common.c | 534 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/ |
D | nfnetlink_cttimeout.c | 283 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/ |
D | net.c | 771 .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()
|