/external/ltp/testcases/kernel/syscalls/preadv/ |
D | preadv02.c | 117 SAFE_CLOSE(fd1); in cleanup() 120 SAFE_CLOSE(fd2); in cleanup() 123 SAFE_CLOSE(fd4); in cleanup() 126 SAFE_CLOSE(fd5[0]); in cleanup() 129 SAFE_CLOSE(fd5[1]); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/openat/ |
D | openat02.c | 139 SAFE_CLOSE(cleanup, TEST_RETURN); in testfunc_append() 173 SAFE_CLOSE(cleanup, TEST_RETURN); in testfunc_cloexec() 209 SAFE_CLOSE(cleanup, fd); in testfunc_largefile() 217 SAFE_CLOSE(cleanup, TEST_RETURN); in testfunc_largefile() 255 SAFE_CLOSE(cleanup, TEST_RETURN); in testfunc_noatime() 273 SAFE_CLOSE(cleanup, TEST_RETURN); in testfunc_nofollow() 295 SAFE_CLOSE(cleanup, TEST_RETURN); in testfunc_trunc()
|
D | openat03.c | 62 SAFE_CLOSE(cleanup, fd); in setup() 100 SAFE_CLOSE(cleanup, fd); in test01() 120 SAFE_CLOSE(cleanup, fd); in test01() 169 SAFE_CLOSE(cleanup, fd[i]); in test02() 231 SAFE_CLOSE(cleanup, fd[i]); in test03()
|
/external/ltp/testcases/kernel/logging/kmsg/ |
D | kmsg01.c | 76 SAFE_CLOSE(cleanup, f); in inject_msg() 131 SAFE_CLOSE(cleanup, f); in find_msg() 231 SAFE_CLOSE(cleanup, pipefd[1]); in timed_read_kmsg() 237 SAFE_CLOSE(cleanup, pipefd[0]); in timed_read_kmsg() 270 SAFE_CLOSE(cleanup, fd); in test_read_nonblock() 287 SAFE_CLOSE(cleanup, fd); in test_read_block() 305 SAFE_CLOSE(cleanup, fd); in test_partial_read() 387 SAFE_CLOSE(cleanup, fd); in test_read_returns_first_message() 473 SAFE_CLOSE(cleanup, fd); in test_messages_overwritten() 543 SAFE_CLOSE(cleanup, fd); in test_seek() [all …]
|
/external/ltp/testcases/kernel/syscalls/socketpair/ |
D | socketpair02.c | 81 SAFE_CLOSE(fds[0]); in verify_socketpair() 82 SAFE_CLOSE(fds[1]); in verify_socketpair() 88 SAFE_CLOSE(fds[0]); in cleanup() 91 SAFE_CLOSE(fds[1]); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
D | pwrite02.c | 155 SAFE_CLOSE(cleanup, pipe_fds[0]); in test_espipe() 156 SAFE_CLOSE(cleanup, pipe_fds[1]); in test_espipe() 170 SAFE_CLOSE(cleanup, fd); in test_einval() 192 SAFE_CLOSE(cleanup, fd); in test_ebadf2() 207 SAFE_CLOSE(cleanup, fd); in test_efault()
|
/external/ltp/testcases/kernel/syscalls/pwritev/ |
D | pwritev02.c | 111 SAFE_CLOSE(fd1); in cleanup() 114 SAFE_CLOSE(fd2); in cleanup() 117 SAFE_CLOSE(fd4[0]); in cleanup() 120 SAFE_CLOSE(fd4[1]); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/kcmp/ |
D | kcmp01.c | 65 SAFE_CLOSE(fd1); in cleanup() 77 SAFE_CLOSE(fd3); in do_child() 84 SAFE_CLOSE(fd2); in do_child() 85 SAFE_CLOSE(fd3); in do_child()
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg02.c | 95 SAFE_CLOSE(sdw); in verify_recvmsg() 96 SAFE_CLOSE(sdr); in verify_recvmsg() 102 SAFE_CLOSE(sdw); in cleanup() 105 SAFE_CLOSE(sdr); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev07.c | 76 SAFE_CLOSE(fd); in test_partially_valid_iovec() 98 SAFE_CLOSE(fd); in test_partially_valid_iovec() 106 SAFE_CLOSE(fd); in test_partially_valid_iovec() 129 SAFE_CLOSE(fd); in test_partially_valid_iovec()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl29.c | 66 SAFE_CLOSE(cleanup, dup_fd); in main() 79 SAFE_CLOSE(cleanup, dup_fd); in main() 105 SAFE_CLOSE(NULL, test_fd); in cleanup()
|
D | fcntl33.c | 157 SAFE_CLOSE(NULL, fd); in do_test() 165 SAFE_CLOSE(cleanup, fd); in do_test() 177 SAFE_CLOSE(cleanup, fd); in do_test() 203 SAFE_CLOSE(cleanup, fd); in do_test()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open12.c | 134 SAFE_CLOSE(cleanup, TEST_RETURN); in test_append() 172 SAFE_CLOSE(cleanup, TEST_RETURN); in test_noatime() 212 SAFE_CLOSE(cleanup, TEST_RETURN); in test_cloexec() 248 SAFE_CLOSE(cleanup, fd); in test_largefile() 256 SAFE_CLOSE(cleanup, TEST_RETURN); in test_largefile()
|
D | open14.c | 61 SAFE_CLOSE(cleanup, fd); in setup() 89 SAFE_CLOSE(cleanup, fd); in test01() 109 SAFE_CLOSE(cleanup, fd); in test01() 158 SAFE_CLOSE(cleanup, fd[i]); in test02() 220 SAFE_CLOSE(cleanup, fd[i]); in test03()
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe02.c | 39 SAFE_CLOSE(fd[0]); in do_child() 77 SAFE_CLOSE(fd[1]); in verify_pipe() 86 SAFE_CLOSE(fd[0]); in verify_pipe()
|
/external/ltp/testcases/kernel/syscalls/cma/ |
D | process_vm_readv02.c | 112 SAFE_CLOSE(tst_exit, pipe_fd[0]); in child_alloc() 115 SAFE_CLOSE(tst_exit, pipe_fd[1]); in child_alloc() 128 SAFE_CLOSE(tst_exit, pipe_fd[1]); in child_invoke() 130 SAFE_CLOSE(tst_exit, pipe_fd[0]); in child_invoke()
|
D | process_vm_writev02.c | 125 SAFE_CLOSE(tst_exit, pipe_fd[0]); in child_init_and_verify() 128 SAFE_CLOSE(tst_exit, pipe_fd[1]); in child_init_and_verify() 158 SAFE_CLOSE(tst_exit, pipe_fd[1]); in child_write() 160 SAFE_CLOSE(tst_exit, pipe_fd[0]); in child_write()
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify01.c | 99 SAFE_CLOSE(cleanup, fd); in main() 118 SAFE_CLOSE(cleanup, fd); in main() 171 SAFE_CLOSE(cleanup, fd); in main() 203 SAFE_CLOSE(cleanup, fd); in main() 224 SAFE_CLOSE(cleanup, fd); in main() 343 SAFE_CLOSE(cleanup, fd); in setup()
|
D | fanotify02.c | 102 SAFE_CLOSE(cleanup, fd); in main() 122 SAFE_CLOSE(cleanup, fd); in main() 149 SAFE_CLOSE(cleanup, fd); in main() 155 SAFE_CLOSE(cleanup, fd); in main()
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile06.c | 103 SAFE_CLOSE(cleanup, in_fd); in do_sendfile() 104 SAFE_CLOSE(cleanup, out_fd); in do_sendfile() 105 SAFE_CLOSE(cleanup, sockfd); in do_sendfile() 144 SAFE_CLOSE(cleanup, fd); in setup()
|
/external/ltp/testcases/kernel/containers/userns/ |
D | userns02.c | 96 SAFE_CLOSE(cleanup, fd); in main() 102 SAFE_CLOSE(cleanup, fd); in main() 109 SAFE_CLOSE(cleanup, fd); in main()
|
/external/ltp/testcases/kernel/syscalls/epoll_ctl/ |
D | epoll_ctl02.c | 91 SAFE_CLOSE(epfd); in cleanup() 94 SAFE_CLOSE(fd[0]); in cleanup() 97 SAFE_CLOSE(fd[1]); in cleanup()
|
D | epoll_ctl01.c | 63 SAFE_CLOSE(epfd); in cleanup() 66 SAFE_CLOSE(fd[0]); in cleanup() 69 SAFE_CLOSE(fd[1]); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
D | llseek03.c | 99 SAFE_CLOSE(cleanup, fd); in setup() 138 SAFE_CLOSE(cleanup, fd); in testfunc_seekcur() 172 SAFE_CLOSE(cleanup, fd); in testfunc_seekend()
|
/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create01.c | 162 SAFE_CLOSE(fd2); in test_share_dup() 215 SAFE_CLOSE(fd); in test_share_open() 222 SAFE_CLOSE(fd2); in test_share_open() 257 SAFE_CLOSE(fd); in verify_memfd_create()
|