/tools/testing/selftests/bpf/prog_tests/ |
D | send_signal.c | 31 close(pipe_c2p[0]); in test_send_signal_common() 32 close(pipe_c2p[1]); in test_send_signal_common() 38 close(pipe_c2p[0]); in test_send_signal_common() 39 close(pipe_c2p[1]); in test_send_signal_common() 40 close(pipe_p2c[0]); in test_send_signal_common() 41 close(pipe_p2c[1]); in test_send_signal_common() 51 close(pipe_c2p[0]); /* close read */ in test_send_signal_common() 52 close(pipe_p2c[1]); /* close write */ in test_send_signal_common() 81 close(pipe_c2p[1]); in test_send_signal_common() 82 close(pipe_p2c[0]); in test_send_signal_common() [all …]
|
D | cgroup_skb_sk_lookup.c | 42 close(serv_in_sk); in run_lookup_test() 43 close(in_sk); in run_lookup_test() 44 close(serv_sk); in run_lookup_test() 71 close(cgfd); in run_cgroup_bpf_test() 90 close(out_sk); in test_cgroup_skb_sk_lookup()
|
D | cgroup_attach_autodetach.c | 73 close(allow_prog[i]); in test_cgroup_attach_autodetach() 77 close(cg); in test_cgroup_attach_autodetach() 94 close(fd); in test_cgroup_attach_autodetach() 106 close(allow_prog[i]); in test_cgroup_attach_autodetach() 108 close(cg); in test_cgroup_attach_autodetach()
|
D | sk_assign.c | 94 close(fd); in start_server() 116 close(fd); in connect_to_server() 208 close(client); in run_test() 210 close(srv_client); in run_test() 315 goto close; in test_sk_assign() 320 goto close; in test_sk_assign() 327 goto close; in test_sk_assign() 329 close(server); in test_sk_assign() 333 close: in test_sk_assign() 334 close(server); in test_sk_assign() [all …]
|
D | udp_limit.c | 44 close(fd1); in test_udp_limit() 69 close(fd1); in test_udp_limit() 71 close(fd2); in test_udp_limit() 74 close(cgroup_fd); in test_udp_limit()
|
D | flow_dissector_reattach.c | 140 close(link2); in test_link_create_link_create() 143 close(link1); in test_link_create_link_create() 165 close(link); in test_prog_attach_link_create() 193 close(link); in test_link_create_prog_attach() 216 close(link); in test_link_create_prog_detach() 253 close(link); in test_link_create_close_query() 279 close(link); in test_link_update_no_old_prog() 304 close(link); in test_link_update_replace_old_prog() 329 close(link); in test_link_update_same_prog() 389 close(link); in test_link_update_invalid_opts() [all …]
|
D | d_path.c | 92 close(pipefd[0]); in trigger_fstat_events() 93 close(pipefd[1]); in trigger_fstat_events() 94 close(sockfd); in trigger_fstat_events() 95 close(procfd); in trigger_fstat_events() 96 close(devfd); in trigger_fstat_events() 97 close(localfd); in trigger_fstat_events() 98 close(indicatorfd); in trigger_fstat_events()
|
D | connect_force_port.c | 125 close(fd); in run_test() 144 close(server_fd); in test_connect_force_port() 150 close(server_fd); in test_connect_force_port() 156 close(server_fd); in test_connect_force_port() 162 close(server_fd); in test_connect_force_port() 165 close(cgroup_fd); in test_connect_force_port()
|
/tools/testing/selftests/filesystems/epoll/ |
D | epoll_wakeup_test.c | 167 close(efd); in TEST() 168 close(sfd[0]); in TEST() 169 close(sfd[1]); in TEST() 198 close(efd); in TEST() 199 close(sfd[0]); in TEST() 200 close(sfd[1]); in TEST() 234 close(efd); in TEST() 235 close(sfd[0]); in TEST() 236 close(sfd[1]); in TEST() 237 close(sfd[2]); in TEST() [all …]
|
/tools/lib/subcmd/ |
D | run-command.c | 18 close(fd[0]); in close_pair() 19 close(fd[1]); in close_pair() 26 close(fd); in dup_devnull() 44 close(cmd->out); in start_command() 58 close(cmd->in); in start_command() 70 close(cmd->in); in start_command() 74 close(cmd->out); in start_command() 90 close(cmd->in); in start_command() 109 close(cmd->out); in start_command() 138 close(cmd->in); in start_command() [all …]
|
/tools/testing/selftests/core/ |
D | close_range_test.c | 67 close(57); in TEST() 68 close(78); in TEST() 69 close(81); in TEST() 70 close(82); in TEST() 71 close(84); in TEST() 72 close(90); in TEST() 135 close(57); in TEST() 136 close(78); in TEST() 137 close(81); in TEST() 138 close(82); in TEST() [all …]
|
/tools/testing/selftests/powerpc/mm/ |
D | stack_expansion_signal.c | 82 close(read_pipe.read_fd); in test_one_size() 83 close(write_pipe.write_fd); in test_one_size() 87 close(read_pipe.write_fd); in test_one_size() 88 close(write_pipe.read_fd); in test_one_size() 95 close(read_pipe.read_fd); in test_one_size() 96 close(write_pipe.write_fd); in test_one_size()
|
/tools/testing/selftests/wireguard/qemu/ |
D | init.c | 79 close(fd); in seed_rng() 117 close(fd); in enable_logging() 123 close(fd); in enable_logging() 129 close(fd); in enable_logging() 205 close(fd); in launch_tests() 232 close(fd); in ensure_console() 248 close(fd); in clear_leaks() 261 close(fd); in check_leaks() 268 close(fd); in check_leaks()
|
/tools/testing/selftests/efivarfs/ |
D | open-unlink.c | 27 close(fd); in set_immutable() 39 close(fd); in set_immutable() 58 close(fd); in get_immutable() 62 close(fd); in get_immutable() 101 close(fd); in main()
|
/tools/testing/selftests/bpf/ |
D | test_tcp_check_syncookie_user.c | 44 close(fd); in start_server() 75 close(fd); in connect_to_server() 115 close(prog_fd); in get_map_fd_by_prog_id() 197 close(client); in run_test() 198 close(srv_client); in run_test() 253 close(server); in main() 254 close(server_v6); in main() 255 close(results); in main()
|
/tools/testing/vsock/ |
D | vsock_test.c | 55 close(fd); in test_stream_connection_reset() 97 close(fd); in test_stream_bind_only_client() 127 close(fd); in test_stream_bind_only_server() 141 close(fd); in test_stream_client_close_client() 162 close(fd); in test_stream_client_close_server() 183 close(fd); in test_stream_server_close_client() 197 close(fd); in test_stream_server_close_server() 226 close(fds[i]); in test_stream_multiconn_client() 250 close(fds[i]); in test_stream_multiconn_server() 264 close(fd); in test_stream_msg_peek_client() [all …]
|
/tools/testing/selftests/net/ |
D | reuseport_dualstack.c | 99 close(fd); in send_from_v4() 117 close(fd); in receive_once() 156 close(epfd); in test() 168 close(rcv_fds[i]); in main() 175 close(rcv_fds[i]); in main() 185 close(rcv_fds[i]); in main() 192 close(rcv_fds[i]); in main() 199 close(rcv_fds[i]); in main() 206 close(rcv_fds[i]); in main()
|
D | psock_fanout.c | 88 if (close(fd)) { in sock_fanout_open() 170 if (close(pfd)) { in sock_fanout_set_ebpf() 283 if (close(fds[1]) || close(fds[0])) { in test_control_group() 338 if (close(fds[0]) || close(fds[1]) || close(fds[2])) { in test_unique_fanout_group_ids() 388 if (close(fds_udp[1][1]) || close(fds_udp[1][0]) || in test_datapath() 389 close(fds_udp[0][1]) || close(fds_udp[0][0]) || in test_datapath() 390 close(fds[1]) || close(fds[0])) { in test_datapath()
|
/tools/testing/selftests/android/ion/ |
D | ionmap_test.c | 51 close(fd); in open_vgem() 78 struct drm_gem_close close = { 0 }; in close_handle() local 80 close.handle = handle; in close_handle() 81 ioctl(vgem_fd, DRM_IOCTL_GEM_CLOSE, &close); in close_handle() 131 close(vgem_fd); in main()
|
/tools/power/cpupower/utils/helpers/ |
D | msr.c | 40 close(fd); in read_msr() 43 close(fd); in read_msr() 69 close(fd); in write_msr() 72 close(fd); in write_msr()
|
/tools/testing/selftests/dmabuf-heaps/ |
D | dmabuf-heap.c | 54 close(fd); in open_vgem() 81 struct drm_gem_close close = { in close_handle() local 85 ioctl(vgem_fd, DRM_IOCTL_GEM_CLOSE, &close); in close_handle() 212 close(importer_fd); in test_alloc_and_import() 214 close(dmabuf_fd); in test_alloc_and_import() 216 close(heap_fd); in test_alloc_and_import() 302 close(dmabuf_fd); in test_alloc_compat() 314 close(dmabuf_fd); in test_alloc_compat() 316 close(heap_fd); in test_alloc_compat() 357 close(dmabuf_fd); in test_alloc_errors() [all …]
|
/tools/leds/ |
D | uledmon.c | 46 close(fd); in main() 54 close(fd); in main() 61 close(fd); in main()
|
/tools/testing/selftests/pidfd/ |
D | pidfd_getfd_test.c | 109 close(memfd); in child() 112 close(sk); in child() 147 close(sk_pair[0]); in FIXTURE_SETUP() 153 close(sk_pair[1]); in FIXTURE_SETUP() 168 EXPECT_EQ(0, close(self->pidfd)); in FIXTURE_TEARDOWN() 169 EXPECT_EQ(0, close(self->sk)); in FIXTURE_TEARDOWN() 216 close(fd); in TEST_F()
|
/tools/testing/selftests/nsfs/ |
D | owner.c | 44 close(pfd[0]); in main() 45 close(pfd[1]); in main() 50 close(pfd[1]); in main() 53 close(pfd[0]); in main()
|
/tools/testing/selftests/memfd/ |
D | memfd_test.c | 81 close(r); in mfd_fail_new() 487 close(fd2); in mfd_assert_shrink() 665 close(fd); in test_create() 676 close(fd); in test_create() 680 close(fd); in test_create() 684 close(fd); in test_create() 725 close(fd); in test_basic() 736 close(fd); in test_basic() 762 close(fd); in test_seal_write() 801 close(fd2); in test_seal_future_write() [all …]
|