Lines Matching refs:cleanup
60 static void cleanup(void);
85 cleanup(); in main()
93 tst_sig(NOFORK, DEF_HANDLER, cleanup); in setup()
102 device = tst_acquire_device(cleanup); in setup()
105 tst_brkm(TCONF, cleanup, "Failed to obtain block device"); in setup()
107 tst_mkfs(cleanup, device, fs_type, NULL, NULL); in setup()
109 SAFE_MKDIR(cleanup, MNTPOINT, 0755); in setup()
111 tst_brkm(TBROK | TERRNO, cleanup, in setup()
115 SAFE_TOUCH(cleanup, TEST_EROFS, 0644, NULL); in setup()
117 SAFE_MKDIR(cleanup, TEST_EMLINK, 0755); in setup()
118 max_subdirs = tst_fs_fill_subdirs(cleanup, "emlink_dir"); in setup()
123 SAFE_MKDIR(cleanup, "test_eloop", 0644); in setup()
124 SAFE_SYMLINK(cleanup, "../test_eloop", "test_eloop/test_eloop"); in setup()
150 SAFE_UNLINK(cleanup, TEST_NEW_ELOOP); in test_eloop()
156 tst_brkm(TBROK | TERRNO, cleanup, in test_erofs()
164 SAFE_UNLINK(cleanup, TEST_NEW_EROFS); in test_erofs()
167 tst_brkm(TBROK | TERRNO, cleanup, in test_erofs()
183 SAFE_RMDIR(cleanup, TEST_NEW_EMLINK); in test_emlink()
186 static void cleanup(void) in cleanup() function