Searched refs:zerocopied (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/vsock/ |
H A D | vsock_test_zerocopy.c | 37 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 D | msg_zerocopy_common.c | 27 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 D | msg_zerocopy_common.h | 16 void vsock_recv_completion(int fd, const bool *zerocopied);
|
/linux/tools/testing/selftests/net/ |
H A D | msg_zerocopy.c | 97 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()
|