Searched refs:results_fd (Results 1 - 2 of 2) sorted by relevance
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_tcp_check_syncookie_user.c | 120 static int run_test(int server_fd, int results_fd, bool xdp, argument 132 if (bpf_map_update_elem(results_fd, &key, &value, 0) < 0) { 137 if (bpf_map_update_elem(results_fd, &key_gen, &value_gen, 0) < 0) { 142 if (bpf_map_update_elem(results_fd, &key_mss, &value_mss, 0) < 0) { 157 if (bpf_map_lookup_elem(results_fd, &key, &value) < 0) { 167 if (bpf_map_lookup_elem(results_fd, &key_gen, &value_gen) < 0) { 179 if (bpf_map_lookup_elem(results_fd, &key_mss, &value_mss) < 0) {
|
/linux-master/tools/testing/selftests/net/ |
H A D | ipsec.c | 71 * results_fd is a pipe with test feedback from children. 73 static int results_fd[2]; variable 581 ret = write(results_fd[1], &tr, sizeof(tr)); 2235 ssize_t received = read(results_fd[0], &tr, sizeof(tr)); 2302 if (pipe2(results_fd, O_DIRECT) < 0) 2327 if (close(route_sock) || close(test_desc_fd[0]) || close(results_fd[1]))
|
Completed in 277 milliseconds