Lines Matching defs:cleanup
88 static void cleanup(void);
106 cleanup();
118 tst_sig(NOFORK, DEF_HANDLER, cleanup);
123 device = tst_acquire_device(cleanup);
126 tst_brkm(TCONF, cleanup, "Failed to acquire device");
128 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
133 SAFE_MKDIR(cleanup, MNT_POINT, DIR_MODE);
134 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL);
137 ltpuser = SAFE_GETPWNAM(cleanup, "nobody");
138 SAFE_SETEUID(cleanup, ltpuser->pw_uid);
140 SAFE_MKDIR(cleanup, DIR_TEMP, DIR_TEMP_MODE);
146 SAFE_MKDIR(cleanup, "test_eloop", DIR_MODE);
147 SAFE_SYMLINK(cleanup, "../test_eloop", "test_eloop/test_eloop");
172 static void cleanup(void)