/linux-5.19.10/net/phonet/ |
D | datagram.c | 122 if (flags & ~(MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_NOSIGNAL| in pn_recvmsg() 134 msg->msg_flags |= MSG_TRUNC; in pn_recvmsg() 144 rval = (flags & MSG_TRUNC) ? skb->len : copylen; in pn_recvmsg()
|
D | pep.c | 1247 if (flags & ~(MSG_OOB|MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_WAITALL| in pep_recvmsg() 1286 msg->msg_flags |= MSG_TRUNC; in pep_recvmsg() 1292 err = (flags & MSG_TRUNC) ? skb->len : len; in pep_recvmsg()
|
/linux-5.19.10/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 171 ret = recv(fd, NULL, 1 << 21, MSG_TRUNC | MSG_DONTWAIT); in do_flush_tcp() 234 ret = recvmsg(fd, &msg, MSG_TRUNC | MSG_DONTWAIT); in recv_msg() 259 ret = recv(fd, rbuf, len, MSG_TRUNC | MSG_DONTWAIT); in do_flush_udp()
|
D | ipv6_flowlabel.c | 97 if (msg.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) in do_recv()
|
D | msg_zerocopy.c | 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 | rxtimestamp.c | 204 if (hdr.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) in do_recv()
|
/linux-5.19.10/net/smc/ |
D | smc_rx.c | 238 if (!(flags & MSG_TRUNC)) in smc_rx_recv_urg() 251 msg->msg_flags |= MSG_TRUNC; in smc_rx_recv_urg() 403 if (!(flags & MSG_TRUNC)) { in smc_rx_recvmsg()
|
/linux-5.19.10/net/mctp/ |
D | af_mctp.c | 216 if (flags & ~(MSG_DONTWAIT | MSG_TRUNC | MSG_PEEK)) in mctp_recvmsg() 233 msg->msg_flags |= MSG_TRUNC; in mctp_recvmsg() 273 if (flags & MSG_TRUNC) in mctp_recvmsg()
|
/linux-5.19.10/net/ieee802154/ |
D | socket.c | 323 msg->msg_flags |= MSG_TRUNC; in raw_recvmsg() 333 if (flags & MSG_TRUNC) in raw_recvmsg() 712 msg->msg_flags |= MSG_TRUNC; in dgram_recvmsg() 742 if (flags & MSG_TRUNC) in dgram_recvmsg()
|
/linux-5.19.10/net/sunrpc/ |
D | xprtsock.c | 421 if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_xdr_buf() 444 if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_xdr_buf() 460 if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_xdr_buf() 532 msg->msg_flags |= MSG_TRUNC; in xs_read_stream_request() 581 if (msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_stream_call() 607 msg->msg_flags |= MSG_TRUNC; in xs_read_stream_reply() 616 if (msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_stream_reply() 650 msg.msg_flags |= MSG_TRUNC; in xs_read_stream() 658 if (msg.msg_flags & MSG_TRUNC) { in xs_read_stream() 666 if (!(msg.msg_flags & MSG_TRUNC)) in xs_read_stream()
|
/linux-5.19.10/tools/testing/vsock/ |
D | vsock_test.c | 380 ssize_t ret = recvmsg(fd, &msg, MSG_TRUNC); in test_seqpacket_msg_trunc_server() 388 if (!(msg.msg_flags & MSG_TRUNC)) { in test_seqpacket_msg_trunc_server()
|
/linux-5.19.10/net/l2tp/ |
D | l2tp_ip.c | 537 msg->msg_flags |= MSG_TRUNC; in l2tp_ip_recvmsg() 557 if (flags & MSG_TRUNC) in l2tp_ip_recvmsg()
|
D | l2tp_ip6.c | 683 msg->msg_flags |= MSG_TRUNC; in l2tp_ip6_recvmsg() 709 if (flags & MSG_TRUNC) in l2tp_ip6_recvmsg()
|
/linux-5.19.10/net/xfrm/ |
D | espintcp.c | 153 msg->msg_flags |= MSG_TRUNC; in espintcp_recvmsg() 161 if (flags & MSG_TRUNC) in espintcp_recvmsg()
|
/linux-5.19.10/net/bluetooth/ |
D | af_bluetooth.c | 276 msg->msg_flags |= MSG_TRUNC; in bt_sock_recvmsg() 295 if (flags & MSG_TRUNC) in bt_sock_recvmsg()
|
/linux-5.19.10/net/ipv6/ |
D | raw.c | 453 msg->msg_flags |= MSG_TRUNC; in rawv6_recvmsg() 458 } else if (msg->msg_flags&MSG_TRUNC) { in rawv6_recvmsg() 487 if (flags & MSG_TRUNC) in rawv6_recvmsg()
|
/linux-5.19.10/net/rds/ |
D | recv.c | 710 if (msg_flags & MSG_TRUNC) in rds_recvmsg() 712 msg->msg_flags |= MSG_TRUNC; in rds_recvmsg()
|
/linux-5.19.10/drivers/net/ |
D | tap.c | 1237 if (flags & ~(MSG_DONTWAIT|MSG_TRUNC)) { in tap_recvmsg() 1243 m->msg_flags |= MSG_TRUNC; in tap_recvmsg() 1244 ret = flags & MSG_TRUNC ? ret : total_len; in tap_recvmsg()
|
/linux-5.19.10/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 300 #define MSG_TRUNC 0x20 macro
|
/linux-5.19.10/include/linux/ |
D | socket.h | 300 #define MSG_TRUNC 0x20 macro
|
/linux-5.19.10/net/nfc/ |
D | rawsock.c | 254 msg->msg_flags |= MSG_TRUNC; in rawsock_recvmsg()
|
/linux-5.19.10/net/can/ |
D | isotp.c | 1109 if (flags & ~(MSG_DONTWAIT | MSG_TRUNC | MSG_PEEK)) in isotp_recvmsg() 1120 msg->msg_flags |= MSG_TRUNC; in isotp_recvmsg() 1137 ret = (flags & MSG_TRUNC) ? skb->len : size; in isotp_recvmsg()
|
/linux-5.19.10/net/caif/ |
D | caif_socket.c | 284 m->msg_flags |= MSG_TRUNC; in caif_seqpkt_recvmsg() 292 ret = (flags & MSG_TRUNC) ? skb->len : copylen; in caif_seqpkt_recvmsg()
|
/linux-5.19.10/net/dccp/ |
D | proto.c | 881 msg->msg_flags |= MSG_TRUNC; in dccp_recvmsg() 888 if (flags & MSG_TRUNC) in dccp_recvmsg()
|
/linux-5.19.10/crypto/ |
D | algif_hash.c | 196 msg->msg_flags |= MSG_TRUNC; in hash_recvmsg()
|