/openbmc/linux/tools/power/acpi/tools/pfrut/ |
H A D | pfrut.c | 233 close(fd_update); in main() 234 close(fd_update_log); in main() 243 close(fd_update); in main() 244 close(fd_update_log); in main() 252 close(fd_update); in main() 253 close(fd_update_log); in main() 304 close(fd_update); in main() 305 close(fd_update_log); in main() 314 close(fd_update); in main() 315 close(fd_update_log); in main() [all …]
|
/openbmc/linux/tools/testing/selftests/filesystems/epoll/ |
H A D | epoll_wakeup_test.c | 182 close(efd); in TEST() 183 close(sfd[0]); in TEST() 184 close(sfd[1]); in TEST() 213 close(efd); in TEST() 214 close(sfd[0]); in TEST() 215 close(sfd[1]); in TEST() 249 close(efd); in TEST() 250 close(sfd[0]); in TEST() 251 close(sfd[1]); in TEST() 252 close(sfd[2]); in TEST() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | send_signal.c | 27 close(pipe_c2p[0]); in test_send_signal_common() 28 close(pipe_c2p[1]); in test_send_signal_common() 34 close(pipe_c2p[0]); in test_send_signal_common() 35 close(pipe_c2p[1]); in test_send_signal_common() 36 close(pipe_p2c[0]); in test_send_signal_common() 37 close(pipe_p2c[1]); in test_send_signal_common() 48 close(pipe_c2p[0]); /* close read */ in test_send_signal_common() 49 close(pipe_p2c[1]); /* close write */ in test_send_signal_common() 84 close(pipe_c2p[1]); in test_send_signal_common() 85 close(pipe_p2c[0]); in test_send_signal_common() [all …]
|
H A D | setget_sockopt.c | 56 close(sfd); in test_tcp() 59 close(sfd); in test_tcp() 60 close(cfd); in test_tcp() 81 close(sfd); in test_udp() 108 close(sfd); in test_ktls() 133 close(fd); in test_ktls() 140 close(cfd); in test_ktls() 152 close(fd); in test_ktls() 153 close(cfd); in test_ktls() 154 close(sfd); in test_ktls() [all …]
|
H A D | cgroup_v1v2.c | 39 close(fd); in run_test() 57 close(server_fd); in test_cgroup_v1v2() 60 close(client_fd); in test_cgroup_v1v2() 61 close(server_fd); in test_cgroup_v1v2() 69 close(cgroup_fd); in test_cgroup_v1v2() 77 close(server_fd); in test_cgroup_v1v2() 78 close(cgroup_fd); in test_cgroup_v1v2()
|
H A D | sockmap_ktls.c | 74 close(cli); in test_sockmap_ktls_disconnect_after_delete() 76 close(srv); in test_sockmap_ktls_disconnect_after_delete() 107 goto close; in test_sockmap_ktls_update_fails_when_sock_has_ulp() 111 goto close; in test_sockmap_ktls_update_fails_when_sock_has_ulp() 115 goto close; in test_sockmap_ktls_update_fails_when_sock_has_ulp() 120 goto close; in test_sockmap_ktls_update_fails_when_sock_has_ulp() 125 goto close; in test_sockmap_ktls_update_fails_when_sock_has_ulp() 131 close: in test_sockmap_ktls_update_fails_when_sock_has_ulp() 132 close(s); in test_sockmap_ktls_update_fails_when_sock_has_ulp() 162 close(map); in run_tests()
|
H A D | lwt_redirect.c | 105 close(s); in new_packet_sock() 117 close(s); in new_packet_sock() 128 close(s); in new_packet_sock() 134 close(s); in new_packet_sock() 190 close(psock); in send_and_capture_test_packets() 223 close(tap_fd); in setup_redirect_target() 238 close(tap_fd); in test_lwt_redirect_normal() 252 close(tap_fd); in test_lwt_redirect_normal_nomac() 272 close(tap_fd); in __test_lwt_redirect_dev_down() 305 close(tap_fd); in test_lwt_redirect_dev_carrier_down()
|
H A D | sock_destroy.c | 29 close(iter_fd); in start_iter_sockets() 65 close(clien); in test_tcp_client() 67 close(accept_serv); in test_tcp_client() 69 close(serv); in test_tcp_client() 106 close(clien); in test_tcp_server() 108 close(accept_serv); in test_tcp_server() 110 close(serv); in test_tcp_server() 141 close(clien); in test_udp_client() 143 close(serv); in test_udp_client() 219 close(cgroup_fd); in test_sock_destroy()
|
/openbmc/linux/arch/um/drivers/ |
H A D | harddog_user.c | 25 close(data->stdin_fd); in pre_exec() 26 close(data->stdout_fd); in pre_exec() 27 close(data->close_me[0]); in pre_exec() 28 close(data->close_me[1]); in pre_exec() 70 close(out_fds[0]); in start_watchdog() 71 close(in_fds[1]); in start_watchdog() 98 close(in_fds[0]); in start_watchdog() 99 close(in_fds[1]); in start_watchdog() 101 close(out_fds[0]); in start_watchdog() 102 close(out_fds[1]); in start_watchdog() [all …]
|
/openbmc/linux/tools/lib/subcmd/ |
H A 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 …]
|
/openbmc/phosphor-ipmi-flash/tools/ |
H A D | io.cpp | 37 sys->close(devMemFd); in read() 49 sys->close(devMemFd); in read() 77 sys->close(devMemFd); in write() 89 sys->close(devMemFd); in write() 97 close(); in ~PpcMemDevice() 100 void PpcMemDevice::close() in close() function in host_tool::PpcMemDevice 104 sys->close(ppcMemFd); in close() 125 close(); in read() 129 close(); in read() 149 close(); in write() [all …]
|
/openbmc/openpower-occ-control/test/ |
H A D | TestI2cOcc.cpp | 55 ofs.close(); in TestUtilGetOccHwmonDevices() 59 ofs.close(); in TestUtilGetOccHwmonDevices() 63 ofs.close(); in TestUtilGetOccHwmonDevices() 67 ofs.close(); in TestUtilGetOccHwmonDevices() 71 ofs.close(); in TestUtilGetOccHwmonDevices() 75 ofs.close(); in TestUtilGetOccHwmonDevices() 79 ofs.close(); in TestUtilGetOccHwmonDevices() 83 ofs.close(); in TestUtilGetOccHwmonDevices() 87 ofs.close(); in TestUtilGetOccHwmonDevices() 91 ofs.close(); in TestUtilGetOccHwmonDevices() [all …]
|
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/ |
H A D | version_close_unittest.cpp | 36 EXPECT_TRUE(h->close(0)); in TEST_F() 44 EXPECT_TRUE(h->close(0)); in TEST_F() 46 EXPECT_TRUE(h->close(1)); in TEST_F() 51 EXPECT_FALSE(h->close(0)); in TEST_F() 59 EXPECT_TRUE(h->close(0)); in TEST_F() 60 EXPECT_FALSE(h->close(0)); in TEST_F() 67 EXPECT_FALSE(h->close(1)); in TEST_F() 69 EXPECT_TRUE(h->close(0)); in TEST_F() 77 EXPECT_TRUE(h->close(0)); in TEST_F()
|
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/ |
H A D | log_close_unittest.cpp | 50 EXPECT_TRUE(h->close(0)); in TEST_F() 58 EXPECT_TRUE(h->close(0)); in TEST_F() 60 EXPECT_TRUE(h->close(1)); in TEST_F() 65 EXPECT_FALSE(h->close(0)); in TEST_F() 73 EXPECT_TRUE(h->close(0)); in TEST_F() 74 EXPECT_FALSE(h->close(0)); in TEST_F() 81 EXPECT_FALSE(h->close(1)); in TEST_F() 83 EXPECT_TRUE(h->close(0)); in TEST_F() 91 EXPECT_TRUE(h->close(0)); in TEST_F()
|
/openbmc/linux/tools/testing/selftests/landlock/ |
H A D | base_test.c | 141 ASSERT_EQ(0, close(ruleset_fd)); in TEST() 187 ASSERT_EQ(0, close(path_beneath_attr.parent_fd)); in TEST() 188 ASSERT_EQ(0, close(ruleset_fd)); in TEST() 210 ASSERT_EQ(0, close(path_beneath_attr.parent_fd)); in TEST() 233 ASSERT_EQ(0, close(ruleset_fd)); in TEST() 254 ASSERT_EQ(0, close(ruleset_fd)); in TEST() 283 ASSERT_EQ(0, close(path_beneath_attr.parent_fd)); in TEST() 289 ASSERT_EQ(0, close(socket_fds[0])); in TEST() 290 ASSERT_EQ(0, close(ruleset_fd_tx)); in TEST() 298 ASSERT_EQ(0, close(socket_fds[1])); in TEST() [all …]
|
/openbmc/u-boot/board/samsung/smdkv310/tools/ |
H A D | mksmdkv310spl.c | 56 close(ifd); in main() 70 close(ifd); in main() 72 close(ofd); in main() 87 close(ifd); in main() 89 close(ofd); in main() 95 close(ifd); in main() 97 close(ofd); in main()
|
/openbmc/linux/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | 87 close(data->data_me); in etap_pre_exec() 88 close(data->control_me); in etap_pre_exec() 121 close(data_remote); in etap_tramp() 122 close(control_remote); in etap_tramp() 188 close(control_fds[0]); in etap_open() 189 close(control_fds[1]); in etap_open() 191 close(data_fds[0]); in etap_open() 192 close(data_fds[1]); in etap_open() 201 close(fd); in etap_close() 211 close(pri->data_fd); in etap_close() [all …]
|
/openbmc/gpioplus/test/internal/ |
H A D | fd.cpp | 50 EXPECT_CALL(mock, close(expected_fd)).WillOnce(Return(0)); in TEST_F() 66 EXPECT_CALL(mock, close(expected_fd2)).WillOnce(Return(0)); in TEST_F() 96 EXPECT_CALL(mock, close(expected_fd)) in TEST_F() 112 EXPECT_CALL(mock, close(expected_fd)).WillOnce(Return(0)); in TEST_F() 133 EXPECT_CALL(mock, close(expected_fd2)).WillOnce(Return(0)); in TEST_F() 136 EXPECT_CALL(mock, close(expected_fd)).WillOnce(Return(0)); in TEST_F() 145 EXPECT_CALL(mock, close(expected_fd)).WillOnce(Return(0)); in TEST_F() 153 EXPECT_CALL(mock2, close(expected_fd2)).WillOnce(Return(0)); in TEST_F() 161 EXPECT_CALL(mock, close(expected_fd3)).WillOnce(Return(0)); in TEST_F() 164 EXPECT_CALL(mock, close(expected_fd)).WillOnce(Return(0)); in TEST_F() [all …]
|
/openbmc/linux/tools/testing/selftests/core/ |
H A D | close_range_test.c | 84 close(57); in TEST() 85 close(78); in TEST() 86 close(81); in TEST() 87 close(82); in TEST() 88 close(84); in TEST() 89 close(90); in TEST() 152 close(57); in TEST() 153 close(78); in TEST() 154 close(81); in TEST() 155 close(82); in TEST() [all …]
|
/openbmc/linux/tools/testing/selftests/dmabuf-heaps/ |
H A D | dmabuf-heap.c | 55 close(fd); in open_vgem() 82 struct drm_gem_close close = { in close_handle() local 86 ioctl(vgem_fd, DRM_IOCTL_GEM_CLOSE, &close); in close_handle() 213 close(importer_fd); in test_alloc_and_import() 215 close(dmabuf_fd); in test_alloc_and_import() 217 close(heap_fd); in test_alloc_and_import() 255 close(dmabuf_fd[i]); in test_alloc_zeroed() 285 close(dmabuf_fd[i]); in test_alloc_zeroed() 287 close(heap_fd); in test_alloc_zeroed() 293 close(dmabuf_fd[i]); in test_alloc_zeroed() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0006-adb-Musl-fixes.patch | 8 Do not redefine close() and lseek() 100 return close(fd); 102 -#undef close 103 -#define close ____xxx_close 104 +//#undef close 105 +//#define close ____xxx_close 111 return close(fd); 113 -#undef close 114 -#define close ____xxx_close 115 +//#undef close [all …]
|
/openbmc/u-boot/board/samsung/origen/tools/ |
H A D | mkorigenspl.c | 58 close(ifd); in main() 75 close(ifd); in main() 77 close(ofd); in main() 96 close(ifd); in main() 98 close(ofd); in main() 104 close(ifd); in main() 106 close(ofd); in main()
|
/openbmc/openbmc-test-automation/lib/ |
H A D | utils_files.py | 69 file.close() 72 file.close() 75 file.close() 85 file.close() 99 file.close() 106 file.close() 131 file.close()
|
/openbmc/openbmc/meta-security/recipes-mac/smack/tcp-smack-test/ |
H A D | tcp_server.c | 95 close(sock); in main() 103 close(sock); in main() 110 close(clientsock); in main() 111 close(sock); in main() 116 close(clientsock); in main() 117 close(sock); in main()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | psock_fanout.c | 102 if (close(fd)) { in sock_fanout_open() 184 if (close(pfd)) { in sock_fanout_set_ebpf() 297 if (close(fds[1]) || close(fds[0])) { in test_control_group() 347 if (close(fds[2]) || close(fds[1]) || close(fds[0])) { in test_control_group_max_num_members() 402 if (close(fds[0]) || close(fds[1]) || close(fds[2])) { in test_unique_fanout_group_ids() 452 if (close(fds_udp[1][1]) || close(fds_udp[1][0]) || in test_datapath() 453 close(fds_udp[0][1]) || close(fds_udp[0][0]) || in test_datapath() 454 close(fds[1]) || close(fds[0])) { in test_datapath()
|