| /kernel/linux/linux-6.6/tools/testing/selftests/filesystems/epoll/ |
| 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 …]
|
| /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-6.6/tools/power/acpi/tools/pfrut/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| 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 …]
|
| D | sockmap_ktls.c | 73 close(cli); in test_sockmap_ktls_disconnect_after_delete() 75 close(srv); in test_sockmap_ktls_disconnect_after_delete() 106 goto close; in test_sockmap_ktls_update_fails_when_sock_has_ulp() 110 goto close; in test_sockmap_ktls_update_fails_when_sock_has_ulp() 114 goto close; in test_sockmap_ktls_update_fails_when_sock_has_ulp() 119 goto close; in test_sockmap_ktls_update_fails_when_sock_has_ulp() 124 goto close; in test_sockmap_ktls_update_fails_when_sock_has_ulp() 130 close: in test_sockmap_ktls_update_fails_when_sock_has_ulp() 131 close(s); in test_sockmap_ktls_update_fails_when_sock_has_ulp() 161 close(map); in run_tests()
|
| 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 …]
|
| 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()
|
| /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 …]
|
| /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() 36 * In case of errors we must keep the promise to close FDs in start_command() 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() [all …]
|
| /kernel/linux/linux-6.6/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() 36 * In case of errors we must keep the promise to close FDs in start_command() 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() [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 …]
|
| /kernel/linux/linux-6.6/arch/um/drivers/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/core/ |
| 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 …]
|
| /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 …]
|
| /kernel/linux/linux-6.6/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/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
|
| D | request-func-close.rst | 4 .. _request-func-close: 7 request close() 13 request-close - Close a request file descriptor 22 .. c:function:: int close( int fd ) 41 :c:func:`close()` returns 0 on success. On error, -1 is
|
| /kernel/linux/linux-6.6/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
|
| D | request-func-close.rst | 4 .. _request-func-close: 7 request close() 13 request-close - Close a request file descriptor 22 .. c:function:: int close( int fd ) 41 :c:func:`close()` returns 0 on success. On error, -1 is
|
| /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-6.6/io_uring/ |
| D | openclose.c | 197 struct io_close *close = io_kiocb_to_cmd(req, struct io_close); in io_close_fixed() local 199 return __io_close_fixed(req->ctx, issue_flags, close->file_slot - 1); in io_close_fixed() 204 struct io_close *close = io_kiocb_to_cmd(req, struct io_close); in io_close_prep() local 211 close->fd = READ_ONCE(sqe->fd); in io_close_prep() 212 close->file_slot = READ_ONCE(sqe->file_index); in io_close_prep() 213 if (close->file_slot && close->fd) in io_close_prep() 222 struct io_close *close = io_kiocb_to_cmd(req, struct io_close); in io_close() local 227 if (close->file_slot) { in io_close() 234 if (close->fd >= fdt->max_fds) { in io_close() 238 file = rcu_dereference_protected(fdt->fd[close->fd], in io_close() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/dmabuf-heaps/ |
| 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() 253 /* close them all */ in test_alloc_zeroed() 255 close(dmabuf_fd[i]); in test_alloc_zeroed() 283 /* close them all */ in test_alloc_zeroed() 285 close(dmabuf_fd[i]); in test_alloc_zeroed() [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-6.6/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/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 …]
|