Home
last modified time | relevance | path

Searched refs:MSG_TRUNC (Results 1 – 25 of 82) sorted by relevance

1234

/OK3568_Linux_fs/kernel/net/phonet/
H A Ddatagram.c122 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()
H A Dpep.c1246 if (flags & ~(MSG_OOB|MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_WAITALL| in pep_recvmsg()
1285 msg->msg_flags |= MSG_TRUNC; in pep_recvmsg()
1291 err = (flags & MSG_TRUNC) ? skb->len : len; in pep_recvmsg()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dsocket.h217 MSG_TRUNC = 0x20, enumerator
218 #define MSG_TRUNC MSG_TRUNC macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Dsocket.h217 MSG_TRUNC = 0x20, enumerator
218 #define MSG_TRUNC MSG_TRUNC macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dudpgso_bench_rx.c171 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()
H A Dipv6_flowlabel.c97 if (msg.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) in do_recv()
H A Dmsg_zerocopy.c609 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()
H A Drxtimestamp.c204 if (hdr.msg_flags & (MSG_TRUNC | MSG_CTRUNC)) in do_recv()
/OK3568_Linux_fs/kernel/net/smc/
H A Dsmc_rx.c235 if (!(flags & MSG_TRUNC)) in smc_rx_recv_urg()
248 msg->msg_flags |= MSG_TRUNC; in smc_rx_recv_urg()
394 if (!(flags & MSG_TRUNC)) { in smc_rx_recvmsg()
/OK3568_Linux_fs/kernel/net/sunrpc/
H A Dxprtsock.c415 if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_xdr_buf()
438 if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_xdr_buf()
454 if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_xdr_buf()
526 msg->msg_flags |= MSG_TRUNC; in xs_read_stream_request()
571 if (msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_stream_call()
597 msg->msg_flags |= MSG_TRUNC; in xs_read_stream_reply()
606 if (msg->msg_flags & (MSG_EOR|MSG_TRUNC)) in xs_read_stream_reply()
640 msg.msg_flags |= MSG_TRUNC; in xs_read_stream()
648 if (msg.msg_flags & MSG_TRUNC) { in xs_read_stream()
656 if (!(msg.msg_flags & MSG_TRUNC)) in xs_read_stream()
/OK3568_Linux_fs/kernel/net/ieee802154/
H A Dsocket.c329 msg->msg_flags |= MSG_TRUNC; in raw_recvmsg()
339 if (flags & MSG_TRUNC) in raw_recvmsg()
723 msg->msg_flags |= MSG_TRUNC; in dgram_recvmsg()
753 if (flags & MSG_TRUNC) in dgram_recvmsg()
/OK3568_Linux_fs/app/forlinx/quectelCM/libmnl/
H A Dsocket.c278 if (msg.msg_flags & MSG_TRUNC) { in mnl_socket_recvfrom()
/OK3568_Linux_fs/kernel/net/l2tp/
H A Dl2tp_ip.c535 msg->msg_flags |= MSG_TRUNC; in l2tp_ip_recvmsg()
555 if (flags & MSG_TRUNC) in l2tp_ip_recvmsg()
H A Dl2tp_ip6.c681 msg->msg_flags |= MSG_TRUNC; in l2tp_ip6_recvmsg()
707 if (flags & MSG_TRUNC) in l2tp_ip6_recvmsg()
/OK3568_Linux_fs/kernel/net/xfrm/
H A Despintcp.c155 msg->msg_flags |= MSG_TRUNC; in espintcp_recvmsg()
163 if (flags & MSG_TRUNC) in espintcp_recvmsg()
/OK3568_Linux_fs/kernel/net/bluetooth/
H A Daf_bluetooth.c277 msg->msg_flags |= MSG_TRUNC; in bt_sock_recvmsg()
296 if (flags & MSG_TRUNC) in bt_sock_recvmsg()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Draw.c487 msg->msg_flags |= MSG_TRUNC; in rawv6_recvmsg()
492 } else if (msg->msg_flags&MSG_TRUNC) { in rawv6_recvmsg()
521 if (flags & MSG_TRUNC) in rawv6_recvmsg()
/OK3568_Linux_fs/kernel/drivers/net/
H A Dtap.c1224 if (flags & ~(MSG_DONTWAIT|MSG_TRUNC)) { in tap_recvmsg()
1230 m->msg_flags |= MSG_TRUNC; in tap_recvmsg()
1231 ret = flags & MSG_TRUNC ? ret : total_len; in tap_recvmsg()
/OK3568_Linux_fs/kernel/net/rds/
H A Drecv.c710 if (msg_flags & MSG_TRUNC) in rds_recvmsg()
712 msg->msg_flags |= MSG_TRUNC; in rds_recvmsg()
/OK3568_Linux_fs/kernel/net/can/
H A Disotp.c1019 if (flags & ~(MSG_DONTWAIT | MSG_TRUNC | MSG_PEEK)) in isotp_recvmsg()
1031 msg->msg_flags |= MSG_TRUNC; in isotp_recvmsg()
1048 ret = (flags & MSG_TRUNC) ? skb->len : size; in isotp_recvmsg()
/OK3568_Linux_fs/kernel/tools/perf/trace/beauty/include/linux/
H A Dsocket.h292 #define MSG_TRUNC 0x20 macro
/OK3568_Linux_fs/kernel/include/linux/
H A Dsocket.h292 #define MSG_TRUNC 0x20 macro
/OK3568_Linux_fs/kernel/net/nfc/
H A Drawsock.c255 msg->msg_flags |= MSG_TRUNC; in rawsock_recvmsg()
/OK3568_Linux_fs/kernel/net/caif/
H A Dcaif_socket.c289 m->msg_flags |= MSG_TRUNC; in caif_seqpkt_recvmsg()
297 ret = (flags & MSG_TRUNC) ? skb->len : copylen; in caif_seqpkt_recvmsg()
/OK3568_Linux_fs/kernel/net/dccp/
H A Dproto.c892 msg->msg_flags |= MSG_TRUNC; in dccp_recvmsg()
899 if (flags & MSG_TRUNC) in dccp_recvmsg()

1234