/openbmc/linux/net/rxrpc/ |
H A D | recvmsg.c | 198 if (!(flags & MSG_PEEK)) in rxrpc_recvmsg_data() 256 if (!(flags & MSG_PEEK)) in rxrpc_recvmsg_data() 261 if (!(flags & MSG_PEEK)) { in rxrpc_recvmsg_data() 354 if (!(flags & MSG_PEEK)) in rxrpc_recvmsg() 428 if (!(flags & MSG_PEEK)) in rxrpc_recvmsg() 447 if (!(flags & MSG_PEEK)) { in rxrpc_recvmsg()
|
/openbmc/linux/tools/testing/selftests/net/af_unix/ |
H A D | test_unix_oob.c | 244 len = recv(pfd, buf, 1024, MSG_PEEK); in main() 268 len = recv(pfd, buf, 1024, MSG_PEEK); in main() 369 len = recv(pfd, buf, 1024, MSG_PEEK); in main() 401 len = recv(pfd, buf, 1024, MSG_PEEK); in main()
|
/openbmc/linux/net/smc/ |
H A D | smc_rx.c | 296 if (!(flags & MSG_PEEK)) in smc_rx_recv_urg() 310 if (!(flags & MSG_PEEK)) in smc_rx_recv_urg() 493 if (!(flags & MSG_PEEK)) { in smc_rx_recvmsg()
|
/openbmc/linux/net/core/ |
H A D | datagram.c | 175 if (unlikely(flags & MSG_PEEK && *off >= 0)) { in __skb_try_recv_from_queue() 182 if (flags & MSG_PEEK) { in __skb_try_recv_from_queue() 352 if (flags & MSG_PEEK) { in __sk_queue_drop_skb()
|
/openbmc/linux/net/llc/ |
H A D | af_llc.c | 783 if (flags & MSG_PEEK) { in llc_ui_recvmsg() 823 (flags & MSG_PEEK)) in llc_ui_recvmsg() 859 if ((flags & MSG_PEEK) && peek_seq != llc->copied_seq) { in llc_ui_recvmsg() 891 if (!(flags & MSG_PEEK)) { in llc_ui_recvmsg() 913 if (!(flags & MSG_PEEK)) { in llc_ui_recvmsg()
|
/openbmc/linux/tools/testing/vsock/ |
H A D | vsock_test.c | 318 res = recv(fd, buf_peek, sizeof(buf_peek), MSG_PEEK | MSG_DONTWAIT); in test_msg_peek_server() 332 res = recv(fd, buf_half, sizeof(buf_half), MSG_PEEK); in test_msg_peek_server() 340 res = recv(fd, buf_peek, sizeof(buf_peek), MSG_PEEK); in test_msg_peek_server() 358 res = recv(fd, buf_half, sizeof(buf_half), MSG_PEEK | in test_msg_peek_server()
|
/openbmc/linux/net/phonet/ |
H A D | datagram.c | 119 if (flags & ~(MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_NOSIGNAL| in pn_recvmsg()
|
H A D | pep.c | 1269 if (flags & ~(MSG_OOB|MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_WAITALL| in pep_recvmsg() 1280 if (flags & MSG_PEEK) in pep_recvmsg()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | tls.c | 862 MSG_WAITALL | MSG_PEEK), in TEST_F() 1032 EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_PEEK), send_len); in TEST_F() 1049 EXPECT_NE(recv(self->cfd, buf, send_len, MSG_PEEK), -1); in TEST_F() 1073 EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); in TEST_F() 1100 EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); in TEST_F() 1123 MSG_PEEK | MSG_WAITALL)), -1); in TEST_F() 1475 buf, sizeof(buf), MSG_WAITALL | MSG_PEEK), in TEST_F()
|
/openbmc/libpldm/src/transport/ |
H A D | af-mctp.c | 122 length = recv(af_mctp->socket, NULL, 0, MSG_PEEK | MSG_TRUNC); in pldm_transport_af_mctp_recv()
|
H A D | mctp-demux.c | 148 length = recv(demux->socket, NULL, 0, MSG_PEEK | MSG_TRUNC); in pldm_transport_mctp_demux_recv()
|
/openbmc/qemu/io/ |
H A D | channel-socket.c | 529 sflags |= MSG_PEEK; in qio_channel_socket_readv() 648 sflags |= MSG_PEEK; in qio_channel_socket_readv()
|
/openbmc/linux/tools/perf/trace/beauty/include/linux/ |
H A D | socket.h | 304 #define MSG_PEEK 2 macro
|
/openbmc/linux/include/linux/ |
H A D | socket.h | 304 #define MSG_PEEK 2 macro
|
/openbmc/linux/include/trace/events/ |
H A D | sock.h | 318 !(__entry->flags & MSG_PEEK) ?
|
/openbmc/linux/net/unix/ |
H A D | af_unix.c | 2344 if (!(flags & MSG_PEEK)) in __unix_dgram_recvmsg() 2392 if (!(flags & MSG_PEEK)) { in __unix_dgram_recvmsg() 2535 if (!(state->flags & MSG_PEEK)) in unix_stream_recv_urg() 2545 if (!(state->flags & MSG_PEEK)) in unix_stream_recv_urg() 2564 if (!unix_skb_len(skb) && !(flags & MSG_PEEK)) { in manage_oob() 2576 } else if (!(flags & MSG_PEEK)) { in manage_oob() 2812 if (!(flags & MSG_PEEK)) { in unix_stream_read_generic()
|
/openbmc/linux/net/atm/ |
H A D | common.c | 534 if (flags & ~(MSG_DONTWAIT | MSG_PEEK)) in vcc_recvmsg() 558 if (!(flags & MSG_PEEK)) { in vcc_recvmsg()
|
/openbmc/linux/net/dccp/ |
H A D | proto.c | 842 if (!(flags & MSG_PEEK)) in dccp_recvmsg() 909 if (!(flags & MSG_PEEK)) in dccp_recvmsg()
|
/openbmc/linux/net/nfc/ |
H A D | llcp_sock.c | 867 if (!(flags & MSG_PEEK)) in llcp_sock_recvmsg() 891 if (!(flags & MSG_PEEK)) { in llcp_sock_recvmsg()
|
/openbmc/linux/net/ipv4/ |
H A D | tcp.c | 1388 if (!(flags & MSG_PEEK)) in tcp_recv_urg() 2353 if (!(flags & MSG_PEEK)) in tcp_recvmsg_locked() 2367 if (flags & MSG_PEEK) { in tcp_recvmsg_locked() 2410 WARN(!(flags & MSG_PEEK), in tcp_recvmsg_locked() 2470 if ((flags & MSG_PEEK) && in tcp_recvmsg_locked() 2535 if (!(flags & MSG_PEEK)) in tcp_recvmsg_locked() 2542 if (!(flags & MSG_PEEK)) in tcp_recvmsg_locked()
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 577 ret = recv(fd, buf, cap, MSG_PEEK); in do_rnd_read() 580 ret = recv(fd, buf, cap, MSG_PEEK); in do_rnd_read()
|
/openbmc/linux/net/vmw_vsock/ |
H A D | virtio_transport_common.c | 610 if (flags & MSG_PEEK) in virtio_transport_stream_dequeue() 622 if (flags & MSG_PEEK) in virtio_transport_seqpacket_dequeue()
|
H A D | hyperv_transport.c | 612 if (flags & MSG_PEEK) in hvs_stream_dequeue()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | 509 recvd = recv(c1, rcv, sizeof(rcv), MSG_PEEK); in test_sockmap_skb_verdict_peek()
|
/openbmc/libmctp/utils/ |
H A D | mctp-demux-daemon.c | 370 len = recv(client->sock, NULL, 0, MSG_PEEK | MSG_TRUNC); in client_process_recv()
|