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

/linux-master/tools/perf/trace/beauty/
H A Dmsg_flags.c14 #ifndef MSG_ZEROCOPY
15 #define MSG_ZEROCOPY 0x4000000 macro
/linux-master/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);
299 ret = sendto(fd, data, len, cfg_zerocopy ? MSG_ZEROCOPY : 0,
371 ret = sendmmsg(fd, mmsgs, i, cfg_zerocopy ? MSG_ZEROCOPY : 0);
420 ret = sendmsg(fd, &msg, cfg_zerocopy ? MSG_ZEROCOPY : 0);
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);
H A Dmsg_zerocopy.c1 /* Evaluate MSG_ZEROCOPY
73 #ifndef MSG_ZEROCOPY
74 #define MSG_ZEROCOPY 0x4000000 macro
195 flags |= MSG_ZEROCOPY;
/linux-master/tools/testing/vsock/
H A Dvsock_test_zerocopy.c2 /* MSG_ZEROCOPY feature tests for vsock
39 * SO_ZEROCOPY, every MSG_ZEROCOPY transmission will behave
40 * like without MSG_ZEROCOPY flag.
174 sendmsg_res = sendmsg(fd, &msg, MSG_ZEROCOPY);
H A Dvsock_perf.c264 printf("Run as sender MSG_ZEROCOPY\n");
310 zerocopy ? MSG_ZEROCOPY : 0);
/linux-master/include/linux/
H A Dsocket.h329 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
/linux-master/tools/perf/trace/beauty/include/linux/
H A Dsocket.h329 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
/linux-master/net/vmw_vsock/
H A Dvirtio_transport_common.c364 * there is no MSG_ZEROCOPY flag set.
367 info->msg->msg_flags &= ~MSG_ZEROCOPY;
369 if (info->msg->msg_flags & MSG_ZEROCOPY)
395 * and MSG_ZEROCOPY mode is in use - we must allocate
398 if (info->msg && info->msg->msg_flags & MSG_ZEROCOPY &&
H A Daf_vsock.c1868 if (msg->msg_flags & MSG_ZEROCOPY &&
/linux-master/net/rds/
H A Dsend.c958 if ((msg->msg_flags & MSG_ZEROCOPY) && !zcopy_cookie)
1117 bool zcopy = ((msg->msg_flags & MSG_ZEROCOPY) &&
1131 if (msg->msg_flags & ~(MSG_DONTWAIT | MSG_CMSG_COMPAT | MSG_ZEROCOPY)) {
/linux-master/io_uring/
H A Dnet.c1217 msg_flags = zc->msg_flags | MSG_ZEROCOPY;
1291 flags = sr->msg_flags | MSG_ZEROCOPY;
/linux-master/net/ipv4/
H A Dtcp.c1053 if ((flags & MSG_ZEROCOPY) && size) {
1057 zc = MSG_ZEROCOPY;
1066 zc = MSG_ZEROCOPY;
1222 } else if (zc == MSG_ZEROCOPY) {
H A Dip_output.c1008 if ((flags & MSG_ZEROCOPY) && length) {
/linux-master/net/ipv6/
H A Dip6_output.c1496 if ((flags & MSG_ZEROCOPY) && length) {

Completed in 229 milliseconds