Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfd_array.c170 int extra_fds[2] = { -1, -1 }; in check_fd_array_cnt__fd_array_ok() local
175 extra_fds[0] = new_map(); in check_fd_array_cnt__fd_array_ok()
176 if (!ASSERT_GE(extra_fds[0], 0, "new_map")) in check_fd_array_cnt__fd_array_ok()
178 extra_fds[1] = new_map(); in check_fd_array_cnt__fd_array_ok()
179 if (!ASSERT_GE(extra_fds[1], 0, "new_map")) in check_fd_array_cnt__fd_array_ok()
181 prog_fd = load_test_prog(extra_fds, 2); in check_fd_array_cnt__fd_array_ok()
189 Close(extra_fds[0]); in check_fd_array_cnt__fd_array_ok()
190 Close(extra_fds[1]); in check_fd_array_cnt__fd_array_ok()
198 Close(extra_fds[1]); in check_fd_array_cnt__fd_array_ok()
199 Close(extra_fds[0]); in check_fd_array_cnt__fd_array_ok()
[all …]