/kernel/linux/linux-6.6/tools/perf/trace/beauty/ |
H A D | msg_flags.c | 14 #ifndef MSG_ZEROCOPY 15 #define MSG_ZEROCOPY 0x4000000 macro
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | udpgso_bench_tx.c | 46 #ifndef MSG_ZEROCOPY 47 #define MSG_ZEROCOPY 0x4000000 macro 279 cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_tcp() 299 ret = sendto(fd, data, len, cfg_zerocopy ? MSG_ZEROCOPY : 0, in send_udp() 371 ret = sendmmsg(fd, mmsgs, i, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_sendmmsg() 420 ret = sendmsg(fd, &msg, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_segment()
|
H A D | tcp_mmap.c | 23 * Note: -z option on sender uses MSG_ZEROCOPY, which forces a copy when packets go through loopback interface. 70 #ifndef MSG_ZEROCOPY 71 #define MSG_ZEROCOPY 0x4000000 macro 81 static int zflg; /* zero copy option. (MSG_ZEROCOPY for sender, mmap() for receiver */ 509 wr = send(fd, buffer, (size_t)wr, zflg ? MSG_ZEROCOPY : 0); in main()
|
H A D | msg_zerocopy.c | 1 /* Evaluate MSG_ZEROCOPY 73 #ifndef MSG_ZEROCOPY 74 #define MSG_ZEROCOPY 0x4000000 macro 195 flags |= MSG_ZEROCOPY; in do_sendmsg()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | udpgso_bench_tx.c | 46 #ifndef MSG_ZEROCOPY 47 #define MSG_ZEROCOPY 0x4000000 macro 279 cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_tcp() 299 ret = sendto(fd, data, len, cfg_zerocopy ? MSG_ZEROCOPY : 0, in send_udp() 371 ret = sendmmsg(fd, mmsgs, i, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_sendmmsg() 420 ret = sendmsg(fd, &msg, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_segment()
|
H A D | tcp_mmap.c | 23 * Note: -z option on sender uses MSG_ZEROCOPY, which forces a copy when packets go through loopback interface. 71 #ifndef MSG_ZEROCOPY 72 #define MSG_ZEROCOPY 0x4000000 macro 86 static int zflg; /* zero copy option. (MSG_ZEROCOPY for sender, mmap() for receiver */ 598 (size_t)wr, zflg ? MSG_ZEROCOPY : 0); in main()
|
H A D | msg_zerocopy.c | 1 /* Evaluate MSG_ZEROCOPY 73 #ifndef MSG_ZEROCOPY 74 #define MSG_ZEROCOPY 0x4000000 macro 195 flags |= MSG_ZEROCOPY; in do_sendmsg()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
H A D | socket.h | 201 #define MSG_ZEROCOPY 0x4000000 macro
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/ |
H A D | socket.h | 313 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
|
/kernel/linux/linux-5.10/net/rds/ |
H A D | send.c | 959 if ((msg->msg_flags & MSG_ZEROCOPY) && !zcopy_cookie) in rds_rm_size() 1118 bool zcopy = ((msg->msg_flags & MSG_ZEROCOPY) && in rds_sendmsg() 1132 if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_CMSG_COMPAT | MSG_ZEROCOPY)) { in rds_sendmsg()
|
/kernel/linux/linux-6.6/net/rds/ |
H A D | send.c | 958 if ((msg->msg_flags & MSG_ZEROCOPY) && !zcopy_cookie) in rds_rm_size() 1117 bool zcopy = ((msg->msg_flags & MSG_ZEROCOPY) && in rds_sendmsg() 1131 if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_CMSG_COMPAT | MSG_ZEROCOPY)) { in rds_sendmsg()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | socket.h | 317 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | socket.h | 329 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
|
/kernel/linux/linux-6.6/tools/perf/trace/beauty/include/linux/ |
H A D | socket.h | 329 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | net.c | 1215 msg_flags = zc->msg_flags | MSG_ZEROCOPY; in io_send_zc() 1288 flags = sr->msg_flags | MSG_ZEROCOPY; in io_sendmsg_zc()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp.c | 1052 if ((flags & MSG_ZEROCOPY) && size) { in tcp_sendmsg_locked() 1056 zc = MSG_ZEROCOPY; in tcp_sendmsg_locked() 1065 zc = MSG_ZEROCOPY; in tcp_sendmsg_locked() 1221 } else if (zc == MSG_ZEROCOPY) { in tcp_sendmsg_locked()
|
H A D | ip_output.c | 1010 if ((flags & MSG_ZEROCOPY) && length) { in __ip_append_data()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | ip_output.c | 1028 if (flags & MSG_ZEROCOPY && length && sock_flag(sk, SOCK_ZEROCOPY)) { in __ip_append_data()
|
H A D | tcp.c | 1221 if (flags & MSG_ZEROCOPY && size && sock_flag(sk, SOCK_ZEROCOPY)) { in tcp_sendmsg_locked()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | ip6_output.c | 1556 if (flags & MSG_ZEROCOPY && length && sock_flag(sk, SOCK_ZEROCOPY)) { in __ip6_append_data()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | ip6_output.c | 1568 if ((flags & MSG_ZEROCOPY) && length) { in __ip6_append_data()
|