/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
D | net_socket_test_012.cpp | 176 ret = recv(sfd, NULL, 1, MSG_DONTWAIT); in SocketNullTestInternal() 183 ret = recvfrom(sfd, NULL, 1, MSG_DONTWAIT, NULL, NULL); in SocketNullTestInternal() 187 ret = recvfrom(sfd, NULL, 1, MSG_DONTWAIT, NULL, &addrlen); in SocketNullTestInternal() 191 ret = recvfrom(sfd, NULL, 1, MSG_DONTWAIT, &addr, NULL); in SocketNullTestInternal() 196 ret = recvfrom(sfd, NULL, 1, MSG_DONTWAIT, bad, &zero); in SocketNullTestInternal() 203 ret = recvmsg(sfd, NULL, MSG_DONTWAIT); in SocketNullTestInternal() 209 ret = recvmsg(sfd, &message, MSG_DONTWAIT); in SocketNullTestInternal() 215 ret = recvmsg(sfd, &message, MSG_DONTWAIT); in SocketNullTestInternal() 221 ret = recvmsg(sfd, &message, MSG_DONTWAIT); in SocketNullTestInternal() 227 ret = recvmsg(sfd, &message, MSG_DONTWAIT); in SocketNullTestInternal()
|
/kernel/linux/linux-5.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 | 1125 if ((msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pep_sendmsg() 1131 flags & MSG_DONTWAIT, &err); in pep_sendmsg() 1141 timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in pep_sendmsg() 1246 if (flags & ~(MSG_OOB|MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_WAITALL| in pep_recvmsg()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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() 874 msg_flags = MSG_DONTWAIT; in siw_qp_sq_proc_tx() 876 msg_flags = MSG_DONTWAIT | MSG_MORE; in siw_qp_sq_proc_tx()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
D | tcp.c | 568 left, MSG_DONTWAIT | MSG_MORE | MSG_SENDPAGE_NOTLAST); in nvmet_try_send_data_pdu() 591 int flags = MSG_DONTWAIT; in nvmet_try_send_data() 639 int flags = MSG_DONTWAIT; in nvmet_try_send_response() 668 int flags = MSG_DONTWAIT; in nvmet_try_send_r2t() 694 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_try_send_ddgst() 1073 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_tcp_try_recv_pdu() 1163 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_tcp_try_recv_ddgst() 1323 c->recv_msg.msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; in nvmet_tcp_alloc_cmd()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
D | socket.h | 189 #define MSG_DONTWAIT 0x0040 macro
|
/kernel/linux/linux-5.10/net/x25/ |
D | x25_out.c | 52 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output()
|
/kernel/linux/linux-5.10/net/can/ |
D | raw.c | 804 msg->msg_flags & MSG_DONTWAIT, &err); in raw_sendmsg() 847 noblock = flags & MSG_DONTWAIT; in raw_recvmsg() 848 flags &= ~MSG_DONTWAIT; in raw_recvmsg()
|
D | isotp.c | 877 if (msg->msg_flags & MSG_DONTWAIT) { in isotp_sendmsg() 914 msg->msg_flags & MSG_DONTWAIT, &err); in isotp_sendmsg() 1016 int noblock = flags & MSG_DONTWAIT; in isotp_recvmsg() 1019 if (flags & ~(MSG_DONTWAIT | MSG_TRUNC | MSG_PEEK)) in isotp_recvmsg() 1025 flags &= ~MSG_DONTWAIT; in isotp_recvmsg()
|
/kernel/linux/linux-5.10/net/qrtr/ |
D | qrtr.c | 878 if (msg->msg_flags & ~(MSG_DONTWAIT)) in qrtr_sendmsg() 930 msg->msg_flags & MSG_DONTWAIT, &rc); in qrtr_sendmsg() 1011 skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, in qrtr_recvmsg() 1012 flags & MSG_DONTWAIT, &rc); in qrtr_recvmsg()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/net/mptcp/ |
D | mptcp_diag.c | 61 MSG_DONTWAIT); in mptcp_diag_dump_one()
|
/kernel/linux/linux-5.10/net/unix/ |
D | af_unix.c | 1741 msg->msg_flags & MSG_DONTWAIT, &err, in unix_dgram_sendmsg() 1757 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in unix_dgram_sendmsg() 1940 msg->msg_flags & MSG_DONTWAIT, &err, in unix_stream_sendmsg() 2014 newskb = sock_alloc_send_pskb(sk, 0, 0, flags & MSG_DONTWAIT, in unix_stream_sendpage() 2025 err = flags & MSG_DONTWAIT ? -EAGAIN : -ERESTARTSYS; in unix_stream_sendpage() 2162 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in unix_dgram_recvmsg() 2322 int noblock = flags & MSG_DONTWAIT; in unix_stream_read_generic() 2563 state.flags = MSG_DONTWAIT; in unix_stream_splice_read()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
D | sendmsg.c | 301 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in rxrpc_send_data() 362 sk, size, msg->msg_flags & MSG_DONTWAIT, &ret); in rxrpc_send_data() 491 if (msg->msg_flags & MSG_DONTWAIT) in rxrpc_send_data()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nfnetlink_cttimeout.c | 278 MSG_DONTWAIT); in cttimeout_get_timeout() 493 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in cttimeout_default_get()
|
/kernel/linux/linux-5.10/net/netrom/ |
D | af_netrom.c | 1048 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_CMSG_COMPAT)) in nr_sendmsg() 1100 if ((skb = sock_alloc_send_skb(sk, size, msg->msg_flags & MSG_DONTWAIT, &err)) == NULL) in nr_sendmsg() 1167 if ((skb = skb_recv_datagram(sk, flags & ~MSG_DONTWAIT, flags & MSG_DONTWAIT, &er)) == NULL) { in nr_recvmsg()
|
/kernel/linux/linux-5.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()
|