Lines Matching refs:mod_name
32 const char *mod_name, char **mod_path) in tst_module_exists_() argument
35 if (access(mod_name, F_OK) == 0) { in tst_module_exists_()
37 *mod_path = strdup(mod_name); in tst_module_exists_()
46 ltproot, mod_name) == -1) { in tst_module_exists_()
58 mod_name) == -1) { in tst_module_exists_()
70 mod_name); in tst_module_exists_()
81 const char *mod_name, char *const argv[]) in tst_module_load_() argument
84 tst_module_exists_(cleanup_fn, mod_name, &mod_path); in tst_module_load_()
104 void tst_module_unload_(void (cleanup_fn)(void), const char *mod_name) in tst_module_unload_() argument
108 const char *const argv[] = { "rmmod", mod_name, NULL }; in tst_module_unload_()
122 "could not unload %s module", mod_name); in tst_module_unload_()