Searched refs:MSG_ZEROCOPY (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/Documentation/networking/ |
H A D | msg_zerocopy.rst | 3 MSG_ZEROCOPY title 9 The MSG_ZEROCOPY flag enables copy avoidance for socket send calls. 18 such as sendfile and splice. The MSG_ZEROCOPY flag extends the 23 notification overhead. As a result, MSG_ZEROCOPY is generally only 34 Converting an existing application to MSG_ZEROCOPY is not always as 52 [PATCH net-next v4 0/9] socket sendmsg MSG_ZEROCOPY 59 Passing the MSG_ZEROCOPY flag is the most obvious step to enable copy 83 ret = send(fd, buf, sizeof(buf), MSG_ZEROCOPY); 108 MSG_ZEROCOPY that successfully sends data increments the counter. The 208 Passing flag MSG_ZEROCOPY is a hint to the kernel to apply copy [all …]
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | msg_flags.c | 14 #ifndef MSG_ZEROCOPY 15 #define MSG_ZEROCOPY 0x4000000 macro
|
/openbmc/linux/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 | 71 #ifndef MSG_ZEROCOPY 72 #define MSG_ZEROCOPY 0x4000000 macro 598 (size_t)wr, zflg ? MSG_ZEROCOPY : 0); in main()
|
H A D | msg_zerocopy.c | 73 #ifndef MSG_ZEROCOPY 74 #define MSG_ZEROCOPY 0x4000000 macro 197 flags |= MSG_ZEROCOPY; in do_sendmsg()
|
/openbmc/qemu/io/ |
H A D | channel-socket.c | 33 #if (defined(MSG_ZEROCOPY) && defined(SO_ZEROCOPY)) 595 sflags = MSG_ZEROCOPY; in qio_channel_socket_writev()
|
/openbmc/linux/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()
|
/openbmc/linux/tools/perf/trace/beauty/include/linux/ |
H A D | socket.h | 329 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
|
/openbmc/linux/include/linux/ |
H A D | socket.h | 329 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
|
/openbmc/linux/io_uring/ |
H A D | net.c | 1217 msg_flags = zc->msg_flags | MSG_ZEROCOPY; in io_send_zc() 1291 flags = sr->msg_flags | MSG_ZEROCOPY; in io_sendmsg_zc()
|
/openbmc/linux/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() 1224 } else if (zc == MSG_ZEROCOPY) { in tcp_sendmsg_locked()
|
H A D | ip_output.c | 1012 if ((flags & MSG_ZEROCOPY) && length) { in __ip_append_data()
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_output.c | 1579 if ((flags & MSG_ZEROCOPY) && length) { in __ip6_append_data()
|