Home
last modified time | relevance | path

Searched refs:MSG_ZEROCOPY (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dmsg_zerocopy.rst3 MSG_ZEROCOPY title
9 The MSG_ZEROCOPY flag enables copy avoidance for socket send calls.
18 such as sendpage 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 …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dudpgso_bench_tx.c46 #ifndef MSG_ZEROCOPY
47 #define MSG_ZEROCOPY 0x4000000 macro
263 cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_tcp()
283 ret = sendto(fd, data, len, cfg_zerocopy ? MSG_ZEROCOPY : 0, in send_udp()
355 ret = sendmmsg(fd, mmsgs, i, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_sendmmsg()
404 ret = sendmsg(fd, &msg, cfg_zerocopy ? MSG_ZEROCOPY : 0); in send_udp_segment()
H A Dtcp_mmap.c70 #ifndef MSG_ZEROCOPY
71 #define MSG_ZEROCOPY 0x4000000 macro
509 wr = send(fd, buffer, (size_t)wr, zflg ? MSG_ZEROCOPY : 0); in main()
H A Dmsg_zerocopy.c73 #ifndef MSG_ZEROCOPY
74 #define MSG_ZEROCOPY 0x4000000 macro
195 flags |= MSG_ZEROCOPY; in do_sendmsg()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dsocket.h243 MSG_ZEROCOPY = 0x4000000, /* Use user data in kernel path. */ enumerator
244 #define MSG_ZEROCOPY MSG_ZEROCOPY macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Dsocket.h243 MSG_ZEROCOPY = 0x4000000, /* Use user data in kernel path. */ enumerator
244 #define MSG_ZEROCOPY MSG_ZEROCOPY macro
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/tools/perf/trace/beauty/include/linux/
H A Dsocket.h313 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
/OK3568_Linux_fs/kernel/include/linux/
H A Dsocket.h313 #define MSG_ZEROCOPY 0x4000000 /* Use user data in kernel path */ macro
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dip_output.c1028 if (flags & MSG_ZEROCOPY && length && sock_flag(sk, SOCK_ZEROCOPY)) { in __ip_append_data()
H A Dtcp.c1207 if (flags & MSG_ZEROCOPY && size && sock_flag(sk, SOCK_ZEROCOPY)) { in tcp_sendmsg_locked()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dip6_output.c1550 if (flags & MSG_ZEROCOPY && length && sock_flag(sk, SOCK_ZEROCOPY)) { in __ip6_append_data()