Searched refs:MSG_ZEROCOPY (Results 1 - 15 of 15) sorted by relevance
/linux-master/tools/perf/trace/beauty/ |
H A D | msg_flags.c | 14 #ifndef MSG_ZEROCOPY 15 #define MSG_ZEROCOPY 0x4000000 macro
|
/linux-master/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); 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 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);
|
H A D | msg_zerocopy.c | 1 /* Evaluate MSG_ZEROCOPY 73 #ifndef MSG_ZEROCOPY 74 #define MSG_ZEROCOPY 0x4000000 macro 195 flags |= MSG_ZEROCOPY;
|
/linux-master/tools/testing/vsock/ |
H A D | vsock_test_zerocopy.c | 2 /* 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 D | vsock_perf.c | 264 printf("Run as sender MSG_ZEROCOPY\n"); 310 zerocopy ? MSG_ZEROCOPY : 0);
|
/linux-master/tools/perf/trace/beauty/include/linux/ |
H A D | socket.h | 329 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
|
/linux-master/include/linux/ |
H A D | socket.h | 330 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
|
/linux-master/net/vmw_vsock/ |
H A D | virtio_transport_common.c | 364 * 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 D | af_vsock.c | 1868 if (msg->msg_flags & MSG_ZEROCOPY &&
|
/linux-master/net/rds/ |
H A D | send.c | 958 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/net/ipv4/ |
H A D | tcp.c | 1059 if ((flags & MSG_ZEROCOPY) && size) { 1063 zc = MSG_ZEROCOPY; 1072 zc = MSG_ZEROCOPY; 1228 } else if (zc == MSG_ZEROCOPY) {
|
H A D | ip_output.c | 1008 if ((flags & MSG_ZEROCOPY) && length) {
|
/linux-master/io_uring/ |
H A D | net.c | 1257 zc->msg_flags = READ_ONCE(sqe->msg_flags) | MSG_NOSIGNAL | MSG_ZEROCOPY;
|
/linux-master/net/ipv6/ |
H A D | ip6_output.c | 1496 if ((flags & MSG_ZEROCOPY) && length) {
|
Completed in 387 milliseconds