Lines Matching full:cleanup
58 static void cleanup(void);
101 cleanup();
147 tst_sig(NOFORK, DEF_HANDLER, cleanup);
152 device = tst_acquire_device(cleanup);
155 tst_brkm(TCONF, cleanup, "Failed to acquire device");
159 ltpuser = SAFE_GETPWNAM(cleanup, "nobody");
161 SAFE_TOUCH(cleanup, TEST_FILE, 0644, NULL);
165 SAFE_TOUCH(cleanup, TEST_EXIST, 0644, NULL);
167 SAFE_SYMLINK(cleanup, TEST_ELOOP, "test_file_eloop2");
168 SAFE_SYMLINK(cleanup, "test_file_eloop2", TEST_ELOOP);
170 SAFE_MKDIR(cleanup, "./tmp", DIR_MODE);
171 SAFE_TOUCH(cleanup, TEST_EACCES, 0666, NULL);
173 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
174 SAFE_MKDIR(cleanup, "mntpoint", DIR_MODE);
176 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type, 0, NULL);
179 max_hardlinks = tst_fs_fill_hardlinks(cleanup, "emlink_dir");
184 SAFE_SETEUID(cleanup, ltpuser->pw_uid);
189 SAFE_SETEUID(cleanup, 0);
194 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type,
199 static void cleanup(void)