Lines Matching defs:cleanup
48 static void cleanup(void);
72 SAFE_MOUNT(cleanup, device, mntpoint_src, fs_type, 0, NULL);
87 tst_brkm(TBROK | TTERRNO, cleanup,
92 cleanup();
120 tst_sig(NOFORK, DEF_HANDLER, cleanup);
125 device = tst_acquire_device(cleanup);
128 tst_brkm(TCONF, cleanup, "Failed to obtain block device");
130 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
133 tst_brkm(TBROK, cleanup, "getcwd failed");
139 SAFE_MOUNT(cleanup, path_name, path_name, "none", MS_BIND, NULL);
143 SAFE_MOUNT(cleanup, "none", path_name, "none", MS_PRIVATE, NULL);
148 SAFE_MKDIR(cleanup, mntpoint_src, DIR_MODE);
149 SAFE_MKDIR(cleanup, mntpoint_des, DIR_MODE);
154 static void cleanup(void)