/linux-6.12.1/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, (arg->flags & O_NONBLOCK) ? MSG_DONTWAIT : 0, in pep_sock_accept() 1148 if ((msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL| in pep_sendmsg() 1154 flags & MSG_DONTWAIT, &err); in pep_sendmsg() 1164 timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT); in pep_sendmsg() 1269 if (flags & ~(MSG_OOB|MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_WAITALL| in pep_recvmsg()
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | netlink-dumps.c | 58 n = recv(netlink_sock, buf, sizeof(buf), MSG_DONTWAIT); in TEST() 61 n = recv(netlink_sock, buf, sizeof(buf), MSG_DONTWAIT); in TEST()
|
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 | 195 flags = MSG_DONTWAIT; in do_sendmsg() 374 if (recvmsg(fd, &msg, MSG_DONTWAIT)) in do_recvmsg_completion() 616 ret = recv(fd, NULL, 1 << 21, MSG_TRUNC | MSG_DONTWAIT); in do_flush_tcp() 635 ret = recv(fd, buf, sizeof(buf), MSG_DONTWAIT | MSG_TRUNC); in do_flush_datagram()
|
D | udpgso.c | 395 if (ret == -1 && errno == EAGAIN && (flags & MSG_DONTWAIT)) in recv_one() 466 ret = recv_one(fdr, MSG_DONTWAIT); in run_one()
|
/linux-6.12.1/net/xfrm/ |
D | espintcp.c | 278 return flags & MSG_DONTWAIT ? -EAGAIN : 0; in espintcp_push_msgs() 324 long timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg() 333 if (msg->msg_flags & ~MSG_DONTWAIT) in espintcp_sendmsg() 344 err = espintcp_push_msgs(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg() 346 if (err != -EAGAIN || !(msg->msg_flags & MSG_DONTWAIT)) in espintcp_sendmsg() 384 err = espintcp_push_msgs(sk, msg->msg_flags & MSG_DONTWAIT); in espintcp_sendmsg()
|
/linux-6.12.1/net/mctp/test/ |
D | route-test.c | 367 skb2 = skb_recv_datagram(sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_sk() 375 skb2 = skb_recv_datagram(sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_sk() 437 skb2 = skb_recv_datagram(sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_sk_reasm() 598 skb2 = skb_recv_datagram(sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_sk_keys() 739 rx_skb1 = skb_recv_datagram(t1.sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_multiple_nets_bind() 747 rx_skb2 = skb_recv_datagram(t2.sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_multiple_nets_bind() 820 rx_skb1 = skb_recv_datagram(t1.sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_multiple_nets_key() 828 rx_skb2 = skb_recv_datagram(t2.sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_multiple_nets_key()
|
/linux-6.12.1/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-6.12.1/io_uring/ |
D | net.c | 426 if (sr->msg_flags & MSG_DONTWAIT) in io_sendmsg_prep() 544 flags |= MSG_DONTWAIT; in io_sendmsg() 594 flags |= MSG_DONTWAIT; in io_send() 790 if (sr->msg_flags & MSG_DONTWAIT) in io_recvmsg_prep() 934 flags |= MSG_DONTWAIT; in io_recvmsg_multishot() 994 flags |= MSG_DONTWAIT; in io_recvmsg() 1148 flags |= MSG_DONTWAIT; in io_recv() 1282 if (zc->msg_flags & MSG_DONTWAIT) in io_send_zc_prep() 1392 msg_flags |= MSG_DONTWAIT; in io_send_zc() 1454 flags |= MSG_DONTWAIT; in io_sendmsg_zc()
|
/linux-6.12.1/net/handshake/ |
D | alert.c | 54 msg.msg_flags = MSG_DONTWAIT; in tls_alert_send()
|
/linux-6.12.1/net/caif/ |
D | caif_socket.c | 366 timeo = sock_rcvtimeo(sk, flags&MSG_DONTWAIT); in caif_stream_recvmsg() 537 noblock = msg->msg_flags & MSG_DONTWAIT; in caif_seqpkt_sendmsg() 603 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in caif_stream_sendmsg() 626 msg->msg_flags&MSG_DONTWAIT, in caif_stream_sendmsg() 647 msg->msg_flags&MSG_DONTWAIT, timeo); in caif_stream_sendmsg()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_metadata.c | 213 ret = sendto(xsk_socket__fd(xsk->socket), NULL, 0, MSG_DONTWAIT, NULL, 0); in generate_packet() 236 err = sendto(sock_fd, udp_payload, UDP_PAYLOAD_BYTES, MSG_DONTWAIT, in generate_packet_inet() 290 ret = recvfrom(xsk_socket__fd(xsk->socket), NULL, 0, MSG_DONTWAIT, NULL, NULL); in verify_xsk_metadata()
|
/linux-6.12.1/drivers/infiniband/sw/siw/ |
D | siw_qp_tx.c | 322 .msg_flags = (MSG_MORE | MSG_DONTWAIT | MSG_SPLICE_PAGES), in siw_tcp_sendpages() 438 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_EOR }; in siw_tx_hdt() 448 rv = siw_tx_ctrl(c_tx, s, MSG_DONTWAIT | MSG_MORE); in siw_tx_hdt() 873 msg_flags = MSG_DONTWAIT; in siw_qp_sq_proc_tx() 875 msg_flags = MSG_DONTWAIT | MSG_MORE; in siw_qp_sq_proc_tx()
|
/linux-6.12.1/tools/testing/vsock/ |
D | vsock_test.c | 310 recv_buf(fd, buf_peek, sizeof(buf_peek), MSG_PEEK | MSG_DONTWAIT, in test_msg_peek_server() 895 recv_buf(fd, buf, sizeof(buf), MSG_DONTWAIT, RCVLOWAT_BUF_SIZE); in test_stream_poll_rcvlowat_client() 933 recv_buf(fd, data, sizeof(data), MSG_DONTWAIT, expected_ret); in test_inv_buf_client() 1043 recv_buf(fd, buf + read, to_read, MSG_DONTWAIT, -EAGAIN); in test_stream_virtio_skb_merge_server() 1458 recv_buf(fd, buf, recv_buf_size, MSG_DONTWAIT, recv_buf_size); in test_stream_credit_update_test()
|
/linux-6.12.1/net/ipv4/ |
D | tcp_bpf.c | 299 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in tcp_bpf_recvmsg_parser() 359 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in tcp_bpf_recvmsg() 513 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-6.12.1/net/vmw_vsock/ |
D | vsock_bpf.c | 95 long timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in vsock_bpf_recvmsg()
|
/linux-6.12.1/drivers/nvme/target/ |
D | tcp.c | 607 .msg_flags = MSG_DONTWAIT | MSG_MORE | MSG_SPLICE_PAGES, in nvmet_try_send_data_pdu() 638 .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES, in nvmet_try_send_data() 687 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES, }; in nvmet_try_send_response() 717 struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_SPLICE_PAGES, }; in nvmet_try_send_r2t() 747 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_try_send_ddgst() 1182 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_tcp_try_recv_pdu() 1287 struct msghdr msg = { .msg_flags = MSG_DONTWAIT }; in nvmet_tcp_try_recv_ddgst() 1492 c->recv_msg.msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL; in nvmet_tcp_alloc_cmd()
|
/linux-6.12.1/net/x25/ |
D | x25_out.c | 52 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output()
|
/linux-6.12.1/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-6.12.1/net/unix/ |
D | unix_bpf.c | 81 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in unix_bpf_recvmsg()
|
D | af_unix.c | 1765 skb = skb_recv_datagram(sk, (arg->flags & O_NONBLOCK) ? MSG_DONTWAIT : 0, in unix_accept() 2028 msg->msg_flags & MSG_DONTWAIT, &err, in unix_dgram_sendmsg() 2044 timeo = sock_sndtimeo(sk, msg->msg_flags & MSG_DONTWAIT); in unix_dgram_sendmsg() 2198 skb = sock_alloc_send_skb(sock->sk, 1, msg->msg_flags & MSG_DONTWAIT, &err); in queue_oob() 2287 msg->msg_flags & MSG_DONTWAIT, in unix_stream_sendmsg() 2301 msg->msg_flags & MSG_DONTWAIT, &err, in unix_stream_sendmsg() 2429 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in __unix_dgram_recvmsg() 2547 skb = skb_recv_datagram(sk, MSG_DONTWAIT, &err); in unix_read_skb() 2717 skb = skb_recv_datagram(sk, MSG_DONTWAIT, &err); in unix_stream_read_skb() 2762 int noblock = flags & MSG_DONTWAIT; in unix_stream_read_generic() [all …]
|
/linux-6.12.1/drivers/vhost/ |
D | net.c | 752 .msg_flags = MSG_DONTWAIT, in handle_tx_copy() 842 .msg_flags = MSG_DONTWAIT, in handle_tx_zerocopy() 1098 .msg_flags = MSG_DONTWAIT, in handle_rx() 1167 1, MSG_DONTWAIT | MSG_TRUNC); in handle_rx() 1181 sock_len, MSG_DONTWAIT | MSG_TRUNC); in handle_rx()
|
/linux-6.12.1/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()
|