/external/ltp/testcases/kernel/syscalls/epoll_create1/ |
epoll_create1_01.c | 49 SAFE_CLOSE(fd); 59 SAFE_CLOSE(fd);
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
pipe01.c | 57 SAFE_CLOSE(fds[0]); 58 SAFE_CLOSE(fds[1]);
|
pipe03.c | 57 SAFE_CLOSE(fd[0]); 58 SAFE_CLOSE(fd[1]);
|
pipe02.c | 39 SAFE_CLOSE(fd[0]); 77 SAFE_CLOSE(fd[1]); 86 SAFE_CLOSE(fd[0]);
|
/external/ltp/testcases/kernel/input/ |
input02.c | 68 SAFE_CLOSE(NULL, fd2); 100 SAFE_CLOSE(NULL, fd2);
|
/external/ltp/testcases/kernel/syscalls/creat/ |
creat01.c | 78 SAFE_CLOSE(fd); 84 SAFE_CLOSE(fd);
|
creat03.c | 56 SAFE_CLOSE(fd); 67 SAFE_CLOSE(fd);
|
/external/ltp/testcases/kernel/syscalls/futex/ |
futex_common.h | 43 SAFE_CLOSE(NULL, fd);
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl29.c | 66 SAFE_CLOSE(cleanup, dup_fd); 79 SAFE_CLOSE(cleanup, dup_fd); 105 SAFE_CLOSE(NULL, test_fd);
|
fcntl30.c | 89 SAFE_CLOSE(cleanup, pipe_fds[0]); 90 SAFE_CLOSE(cleanup, pipe_fds[1]);
|
fcntl33.c | 157 SAFE_CLOSE(NULL, fd); 165 SAFE_CLOSE(cleanup, fd); 177 SAFE_CLOSE(cleanup, fd); 203 SAFE_CLOSE(cleanup, fd);
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
pwrite02.c | 155 SAFE_CLOSE(cleanup, pipe_fds[0]); 156 SAFE_CLOSE(cleanup, pipe_fds[1]); 170 SAFE_CLOSE(cleanup, fd); 192 SAFE_CLOSE(cleanup, fd); 207 SAFE_CLOSE(cleanup, fd);
|
/external/ltp/testcases/kernel/syscalls/openat/ |
openat02.c | 139 SAFE_CLOSE(cleanup, TEST_RETURN); 173 SAFE_CLOSE(cleanup, TEST_RETURN); 209 SAFE_CLOSE(cleanup, fd); 217 SAFE_CLOSE(cleanup, TEST_RETURN); 255 SAFE_CLOSE(cleanup, TEST_RETURN); 273 SAFE_CLOSE(cleanup, TEST_RETURN); 295 SAFE_CLOSE(cleanup, TEST_RETURN);
|
/external/ltp/testcases/kernel/containers/userns/ |
userns02.c | 96 SAFE_CLOSE(cleanup, fd); 102 SAFE_CLOSE(cleanup, fd); 109 SAFE_CLOSE(cleanup, fd);
|
userns_helper.h | 60 SAFE_CLOSE(cleanup, fd);
|
/external/ltp/testcases/kernel/syscalls/access/ |
access05.c | 150 SAFE_CLOSE(cleanup, fd); 156 SAFE_CLOSE(cleanup, fd); 162 SAFE_CLOSE(cleanup, fd); 168 SAFE_CLOSE(cleanup, fd);
|
/external/ltp/testcases/kernel/syscalls/cma/ |
process_vm_readv02.c | 112 SAFE_CLOSE(tst_exit, pipe_fd[0]); 115 SAFE_CLOSE(tst_exit, pipe_fd[1]); 128 SAFE_CLOSE(tst_exit, pipe_fd[1]); 130 SAFE_CLOSE(tst_exit, pipe_fd[0]);
|
process_vm_writev02.c | 125 SAFE_CLOSE(tst_exit, pipe_fd[0]); 128 SAFE_CLOSE(tst_exit, pipe_fd[1]); 158 SAFE_CLOSE(tst_exit, pipe_fd[1]); 160 SAFE_CLOSE(tst_exit, pipe_fd[0]);
|
/external/ltp/testcases/kernel/device-drivers/pci/tpci_user/ |
tpci.c | 94 SAFE_CLOSE(cleanup, fd); 100 SAFE_CLOSE(cleanup, fd);
|
/external/ltp/testcases/kernel/syscalls/open/ |
open12.c | 134 SAFE_CLOSE(cleanup, TEST_RETURN); 172 SAFE_CLOSE(cleanup, TEST_RETURN); 212 SAFE_CLOSE(cleanup, TEST_RETURN); 248 SAFE_CLOSE(cleanup, fd); 256 SAFE_CLOSE(cleanup, TEST_RETURN);
|
/external/ltp/testcases/kernel/syscalls/getdents/ |
getdents02.c | 152 SAFE_CLOSE(cleanup, fd); 170 SAFE_CLOSE(cleanup, fd); 194 SAFE_CLOSE(cleanup, fd);
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
llseek03.c | 99 SAFE_CLOSE(cleanup, fd); 138 SAFE_CLOSE(cleanup, fd); 172 SAFE_CLOSE(cleanup, fd);
|
/external/ltp/lib/tests/ |
tst_safe_macros.c | 11 SAFE_CLOSE(NULL, fd);
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
fanotify02.c | 102 SAFE_CLOSE(cleanup, fd); 122 SAFE_CLOSE(cleanup, fd); 149 SAFE_CLOSE(cleanup, fd); 155 SAFE_CLOSE(cleanup, fd);
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
sendfile06.c | 103 SAFE_CLOSE(cleanup, in_fd); 104 SAFE_CLOSE(cleanup, out_fd); 105 SAFE_CLOSE(cleanup, sockfd); 144 SAFE_CLOSE(cleanup, fd);
|