Searched refs:MSG_DONTWAIT (Results 1 – 9 of 9) sorted by relevance
/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()
|
D | timestamping.c | 300 res = recvmsg(sock, &msg, recvmsg_flags|MSG_DONTWAIT); in recvpacket()
|
D | tls.c | 361 EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_DONTWAIT), -1); in TEST_F() 375 EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_DONTWAIT), -1); in TEST_F() 734 EXPECT_EQ(recv(self->cfd, buf, sizeof(buf), MSG_DONTWAIT), -1); in TEST_F()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | select_reuseport.c | 446 nread = recv(new_fd, &rcv_cmd, sizeof(rcv_cmd), MSG_DONTWAIT); in do_test() 454 nread = recv(srv_fd, &rcv_cmd, sizeof(rcv_cmd), MSG_DONTWAIT); in do_test()
|
/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 297 #define MSG_DONTWAIT 0x40 /* Nonblocking io */ macro
|
/tools/testing/selftests/bpf/ |
D | test_flow_dissector.c | 498 ret = recv(fd, &rbuf, 1, MSG_DONTWAIT); in do_rx()
|
D | xdpxceiver.c | 550 ret = sendto(xsk_socket__fd(xsk->xsk), NULL, 0, MSG_DONTWAIT, NULL, 0); in kick_tx()
|