Searched refs:zflg (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | tcp_mmap.c | 81 static int zflg; /* zero copy option. (MSG_ZEROCOPY for sender, mmap() for receiver */ variable 173 if (zflg) { in child_thread() 177 zflg = 0; in child_thread() 187 if (zflg) { in child_thread() 262 if (zflg) in child_thread() 408 zflg = 1; in main() 498 if (zflg && setsockopt(fd, SOL_SOCKET, SO_ZEROCOPY, in main() 501 zflg = 0; in main() 509 wr = send(fd, buffer, (size_t)wr, zflg ? MSG_ZEROCOPY : 0); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | tcp_mmap.c | 86 static int zflg; /* zero copy option. (MSG_ZEROCOPY for sender, mmap() for receiver */ variable 196 if (zflg) { in child_thread() 200 zflg = 0; in child_thread() 218 if (zflg) { in child_thread() 318 if (zflg) in child_thread() 483 zflg = 1; in main() 576 if (zflg && setsockopt(fd, SOL_SOCKET, SO_ZEROCOPY, in main() 579 zflg = 0; in main() 598 (size_t)wr, zflg ? MSG_ZEROCOPY : 0); in main()
|
Completed in 2 milliseconds