Home
last modified time | relevance | path

Searched refs:zerocopied (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/vsock/
H A Dvsock_test_zerocopy.c37 bool zerocopied; member
53 .zerocopied = true,
65 .zerocopied = true,
79 .zerocopied = true,
91 .zerocopied = true,
103 .zerocopied = false,
117 .zerocopied = false,
132 .zerocopied = false,
199 vsock_recv_completion(fd, &test_data->zerocopied); in test_client()
H A Dmsg_zerocopy_common.c27 void vsock_recv_completion(int fd, const bool *zerocopied) in vsock_recv_completion() argument
75 if (!zerocopied) in vsock_recv_completion()
78 if (*zerocopied && (serr->ee_code & SO_EE_CODE_ZEROCOPY_COPIED)) { in vsock_recv_completion()
83 if (!*zerocopied && !(serr->ee_code & SO_EE_CODE_ZEROCOPY_COPIED)) { in vsock_recv_completion()
H A Dmsg_zerocopy_common.h16 void vsock_recv_completion(int fd, const bool *zerocopied);
/linux/tools/testing/selftests/net/
H A Dmsg_zerocopy.c97 static int zerocopied = -1; variable
447 if (zerocopied == -1) in do_recv_completion()
448 zerocopied = zerocopy; in do_recv_completion()
449 else if (zerocopied != zerocopy) { in do_recv_completion()
451 zerocopied = zerocopy; in do_recv_completion()
574 zerocopied == 1 ? 'y' : 'n'); in do_tx()