/Linux-v5.10/net/rxrpc/ |
D | recvmsg.c | 401 if (!(flags & MSG_PEEK)) { in rxrpc_recvmsg_data() 455 if (!(flags & MSG_PEEK)) in rxrpc_recvmsg_data() 470 if (!(flags & MSG_PEEK)) { in rxrpc_recvmsg_data() 551 if (!(flags & MSG_PEEK)) in rxrpc_recvmsg() 626 if (!(flags & MSG_PEEK)) in rxrpc_recvmsg() 645 if (!(flags & MSG_PEEK)) { in rxrpc_recvmsg()
|
/Linux-v5.10/net/smc/ |
D | smc_rx.c | 231 if (!(flags & MSG_PEEK)) in smc_rx_recv_urg() 245 if (!(flags & MSG_PEEK)) in smc_rx_recv_urg() 424 if (!(flags & MSG_PEEK)) { in smc_rx_recvmsg()
|
D | smc_clc.c | 357 krflags = MSG_PEEK | MSG_WAITALL; in smc_clc_wait_msg()
|
/Linux-v5.10/net/core/ |
D | datagram.c | 177 if (unlikely(flags & MSG_PEEK && *off >= 0)) { in __skb_try_recv_from_queue() 184 if (flags & MSG_PEEK) { in __skb_try_recv_from_queue() 357 if (flags & MSG_PEEK) { in __sk_queue_drop_skb()
|
/Linux-v5.10/net/llc/ |
D | af_llc.c | 755 if (flags & MSG_PEEK) { in llc_ui_recvmsg() 795 (flags & MSG_PEEK)) in llc_ui_recvmsg() 831 if ((flags & MSG_PEEK) && peek_seq != llc->copied_seq) { in llc_ui_recvmsg() 863 if (!(flags & MSG_PEEK)) { in llc_ui_recvmsg() 885 if (!(flags & MSG_PEEK)) { in llc_ui_recvmsg()
|
/Linux-v5.10/tools/testing/selftests/net/ |
D | tls.c | 682 EXPECT_NE(recv(self->cfd, buf, send_len, MSG_PEEK), -1); in TEST_F() 699 EXPECT_NE(recv(self->cfd, buf, send_len, MSG_PEEK), -1); in TEST_F() 723 EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); in TEST_F() 750 EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); in TEST_F() 773 MSG_PEEK | MSG_WAITALL)), -1); in TEST_F() 1145 EXPECT_EQ(recvmsg(self->cfd, &msg, MSG_WAITALL | MSG_PEEK), send_len); in TEST_F()
|
/Linux-v5.10/net/phonet/ |
D | datagram.c | 122 if (flags & ~(MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_NOSIGNAL| in pn_recvmsg()
|
D | pep.c | 1243 if (flags & ~(MSG_OOB|MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_WAITALL| in pep_recvmsg() 1254 if (flags & MSG_PEEK) in pep_recvmsg()
|
/Linux-v5.10/tools/testing/vsock/ |
D | vsock_test.c | 277 recv_byte(fd, 1, MSG_PEEK); in test_stream_msg_peek_server()
|
/Linux-v5.10/include/linux/ |
D | socket.h | 287 #define MSG_PEEK 2 macro
|
/Linux-v5.10/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 287 #define MSG_PEEK 2 macro
|
/Linux-v5.10/net/nfc/ |
D | llcp_sock.c | 841 if (!(flags & MSG_PEEK)) in llcp_sock_recvmsg() 865 if (!(flags & MSG_PEEK)) { in llcp_sock_recvmsg()
|
/Linux-v5.10/net/atm/ |
D | common.c | 534 if (flags & ~(MSG_DONTWAIT | MSG_PEEK)) in vcc_recvmsg() 558 if (!(flags & MSG_PEEK)) { in vcc_recvmsg()
|
/Linux-v5.10/net/ipv4/ |
D | tcp.c | 1472 if (!(flags & MSG_PEEK)) in tcp_recv_urg() 2054 if (!(flags & MSG_PEEK)) in tcp_recvmsg() 2068 if (flags & MSG_PEEK) { in tcp_recvmsg() 2111 WARN(!(flags & MSG_PEEK), in tcp_recvmsg() 2169 if ((flags & MSG_PEEK) && in tcp_recvmsg() 2234 if (!(flags & MSG_PEEK)) in tcp_recvmsg() 2241 if (!(flags & MSG_PEEK)) in tcp_recvmsg()
|
D | tcp_bpf.c | 17 int peek = flags & MSG_PEEK; in __tcp_bpf_recvmsg()
|
/Linux-v5.10/net/dccp/ |
D | proto.c | 835 if (!(flags & MSG_PEEK)) in dccp_recvmsg() 902 if (!(flags & MSG_PEEK)) in dccp_recvmsg()
|
/Linux-v5.10/net/decnet/ |
D | af_decnet.c | 1703 if (flags & ~(MSG_CMSG_COMPAT|MSG_PEEK|MSG_OOB|MSG_WAITALL|MSG_DONTWAIT|MSG_NOSIGNAL)) { in dn_recvmsg() 1770 if (!(flags & MSG_PEEK)) in dn_recvmsg() 1810 rv = (flags & MSG_PEEK) ? -sk->sk_err : sock_error(sk); in dn_recvmsg()
|
/Linux-v5.10/net/vmw_vsock/ |
D | hyperv_transport.c | 599 if (flags & MSG_PEEK) in hvs_stream_dequeue()
|
D | af_vsock.c | 1957 !(flags & MSG_PEEK), &recv_data); in vsock_stream_recvmsg() 1961 if (read >= target || flags & MSG_PEEK) in vsock_stream_recvmsg()
|
/Linux-v5.10/net/bluetooth/ |
D | af_bluetooth.c | 390 if (!(flags & MSG_PEEK)) { in bt_sock_stream_recvmsg()
|
/Linux-v5.10/net/iucv/ |
D | af_iucv.c | 1276 if (!(flags & MSG_PEEK)) in iucv_sock_recvmsg() 1296 if (!(flags & MSG_PEEK)) in iucv_sock_recvmsg() 1302 if (!(flags & MSG_PEEK)) { in iucv_sock_recvmsg()
|
/Linux-v5.10/net/unix/ |
D | af_unix.c | 2102 if (!(flags & MSG_PEEK)) in unix_dgram_recvmsg() 2150 if (!(flags & MSG_PEEK)) { in unix_dgram_recvmsg() 2393 if (!(flags & MSG_PEEK)) { in unix_stream_read_generic()
|
/Linux-v5.10/net/rds/ |
D | recv.c | 701 if (!rds_still_queued(rs, inc, !(msg_flags & MSG_PEEK))) { in rds_recvmsg()
|
/Linux-v5.10/drivers/isdn/mISDN/ |
D | socket.c | 148 if (flags & MSG_PEEK) in mISDN_sock_recvmsg()
|
/Linux-v5.10/net/sctp/ |
D | ulpevent.c | 1066 skb = sctp_skb_recv_datagram(sk, MSG_PEEK, 1, &err); in sctp_ulpevent_read_nxtinfo()
|