/external/ltp/testcases/kernel/syscalls/rt_sigprocmask/ |
rt_sigprocmask01.c | 58 static void cleanup(void) function 93 tst_brkm(TFAIL | TERRNO, cleanup, 97 tst_brkm(TFAIL | TERRNO, cleanup, 104 tst_brkm(TFAIL | TTERRNO, cleanup, 111 tst_brkm(TFAIL | TTERRNO, cleanup, 117 tst_brkm(TFAIL | TERRNO, cleanup, 121 tst_brkm(TFAIL | TERRNO, cleanup, 129 tst_brkm(TFAIL | TTERRNO, cleanup, 135 cleanup, 145 cleanup, [all...] |
/external/ltp/testcases/kernel/device-drivers/zram/ |
zram03.c | 53 static void cleanup(void); 77 cleanup(); 84 SAFE_FILE_PRINTF(cleanup, PATH_ZRAM "/disksize", "%ld", SIZE); 93 fd = SAFE_OPEN(cleanup, DEVICE, O_RDWR); 94 s = SAFE_MMAP(cleanup, NULL, SIZE, PROT_READ | PROT_WRITE, 101 SAFE_MUNMAP(cleanup, s, SIZE); 102 SAFE_CLOSE(cleanup, fd); 112 fd = SAFE_OPEN(cleanup, DEVICE, O_RDONLY); 113 s = SAFE_MMAP(cleanup, NULL, SIZE, PROT_READ, MAP_PRIVATE, fd, 0); 132 SAFE_MUNMAP(cleanup, s, SIZE) 170 static void cleanup(void) function [all...] |
/external/ltp/testcases/kernel/module/delete_module/ |
delete_module01.c | 37 static void cleanup(void); 72 cleanup(); 78 tst_sig(NOFORK, DEF_HANDLER, cleanup); 85 static void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/alarm/ |
alarm01.c | 106 * Cleanup: 118 void cleanup(); 150 cleanup(); 158 tst_sig(NOFORK, DEF_HANDLER, cleanup); 166 * cleanup() - performs all ONE TIME cleanup for this test at 169 void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/capget/ |
capget01.c | 49 * Cleanup: 73 static void cleanup(); 111 cleanup(); 119 tst_sig(NOFORK, DEF_HANDLER, cleanup); 125 void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/chdir/ |
chdir02.c | 106 * Cleanup: 118 void cleanup(); 149 cleanup(); 156 tst_sig(NOFORK, DEF_HANDLER, cleanup); 161 void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/close/ |
close02.c | 38 * cleanup 61 void cleanup(void); 95 cleanup(); 107 tst_sig(FORK, DEF_HANDLER, cleanup); 115 * cleanup() - performs all the ONE TIME cleanup for this test at completion 118 void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl29.c | 42 static void cleanup(void); 59 tst_brkm(TFAIL | TTERRNO, cleanup, "fcntl " 66 SAFE_CLOSE(cleanup, dup_fd); 67 tst_brkm(TFAIL | TTERRNO, cleanup, "fcntl " 79 SAFE_CLOSE(cleanup, dup_fd); 82 cleanup(); 93 tst_sig(NOFORK, DEF_HANDLER, cleanup); 99 test_fd = SAFE_CREAT(cleanup, "testfile", 0644); 102 static void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/getdomainname/ |
getdomainname01.c | 48 * Cleanup: 72 static void cleanup(); 108 /* cleanup and exit */ 109 cleanup(); 119 tst_sig(NOFORK, DEF_HANDLER, cleanup); 126 *cleanup() - performs all ONE TIME cleanup for this test at 129 void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/gethostname/ |
gethostname01.c | 104 * Cleanup: 117 void cleanup(); 147 cleanup(); 154 tst_sig(NOFORK, DEF_HANDLER, cleanup); 159 void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/getpgrp/ |
getpgrp01.c | 106 * Cleanup: 120 void cleanup(); 146 cleanup(); 153 tst_sig(NOFORK, DEF_HANDLER, cleanup); 158 void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/getpid/ |
getpid01.c | 106 * Cleanup: 118 void cleanup(); 144 cleanup(); 151 tst_sig(NOFORK, DEF_HANDLER, cleanup); 156 void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/getppid/ |
getppid01.c | 106 * Cleanup: 120 void cleanup(); 146 cleanup(); 153 tst_sig(NOFORK, DEF_HANDLER, cleanup); 158 void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/getrusage/ |
getrusage01.c | 49 * Cleanup: 73 static void cleanup(); 104 cleanup(); 112 tst_sig(NOFORK, DEF_HANDLER, cleanup); 118 void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/gettid/ |
gettid01.c | 37 void cleanup(); 74 cleanup(); 84 tst_sig(NOFORK, DEF_HANDLER, cleanup); 91 * cleanup() - performs all ONE TIME cleanup for this test at 94 void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/ipc/shmdt/ |
shmdt02.c | 34 * call cleanup 80 tst_brkm(TFAIL, cleanup, "call succeeded unexpectedly"); 95 cleanup(); 106 tst_sig(NOFORK, DEF_HANDLER, cleanup); 112 * cleanup() - performs all the ONE TIME cleanup for this test at completion 115 void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
mknod04.c | 51 * Cleanup: 103 void cleanup(); /* cleanup function for the test */ 178 * Invoke cleanup() to delete the test directories created 181 cleanup(); 203 tst_sig(NOFORK, DEF_HANDLER, cleanup); 212 tst_brkm(TBROK, cleanup, "chmod() failed"); 226 tst_brkm(TBROK, cleanup, "%s not in /etc/passwd", LTPUSER); 239 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); 240 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid) 287 void cleanup(void) function [all...] |
/external/ltp/testcases/kernel/syscalls/mlock/ |
mlock04.c | 53 static void cleanup(void); 66 tst_brkm(TBROK | TERRNO, cleanup, "mmap"); 69 tst_brkm(TBROK | TERRNO, cleanup, "mlock"); 74 tst_brkm(TBROK | TERRNO, cleanup, "munlock"); 76 SAFE_MUNMAP(cleanup, buf, file_len); 81 cleanup(); 90 fd = SAFE_OPEN(cleanup, testfile, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); 92 SAFE_FTRUNCATE(cleanup, fd, file_len); 97 static void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/mount/ |
mount01.c | 31 static void cleanup(void); 62 tst_brkm(TBROK | TTERRNO, cleanup, 68 cleanup(); 74 tst_sig(NOFORK, DEF_HANDLER, cleanup); 81 device = tst_acquire_device(cleanup); 84 tst_brkm(TCONF, cleanup, "Failed to obtain block device"); 86 tst_mkfs(cleanup, device, fs_type, NULL, NULL); 88 SAFE_MKDIR(cleanup, MNTPOINT, DIR_MODE); 93 static void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/munlockall/ |
munlockall01.c | 47 * Cleanup: 69 void cleanup(); 102 /* cleanup and exit */ 103 cleanup(); 123 tst_sig(NOFORK, DEF_HANDLER, cleanup); 129 * cleanup() - performs all ONE TIME cleanup for this test at 132 void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/open/ |
open14.c | 39 static void cleanup(void) function 56 tst_brkm(TCONF, cleanup, "O_TMPFILE not supported"); 58 tst_brkm(TBROK | TERRNO, cleanup, "open() failed"); 61 SAFE_CLOSE(cleanup, fd); 69 SAFE_WRITE(cleanup, 1, fd, buf, size); 78 fd = SAFE_OPEN(cleanup, ".", O_TMPFILE | O_RDWR, 0600); 83 SAFE_FSTAT(cleanup, fd, &st); 89 SAFE_CLOSE(cleanup, fd); 94 if (!tst_dir_is_empty(cleanup, ".", 1)) 95 tst_brkm(TFAIL, cleanup, "found a file, this is not expected") [all...] |
/external/ltp/testcases/kernel/syscalls/readv/ |
readv01.c | 55 static void cleanup(void); 69 SAFE_LSEEK(cleanup, fd, 0, SEEK_SET); 98 cleanup(); 104 tst_sig(NOFORK, DEF_HANDLER, cleanup); 112 fd = SAFE_OPEN(cleanup, "data_file", O_WRONLY | O_CREAT, 0666); 113 SAFE_WRITE(cleanup, 1, fd, buf, sizeof(buf)); 114 SAFE_CLOSE(cleanup, fd); 115 fd = SAFE_OPEN(cleanup, "data_file", O_RDONLY); 118 static void cleanup(void) function
|
/external/ltp/testcases/kernel/syscalls/rename/ |
rename04.c | 41 * Cleanup: 70 void cleanup(); 126 * cleanup and exit 128 cleanup(); 139 tst_sig(NOFORK, DEF_HANDLER, cleanup); 151 SAFE_MKDIR(cleanup, fdir, 00770); 153 SAFE_STAT(cleanup, fdir, &buf1); 160 SAFE_MKDIR(cleanup, mdir, 00770); 162 SAFE_TOUCH(cleanup, tstfile, 0700, NULL); 164 SAFE_STAT(cleanup, mdir, &buf2) 175 void cleanup(void) function [all...] |
rename05.c | 39 * Cleanup: 68 void cleanup(); 118 * cleanup and exit 120 cleanup(); 131 tst_sig(NOFORK, DEF_HANDLER, cleanup); 142 SAFE_TOUCH(cleanup, fname, 0700, NULL); 143 SAFE_STAT(cleanup, fname, &buf1); 151 tst_brkm(TBROK, cleanup, "tmp directory %s found!", mdir); 154 SAFE_MKDIR(cleanup, mdir, 00770); 156 SAFE_STAT(cleanup, mdir, &buf2) 167 void cleanup(void) function [all...] |
rename07.c | 23 * Cleanup: 51 void cleanup(); 100 cleanup(); 111 tst_sig(NOFORK, DEF_HANDLER, cleanup); 123 tst_brkm(TBROK, cleanup, "tmp directory %s found!", fdir); 126 SAFE_MKDIR(cleanup, fdir, 00770); 128 SAFE_STAT(cleanup, fdir, &buf1); 134 SAFE_TOUCH(cleanup, mname, 0700, NULL); 136 SAFE_STAT(cleanup, mname, &buf2); 144 * cleanup() - performs all ONE TIME cleanup for this test a 147 void cleanup(void) function [all...] |