Home
last modified time | relevance | path

Searched refs:MSG_DONTWAIT (Results 1 – 25 of 121) sorted by relevance

12345

/linux-6.12.1/net/phonet/
Ddatagram.c76 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()
Dpep.c775 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/
Dnetlink-dumps.c58 n = recv(netlink_sock, buf, sizeof(buf), MSG_DONTWAIT); in TEST()
61 n = recv(netlink_sock, buf, sizeof(buf), MSG_DONTWAIT); in TEST()
Dudpgso_bench_rx.c171 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()
Dmsg_zerocopy.c195 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()
Dudpgso.c395 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/
Despintcp.c278 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/
Droute-test.c367 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/
Dtcp_send.c63 .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/
Dnet.c426 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/
Dalert.c54 msg.msg_flags = MSG_DONTWAIT; in tls_alert_send()
/linux-6.12.1/net/caif/
Dcaif_socket.c366 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/
Dxdp_metadata.c213 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/
Dsiw_qp_tx.c322 .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/
Dvsock_test.c310 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/
Dtcp_bpf.c299 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()
Dudp_bpf.c89 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in udp_bpf_recvmsg()
/linux-6.12.1/net/vmw_vsock/
Dvsock_bpf.c95 long timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in vsock_bpf_recvmsg()
/linux-6.12.1/drivers/nvme/target/
Dtcp.c607 .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/
Dx25_out.c52 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output()
/linux-6.12.1/net/rxrpc/
Drecvmsg.c296 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/
Dunix_bpf.c81 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); in unix_bpf_recvmsg()
Daf_unix.c1765 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/
Dnet.c752 .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/
Dtopsrv.c271 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()

12345