Lines Matching defs:cleanup_fn
37 void tst_module_exists_(void (cleanup_fn)(void), const char *mod_name,
40 void tst_module_load_(void (cleanup_fn)(void), const char *mod_name,
43 void tst_module_unload_(void (cleanup_fn)(void), const char *mod_name);
53 * In case of failure, test'll call cleanup_fn and exit with TCONF return value.
55 static inline void tst_module_exists(void (cleanup_fn)(void),
58 tst_module_exists_(cleanup_fn, mod_name, mod_path);
69 * In case of insmod failure, test will call cleanup_fn and exit with TBROK
72 static inline void tst_module_load(void (cleanup_fn)(void),
75 tst_module_load_(cleanup_fn, mod_name, argv);
80 * cleanup_fn and exit with TBROK return value.
84 static inline void tst_module_unload(void (cleanup_fn)(void), const char *mod_name)
86 tst_module_unload_(cleanup_fn, mod_name);