| /Linux-v5.15/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.15/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.15/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.15/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.15/net/mctp/ |
| D | af_mctp.c | 106 msg->msg_flags & MSG_DONTWAIT, &rc); in mctp_sendmsg() 141 if (flags & ~(MSG_DONTWAIT | MSG_TRUNC | MSG_PEEK)) in mctp_recvmsg() 144 skb = skb_recv_datagram(sk, flags, flags & MSG_DONTWAIT, &rc); in mctp_recvmsg()
|
| /Linux-v5.15/net/caif/ |
| D | caif_socket.c | 370 timeo = sock_rcvtimeo(sk, flags&MSG_DONTWAIT); in caif_stream_recvmsg() 545 noblock = msg->msg_flags & MSG_DONTWAIT; in caif_seqpkt_sendmsg() 611 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in caif_stream_sendmsg() 634 msg->msg_flags&MSG_DONTWAIT, in caif_stream_sendmsg() 655 msg->msg_flags&MSG_DONTWAIT, timeo); in caif_stream_sendmsg()
|
| /Linux-v5.15/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() 437 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_EOR }; in siw_tx_hdt() 447 rv = siw_tx_ctrl(c_tx, s, MSG_DONTWAIT | MSG_MORE); in siw_tx_hdt() 874 msg_flags = MSG_DONTWAIT; in siw_qp_sq_proc_tx() 876 msg_flags = MSG_DONTWAIT | MSG_MORE; in siw_qp_sq_proc_tx()
|
| /Linux-v5.15/net/unix/ |
| D | af_unix.c | 1812 msg->msg_flags & MSG_DONTWAIT, &err, in unix_dgram_sendmsg() 1828 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in unix_dgram_sendmsg() 1971 skb = sock_alloc_send_skb(sock->sk, 1, msg->msg_flags & MSG_DONTWAIT, &err); in queue_oob() 2065 msg->msg_flags & MSG_DONTWAIT, &err, in unix_stream_sendmsg() 2147 newskb = sock_alloc_send_pskb(sk, 0, 0, flags & MSG_DONTWAIT, in unix_stream_sendpage() 2158 err = flags & MSG_DONTWAIT ? -EAGAIN : -ERESTARTSYS; in unix_stream_sendpage() 2297 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in __unix_dgram_recvmsg() 2398 return prot->recvmsg(sk, msg, size, flags & MSG_DONTWAIT, in unix_dgram_recvmsg() 2399 flags & ~MSG_DONTWAIT, NULL); in unix_dgram_recvmsg() 2586 int noblock = flags & MSG_DONTWAIT; in unix_stream_read_generic() [all …]
|
| /Linux-v5.15/drivers/nvme/target/ |
| D | tcp.c | 578 left, MSG_DONTWAIT | MSG_MORE | MSG_SENDPAGE_NOTLAST); in nvmet_try_send_data_pdu() 601 int flags = MSG_DONTWAIT; in nvmet_try_send_data() 649 int flags = MSG_DONTWAIT; in nvmet_try_send_response() 678 int flags = MSG_DONTWAIT; in nvmet_try_send_r2t() 703 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_try_send_ddgst() 1065 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_tcp_try_recv_pdu() 1155 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_tcp_try_recv_ddgst() 1333 c->recv_msg.msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; in nvmet_tcp_alloc_cmd()
|
| /Linux-v5.15/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.15/net/x25/ |
| D | x25_out.c | 52 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output()
|
| /Linux-v5.15/net/can/ |
| D | raw.c | 808 msg->msg_flags & MSG_DONTWAIT, &err); in raw_sendmsg() 851 noblock = flags & MSG_DONTWAIT; in raw_recvmsg() 852 flags &= ~MSG_DONTWAIT; in raw_recvmsg()
|
| /Linux-v5.15/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() 359 sk, bufsize, msg->msg_flags & MSG_DONTWAIT, &ret); in rxrpc_send_data()
|
| /Linux-v5.15/net/decnet/ |
| D | af_decnet.c | 1682 long timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in dn_recvmsg() 1700 if (flags & ~(MSG_CMSG_COMPAT|MSG_PEEK|MSG_OOB|MSG_WAITALL|MSG_DONTWAIT|MSG_NOSIGNAL)) { in dn_recvmsg() 1742 if (flags & MSG_DONTWAIT) { in dn_recvmsg() 1923 if (flags & ~(MSG_TRYHARD|MSG_OOB|MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL|MSG_MORE|MSG_CMSG_COMPAT)) in dn_sendmsg() 1930 timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in dn_sendmsg() 1999 if (flags & MSG_DONTWAIT) { in dn_sendmsg() 2020 flags & MSG_DONTWAIT, &err); in dn_sendmsg()
|
| /Linux-v5.15/net/qrtr/ |
| D | qrtr.c | 905 if (msg->msg_flags & ~(MSG_DONTWAIT)) in qrtr_sendmsg() 957 msg->msg_flags & MSG_DONTWAIT, &rc); in qrtr_sendmsg() 1038 skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, in qrtr_recvmsg() 1039 flags & MSG_DONTWAIT, &rc); in qrtr_recvmsg()
|
| /Linux-v5.15/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.15/samples/bpf/ |
| D | xdpsock_user.c | 1118 ret = sendto(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, 0); in kick_tx() 1160 recvfrom(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, in complete_tx_l2fwd() 1207 recvfrom(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, NULL); in rx_drop() 1218 recvfrom(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, NULL); in rx_drop() 1372 recvfrom(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, NULL); in l2fwd()
|
| /Linux-v5.15/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.15/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.15/net/tls/ |
| D | tls_sw.c | 926 long timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in tls_sw_sendmsg() 947 if (msg->msg_flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | in tls_sw_sendmsg() 1151 long timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in tls_sw_do_sendpage() 1267 if (flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | in tls_sw_sendpage_locked() 1281 if (flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL | in tls_sw_sendpage() 1789 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in tls_sw_recvmsg() 1799 skb = tls_wait_data(sk, psock, flags & MSG_DONTWAIT, timeo, &err); in tls_sw_recvmsg()
|
| /Linux-v5.15/net/bluetooth/ |
| D | af_bluetooth.c | 254 int noblock = flags & MSG_DONTWAIT; in bt_sock_recvmsg() 348 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in bt_sock_stream_recvmsg()
|
| /Linux-v5.15/net/tipc/ |
| D | topsrv.c | 268 msg.msg_flags = MSG_DONTWAIT; in tipc_conn_send_to_sock() 398 ret = sock_recvmsg(con->sock, &msg, MSG_DONTWAIT); in tipc_conn_rcv_from_sock()
|