/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 | sk_assign.c | 78 close(fd); in start_server() 100 close(fd); in connect_to_server() 195 close(client); in run_test() 197 close(srv_client); in run_test() 302 goto close; in test_sk_assign() 307 goto close; in test_sk_assign() 314 goto close; in test_sk_assign() 316 close(server); in test_sk_assign() 320 close: in test_sk_assign() 321 close(server); in test_sk_assign() [all …]
|
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 …]
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
D | harddog_user.c | 24 close(data->stdin_fd); in pre_exec() 25 close(data->stdout_fd); in pre_exec() 26 close(data->close_me[0]); in pre_exec() 27 close(data->close_me[1]); in pre_exec() 69 close(out_fds[0]); in start_watchdog() 70 close(in_fds[1]); in start_watchdog() 97 close(in_fds[0]); in start_watchdog() 98 close(in_fds[1]); in start_watchdog() 100 close(out_fds[0]); in start_watchdog() 101 close(out_fds[1]); in start_watchdog() [all …]
|
D | slip_user.c | 71 close(data->close_me); in slip_pre_exec() 106 close(fds[1]); in slip_tramp() 111 close(fds[0]); in slip_tramp() 117 close(fds[0]); in slip_tramp() 118 close(fds[1]); in slip_tramp() 184 close(sfd); in slip_open() 186 close(mfd); in slip_open() 208 close(fd); in slip_close() 209 close(pri->slave); in slip_close() 246 .close = slip_close,
|
/kernel/liteos_a/testsuites/unittest/libc/io/full/ |
D | IO_test_epoll_001.cpp | 73 close(pipeFd[1]); in testcase() 78 close(pipeFd[0]); in testcase() 87 close(pipeFd[0]); in testcase() 90 close(pipeFd[1]); in testcase() 99 close(epFd); in testcase() 100 close(pipeFd[0]); in testcase() 101 close(pipeFd[1]); in testcase() 104 close(pipeFd[0]); in testcase() 105 close(pipeFd[1]); in testcase() 108 close(epFd); in testcase() [all …]
|
D | IO_test_pselect_001.cpp | 54 close(pipeFd[0]); in Testcase1() 55 close(pipeFd[1]); in Testcase1() 58 close(pipeFd[0]); in Testcase1() 59 close(pipeFd[1]); in Testcase1() 93 close(pipeFd[1]); in testcase() 96 close(pipeFd[0]); in testcase() 105 close(pipeFd[0]); in testcase() 108 close(pipeFd[1]); in testcase()
|
D | IO_test_epoll_002.cpp | 98 close(pipeFd[1]); in testcase() 104 close(pipeFd[0]); in testcase() 113 close(pipeFd[0]); in testcase() 120 close(pipeFd[1]); in testcase() 129 close(epFd); in testcase() 131 close(pipeFd[0]); in testcase() 132 close(pipeFd[1]); in testcase()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/liteos_a/testsuites/unittest/basic/exc/full/ |
D | it_test_fexecve_001.cpp | 65 close(shmFd); in TestCase() 73 close(shmFd); in TestCase() 80 close(shmFd); in TestCase() 89 close(shmFd); in TestCase() 97 close(shmFd); in TestCase() 103 close(shmFd); in TestCase() 108 close(shmFd); in TestCase()
|
/kernel/linux/build/test/unittest/accesstokenid/ |
D | accesstokenid_test.cpp | 81 close(fd); in GenRand64() 100 close(fd); in GetTokenid() 104 close(fd); in GetTokenid() 119 close(fd); in SetTokenid() 123 close(fd); in SetTokenid() 138 close(fd); in GetfTokenid() 142 close(fd); in GetfTokenid() 157 close(fd); in SetfTokenid() 161 close(fd); in SetfTokenid() 378 close(fd); [all …]
|
/kernel/linux/linux-5.10/arch/um/os-Linux/drivers/ |
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 …]
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | test_overhead_user.c | 48 close(fd); in test_task_rename() 54 close(fd); in test_task_rename() 72 close(fd); in test_urandom_read() 78 close(fd); in test_urandom_read() 120 close(prog_fd[0]); in unload_progs() 121 close(prog_fd[1]); in unload_progs() 122 close(event_fd[0]); in unload_progs() 123 close(event_fd[1]); in unload_progs()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/ |
D | media-func-close.rst | 4 .. _media-func-close: 7 media close() 13 media-close - Close a media device 22 .. c:function:: int close( int fd ) 39 :c:func:`close()` returns 0 on success. On error, -1 is returned, and
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/cec/ |
D | cec-func-close.rst | 4 .. _cec-func-close: 7 cec close() 13 cec-close - Close a cec device 22 .. c:function:: int close( int fd ) 39 :c:func:`close()` returns 0 on success. On error, -1 is returned, and
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/memfd/ |
D | memfd_test.c | 81 close(r); in mfd_fail_new() 486 close(fd2); in mfd_assert_shrink() 664 close(fd); in test_create() 675 close(fd); in test_create() 679 close(fd); in test_create() 683 close(fd); in test_create() 724 close(fd); in test_basic() 735 close(fd); in test_basic() 761 close(fd); in test_seal_write() 800 close(fd2); in test_seal_future_write() [all …]
|