/Linux-v6.6/net/rxrpc/ |
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()
|
/Linux-v6.6/tools/testing/selftests/net/af_unix/ |
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()
|
/Linux-v6.6/net/smc/ |
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()
|
/Linux-v6.6/net/core/ |
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()
|
/Linux-v6.6/net/llc/ |
D | af_llc.c | 781 if (flags & MSG_PEEK) { in llc_ui_recvmsg() 821 (flags & MSG_PEEK)) in llc_ui_recvmsg() 857 if ((flags & MSG_PEEK) && peek_seq != llc->copied_seq) { in llc_ui_recvmsg() 889 if (!(flags & MSG_PEEK)) { in llc_ui_recvmsg() 911 if (!(flags & MSG_PEEK)) { in llc_ui_recvmsg()
|
/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() 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()
|
/Linux-v6.6/net/phonet/ |
D | datagram.c | 119 if (flags & ~(MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_NOSIGNAL| in pn_recvmsg()
|
D | pep.c | 1246 if (flags & ~(MSG_OOB|MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_WAITALL| in pep_recvmsg() 1257 if (flags & MSG_PEEK) in pep_recvmsg()
|
/Linux-v6.6/tools/testing/selftests/net/ |
D | tls.c | 848 MSG_WAITALL | MSG_PEEK), in TEST_F() 1018 EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_PEEK), send_len); in TEST_F() 1035 EXPECT_NE(recv(self->cfd, buf, send_len, MSG_PEEK), -1); in TEST_F() 1059 EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); in TEST_F() 1086 EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); in TEST_F() 1109 MSG_PEEK | MSG_WAITALL)), -1); in TEST_F() 1461 buf, sizeof(buf), MSG_WAITALL | MSG_PEEK), in TEST_F()
|
/Linux-v6.6/net/unix/ |
D | af_unix.c | 2365 if (!(flags & MSG_PEEK)) in __unix_dgram_recvmsg() 2413 if (!(flags & MSG_PEEK)) { in __unix_dgram_recvmsg() 2554 if (!(state->flags & MSG_PEEK)) in unix_stream_recv_urg() 2561 if (!(state->flags & MSG_PEEK)) { in unix_stream_recv_urg() 2580 if (!unix_skb_len(skb) && !(flags & MSG_PEEK)) { in manage_oob() 2589 if (!(flags & MSG_PEEK)) { in manage_oob() 2593 } else if (!(flags & MSG_PEEK)) { in manage_oob() 2777 if (!(flags & MSG_PEEK)) { in unix_stream_read_generic()
|
/Linux-v6.6/include/linux/ |
D | socket.h | 304 #define MSG_PEEK 2 macro
|
/Linux-v6.6/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 304 #define MSG_PEEK 2 macro
|
/Linux-v6.6/include/trace/events/ |
D | sock.h | 318 !(__entry->flags & MSG_PEEK) ?
|
/Linux-v6.6/net/atm/ |
D | common.c | 534 if (flags & ~(MSG_DONTWAIT | MSG_PEEK)) in vcc_recvmsg() 558 if (!(flags & MSG_PEEK)) { in vcc_recvmsg()
|
/Linux-v6.6/net/dccp/ |
D | proto.c | 842 if (!(flags & MSG_PEEK)) in dccp_recvmsg() 909 if (!(flags & MSG_PEEK)) in dccp_recvmsg()
|
/Linux-v6.6/net/nfc/ |
D | llcp_sock.c | 862 if (!(flags & MSG_PEEK)) in llcp_sock_recvmsg() 886 if (!(flags & MSG_PEEK)) { in llcp_sock_recvmsg()
|
/Linux-v6.6/net/ipv4/ |
D | tcp.c | 1384 if (!(flags & MSG_PEEK)) in tcp_recv_urg() 2339 if (!(flags & MSG_PEEK)) in tcp_recvmsg_locked() 2353 if (flags & MSG_PEEK) { in tcp_recvmsg_locked() 2396 WARN(!(flags & MSG_PEEK), in tcp_recvmsg_locked() 2456 if ((flags & MSG_PEEK) && in tcp_recvmsg_locked() 2521 if (!(flags & MSG_PEEK)) in tcp_recvmsg_locked() 2528 if (!(flags & MSG_PEEK)) in tcp_recvmsg_locked()
|
D | tcp_bpf.c | 225 int peek = flags & MSG_PEEK; in tcp_bpf_recvmsg_parser()
|
/Linux-v6.6/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 576 ret = recv(fd, buf, cap, MSG_PEEK); in do_rnd_read() 579 ret = recv(fd, buf, cap, MSG_PEEK); in do_rnd_read()
|
/Linux-v6.6/net/vmw_vsock/ |
D | virtio_transport_common.c | 601 if (flags & MSG_PEEK) in virtio_transport_stream_dequeue() 613 if (flags & MSG_PEEK) in virtio_transport_seqpacket_dequeue()
|
D | hyperv_transport.c | 612 if (flags & MSG_PEEK) in hvs_stream_dequeue()
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | sockmap_basic.c | 509 recvd = recv(c1, rcv, sizeof(rcv), MSG_PEEK); in test_sockmap_skb_verdict_peek()
|
/Linux-v6.6/net/mctp/ |
D | af_mctp.c | 216 if (flags & ~(MSG_DONTWAIT | MSG_TRUNC | MSG_PEEK)) in mctp_recvmsg()
|
/Linux-v6.6/net/iucv/ |
D | af_iucv.c | 1257 if (!(flags & MSG_PEEK)) in iucv_sock_recvmsg() 1277 if (!(flags & MSG_PEEK)) in iucv_sock_recvmsg() 1283 if (!(flags & MSG_PEEK)) { in iucv_sock_recvmsg()
|
/Linux-v6.6/net/bluetooth/ |
D | af_bluetooth.c | 440 if (!(flags & MSG_PEEK)) { in bt_sock_stream_recvmsg()
|