/Linux-v6.6/net/phonet/ |
D | datagram.c | 76 if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pn_sendmsg() 90 msg->msg_flags & MSG_DONTWAIT, &err); in pn_sendmsg() 119 if (flags & ~(MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_NOSIGNAL| in pn_recvmsg()
|
D | pep.c | 775 skb = skb_recv_datagram(sk, (flags & O_NONBLOCK) ? MSG_DONTWAIT : 0, in pep_sock_accept() 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()
|
/Linux-v6.6/net/xfrm/ |
D | espintcp.c | 276 return flags & MSG_DONTWAIT ? -EAGAIN : 0; in espintcp_push_msgs() 322 long timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg() 331 if (msg->msg_flags & ~MSG_DONTWAIT) in espintcp_sendmsg() 342 err = espintcp_push_msgs(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg() 344 if (err != -EAGAIN || !(msg->msg_flags & MSG_DONTWAIT)) in espintcp_sendmsg() 382 err = espintcp_push_msgs(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg()
|
/Linux-v6.6/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 171 ret = recv(fd, NULL, 1 << 21, MSG_TRUNC | MSG_DONTWAIT); in do_flush_tcp() 233 ret = recvmsg(fd, &msg, MSG_TRUNC | MSG_DONTWAIT); in recv_msg() 257 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-v6.6/net/rds/ |
D | tcp_send.c | 63 .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL, in rds_tcp_sendmsg() 116 msg.msg_flags = MSG_SPLICE_PAGES | MSG_DONTWAIT | MSG_NOSIGNAL; in rds_tcp_xmit()
|
/Linux-v6.6/io_uring/ |
D | net.c | 283 if (sr->msg_flags & MSG_DONTWAIT) in io_sendmsg_prep() 323 flags |= MSG_DONTWAIT; in io_sendmsg() 400 flags |= MSG_DONTWAIT; in io_send() 586 if (sr->msg_flags & MSG_DONTWAIT) in io_recvmsg_prep() 718 flags |= MSG_DONTWAIT; in io_recvmsg_multishot() 810 flags |= MSG_DONTWAIT; in io_recvmsg() 916 flags |= MSG_DONTWAIT; in io_recv() 1033 if (zc->msg_flags & MSG_DONTWAIT) in io_send_zc_prep() 1160 msg_flags |= MSG_DONTWAIT; in io_send_zc() 1233 flags |= MSG_DONTWAIT; in io_sendmsg_zc()
|
/Linux-v6.6/net/mctp/test/ |
D | route-test.c | 355 skb2 = skb_recv_datagram(sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_sk() 363 skb2 = skb_recv_datagram(sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_sk() 426 skb2 = skb_recv_datagram(sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_sk_reasm() 585 skb2 = skb_recv_datagram(sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_sk_keys()
|
/Linux-v6.6/net/handshake/ |
D | alert.c | 54 msg.msg_flags = MSG_DONTWAIT; in tls_alert_send()
|
/Linux-v6.6/net/caif/ |
D | caif_socket.c | 365 timeo = sock_rcvtimeo(sk, flags&MSG_DONTWAIT); in caif_stream_recvmsg() 536 noblock = msg->msg_flags & MSG_DONTWAIT; in caif_seqpkt_sendmsg() 602 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in caif_stream_sendmsg() 625 msg->msg_flags&MSG_DONTWAIT, in caif_stream_sendmsg() 646 msg->msg_flags&MSG_DONTWAIT, timeo); in caif_stream_sendmsg()
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_metadata.c | 188 ret = sendto(xsk_socket__fd(xsk->socket), NULL, 0, MSG_DONTWAIT, NULL, 0); in generate_packet() 232 ret = recvfrom(xsk_socket__fd(xsk->socket), NULL, 0, MSG_DONTWAIT, NULL, NULL); in verify_xsk_metadata()
|
/Linux-v6.6/tools/testing/vsock/ |
D | vsock_test.c | 318 res = recv(fd, buf_peek, sizeof(buf_peek), MSG_PEEK | MSG_DONTWAIT); in test_msg_peek_server() 958 read_res = recv(fd, buf, sizeof(buf), MSG_DONTWAIT); in test_stream_poll_rcvlowat_client() 1002 ret = recv(fd, data, sizeof(data), MSG_DONTWAIT); in test_inv_buf_client() 1147 res = recv(fd, buf, sizeof(buf) - 8 - 2, MSG_DONTWAIT); in test_stream_virtio_skb_merge_server()
|
/Linux-v6.6/drivers/nvme/target/ |
D | tcp.c | 581 .msg_flags = MSG_DONTWAIT | MSG_MORE | MSG_SPLICE_PAGES, in nvmet_try_send_data_pdu() 612 .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES, in nvmet_try_send_data() 661 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES, }; in nvmet_try_send_response() 691 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES, }; in nvmet_try_send_r2t() 721 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_try_send_ddgst() 1104 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_tcp_try_recv_pdu() 1193 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_tcp_try_recv_ddgst() 1372 c->recv_msg.msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; in nvmet_tcp_alloc_cmd()
|
/Linux-v6.6/drivers/infiniband/sw/siw/ |
D | siw_qp_tx.c | 328 .msg_flags = (MSG_MORE | MSG_DONTWAIT | MSG_SPLICE_PAGES), in siw_tcp_sendpages() 442 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_EOR }; in siw_tx_hdt() 452 rv = siw_tx_ctrl(c_tx, s, MSG_DONTWAIT | MSG_MORE); in siw_tx_hdt() 883 msg_flags = MSG_DONTWAIT; in siw_qp_sq_proc_tx() 885 msg_flags = MSG_DONTWAIT | MSG_MORE; in siw_qp_sq_proc_tx()
|
/Linux-v6.6/net/ipv4/ |
D | tcp_bpf.c | 298 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in tcp_bpf_recvmsg_parser() 358 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in tcp_bpf_recvmsg() 512 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in tcp_bpf_sendmsg()
|
D | udp_bpf.c | 89 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in udp_bpf_recvmsg()
|
/Linux-v6.6/net/vmw_vsock/ |
D | vsock_bpf.c | 95 long timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in vsock_bpf_recvmsg()
|
/Linux-v6.6/net/x25/ |
D | x25_out.c | 52 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output()
|
/Linux-v6.6/net/unix/ |
D | unix_bpf.c | 78 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in unix_bpf_recvmsg()
|
D | af_unix.c | 1721 skb = skb_recv_datagram(sk, (flags & O_NONBLOCK) ? MSG_DONTWAIT : 0, in unix_accept() 1954 msg->msg_flags & MSG_DONTWAIT, &err, in unix_dgram_sendmsg() 1970 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in unix_dgram_sendmsg() 2124 skb = sock_alloc_send_skb(sock->sk, 1, msg->msg_flags & MSG_DONTWAIT, &err); in queue_oob() 2214 msg->msg_flags & MSG_DONTWAIT, in unix_stream_sendmsg() 2228 msg->msg_flags & MSG_DONTWAIT, &err, in unix_stream_sendmsg() 2356 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in __unix_dgram_recvmsg() 2469 skb = skb_recv_datagram(sk, MSG_DONTWAIT, &err); in unix_read_skb() 2621 int noblock = flags & MSG_DONTWAIT; in unix_stream_read_generic() 2899 state.flags = MSG_DONTWAIT; in unix_stream_splice_read()
|
/Linux-v6.6/net/rxrpc/ |
D | recvmsg.c | 296 timeo = sock_rcvtimeo(&rx->sk, flags & MSG_DONTWAIT); in rxrpc_recvmsg() 368 if (flags & MSG_DONTWAIT) in rxrpc_recvmsg()
|
/Linux-v6.6/net/core/ |
D | datagram.c | 274 sk_busy_loop(sk, flags & MSG_DONTWAIT); in __skb_try_recv_datagram() 292 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in __skb_recv_datagram()
|
/Linux-v6.6/net/mctp/ |
D | af_mctp.c | 161 msg->msg_flags & MSG_DONTWAIT, &rc); in mctp_sendmsg() 216 if (flags & ~(MSG_DONTWAIT | MSG_TRUNC | MSG_PEEK)) in mctp_recvmsg()
|
/Linux-v6.6/net/tipc/ |
D | topsrv.c | 271 msg.msg_flags = MSG_DONTWAIT; in tipc_conn_send_to_sock() 401 ret = sock_recvmsg(con->sock, &msg, MSG_DONTWAIT); in tipc_conn_rcv_from_sock()
|