/kernel/linux/linux-5.10/net/rxrpc/ |
D | recvmsg.c | 399 if (!(flags & MSG_PEEK)) { in rxrpc_recvmsg_data() 453 if (!(flags & MSG_PEEK)) in rxrpc_recvmsg_data() 468 if (!(flags & MSG_PEEK)) { in rxrpc_recvmsg_data() 549 if (!(flags & MSG_PEEK)) in rxrpc_recvmsg() 624 if (!(flags & MSG_PEEK)) in rxrpc_recvmsg() 643 if (!(flags & MSG_PEEK)) { in rxrpc_recvmsg()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/net/llc/ |
D | af_llc.c | 778 if (flags & MSG_PEEK) { in llc_ui_recvmsg() 818 (flags & MSG_PEEK)) in llc_ui_recvmsg() 854 if ((flags & MSG_PEEK) && peek_seq != llc->copied_seq) { in llc_ui_recvmsg() 886 if (!(flags & MSG_PEEK)) { in llc_ui_recvmsg() 908 if (!(flags & MSG_PEEK)) { in llc_ui_recvmsg()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/net/phonet/ |
D | datagram.c | 122 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()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
D | socket.h | 184 #define MSG_PEEK 0x0002 macro
|
/kernel/linux/linux-5.10/tools/testing/vsock/ |
D | vsock_test.c | 277 recv_byte(fd, 1, MSG_PEEK); in test_stream_msg_peek_server()
|
/kernel/linux/linux-5.10/include/linux/ |
D | socket.h | 288 #define MSG_PEEK 2 macro
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 287 #define MSG_PEEK 2 macro
|
/kernel/linux/linux-5.10/net/atm/ |
D | common.c | 534 if (flags & ~(MSG_DONTWAIT | MSG_PEEK)) in vcc_recvmsg() 558 if (!(flags & MSG_PEEK)) { in vcc_recvmsg()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp.c | 1476 if (!(flags & MSG_PEEK)) in tcp_recv_urg() 2132 if (!(flags & MSG_PEEK)) in tcp_recvmsg() 2146 if (flags & MSG_PEEK) { in tcp_recvmsg() 2189 WARN(!(flags & MSG_PEEK), in tcp_recvmsg() 2247 if ((flags & MSG_PEEK) && in tcp_recvmsg() 2312 if (!(flags & MSG_PEEK)) in tcp_recvmsg() 2319 if (!(flags & MSG_PEEK)) in tcp_recvmsg()
|
D | tcp_bpf.c | 17 int peek = flags & MSG_PEEK; in __tcp_bpf_recvmsg()
|
/kernel/linux/linux-5.10/net/dccp/ |
D | proto.c | 835 if (!(flags & MSG_PEEK)) in dccp_recvmsg() 902 if (!(flags & MSG_PEEK)) in dccp_recvmsg()
|
/kernel/linux/linux-5.10/net/nfc/ |
D | llcp_sock.c | 862 if (!(flags & MSG_PEEK)) in llcp_sock_recvmsg() 886 if (!(flags & MSG_PEEK)) { in llcp_sock_recvmsg()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | tcp_nip.c | 1705 WARN(!(flags & MSG_PEEK), in tcp_nip_recvmsg() 1790 if (!(flags & MSG_PEEK)) in tcp_nip_recvmsg() 1797 if (!(flags & MSG_PEEK)) in tcp_nip_recvmsg()
|
/kernel/linux/linux-5.10/net/decnet/ |
D | af_decnet.c | 1700 if (flags & ~(MSG_CMSG_COMPAT|MSG_PEEK|MSG_OOB|MSG_WAITALL|MSG_DONTWAIT|MSG_NOSIGNAL)) { in dn_recvmsg() 1767 if (!(flags & MSG_PEEK)) in dn_recvmsg() 1807 rv = (flags & MSG_PEEK) ? -sk->sk_err : sock_error(sk); in dn_recvmsg()
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | af_bluetooth.c | 395 if (!(flags & MSG_PEEK)) { in bt_sock_stream_recvmsg()
|
/kernel/linux/linux-5.10/net/vmw_vsock/ |
D | hyperv_transport.c | 595 if (flags & MSG_PEEK) in hvs_stream_dequeue()
|
D | af_vsock.c | 1980 !(flags & MSG_PEEK), &recv_data); in vsock_stream_recvmsg() 1984 if (read >= target || flags & MSG_PEEK) in vsock_stream_recvmsg()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/net/unix/ |
D | af_unix.c | 2171 if (!(flags & MSG_PEEK)) in unix_dgram_recvmsg() 2219 if (!(flags & MSG_PEEK)) { in unix_dgram_recvmsg() 2462 if (!(flags & MSG_PEEK)) { in unix_stream_read_generic()
|
/kernel/linux/linux-5.10/net/rds/ |
D | recv.c | 701 if (!rds_still_queued(rs, inc, !(msg_flags & MSG_PEEK))) { in rds_recvmsg()
|
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
D | socket.c | 148 if (flags & MSG_PEEK) in mISDN_sock_recvmsg()
|