Lines Matching defs:cleanup
43 static void cleanup(void);
99 cleanup();
110 tst_sig(NOFORK, DEF_HANDLER, cleanup);
115 device = tst_acquire_device(cleanup);
118 tst_brkm(TCONF, cleanup, "Failed to acquire device");
120 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
127 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE);
128 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL);
130 dir_fd = SAFE_OPEN(cleanup, MNT_POINT, O_DIRECTORY);
136 SAFE_MKDIR(cleanup, "test_eloop", DIR_MODE);
137 SAFE_SYMLINK(cleanup, "../test_eloop", "test_eloop/test_eloop");
162 tst_brkm(TBROK | TERRNO, cleanup, "unlinkat(%d, %s) "
167 static void cleanup(void)