Home
last modified time | relevance | path

Searched refs:MSG_ZEROCOPY (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-6.6/tools/perf/trace/beauty/
H A Dmsg_flags.c14 #ifndef MSG_ZEROCOPY
15 #define MSG_ZEROCOPY 0x4000000 macro
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dudpgso_bench_tx.c46 #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 Dtcp_mmap.c23 * 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 Dmsg_zerocopy.c1 /* 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 Dudpgso_bench_tx.c46 #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 Dtcp_mmap.c23 * 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 Dmsg_zerocopy.c1 /* 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 Dsocket.h201 #define MSG_ZEROCOPY 0x4000000 macro
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/
H A Dsocket.h313 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
/kernel/linux/linux-5.10/net/rds/
H A Dsend.c959 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 Dsend.c958 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 Dsocket.h317 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
/kernel/linux/linux-6.6/include/linux/
H A Dsocket.h329 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
/kernel/linux/linux-6.6/tools/perf/trace/beauty/include/linux/
H A Dsocket.h329 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
/kernel/linux/linux-6.6/io_uring/
H A Dnet.c1215 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 Dtcp.c1052 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 Dip_output.c1010 if ((flags & MSG_ZEROCOPY) && length) { in __ip_append_data()
/kernel/linux/linux-5.10/net/ipv4/
H A Dip_output.c1028 if (flags & MSG_ZEROCOPY && length && sock_flag(sk, SOCK_ZEROCOPY)) { in __ip_append_data()
H A Dtcp.c1221 if (flags & MSG_ZEROCOPY && size && sock_flag(sk, SOCK_ZEROCOPY)) { in tcp_sendmsg_locked()
/kernel/linux/linux-5.10/net/ipv6/
H A Dip6_output.c1556 if (flags & MSG_ZEROCOPY && length && sock_flag(sk, SOCK_ZEROCOPY)) { in __ip6_append_data()
/kernel/linux/linux-6.6/net/ipv6/
H A Dip6_output.c1568 if ((flags & MSG_ZEROCOPY) && length) { in __ip6_append_data()

Completed in 35 milliseconds