Lines Matching defs:cleanup
60 int tst_fs_has_free_(void (*cleanup)(void), const char *path, unsigned int size,
68 * if (tst_fs_type(cleanup, ".") == TST_NFS_MAGIC) {
69 * tst_brkm(TCONF, cleanup,
77 * swtich ((type = tst_fs_type(cleanup, "."))) {
81 * tst_brkm(TCONF, cleanup, "Test not supported on %s filesystem",
86 long tst_fs_type_(void (*cleanup)(void), const char *path);
109 int tst_fs_fill_hardlinks_(void (*cleanup) (void), const char *dir);
128 int tst_fs_fill_subdirs_(void (*cleanup) (void), const char *dir);
134 int tst_dir_is_empty_(void (*cleanup)(void), const char *name, int verbose);
243 static inline long tst_fs_type(void (*cleanup)(void), const char *path)
245 return tst_fs_type_(cleanup, path);
248 static inline int tst_fs_has_free(void (*cleanup)(void), const char *path,
251 return tst_fs_has_free_(cleanup, path, size, mult);
254 static inline int tst_fs_fill_hardlinks(void (*cleanup)(void), const char *dir)
256 return tst_fs_fill_hardlinks_(cleanup, dir);
259 static inline int tst_fs_fill_subdirs(void (*cleanup)(void), const char *dir)
261 return tst_fs_fill_subdirs_(cleanup, dir);
264 static inline int tst_dir_is_empty(void (*cleanup)(void), const char *name, int verbose)
266 return tst_dir_is_empty_(cleanup, name, verbose);