Searched refs:moddef (Results 1 – 2 of 2) sorted by relevance
1337 MODLIST_T *moddef; in module_loaded() local1341 moddef = state.modlist; in module_loaded()1342 if (moddef != NULL) { in module_loaded()1343 cmp = strcasecmp(name, moddef->ml_mod->mod_name); in module_loaded()1345 return (moddef); in module_loaded()1347 *insdef = moddef; in module_loaded()1348 moddef = moddef->ml_next; in module_loaded()1350 while (moddef && (cmp < 0)) { in module_loaded()1351 cmp = strcasecmp(moddef->ml_mod->mod_name, in module_loaded()1354 return (moddef); in module_loaded()[all …]
767 MODLIST_T *moddef; in cmd_unload() local794 for (moddef = state.modlist; moddef != NULL; in cmd_unload()795 moddef = moddef->ml_next) in cmd_unload()796 if (moddef->ml_dl_hdl != NULL) break; in cmd_unload()799 if (moddef == NULL) in cmd_unload()802 elfedit_unload_module(moddef->ml_mod->mod_name); in cmd_unload()1034 static MODLIST_T moddef = { in elfedit_sys_init() local1041 return (&moddef); in elfedit_sys_init()