Lines Matching refs:module_head
193 static module_t *module_head = NULL;
1438 if (module_head == NULL) {
1447 if (module_head != NULL)
2112 while (module_head != NULL) {
2114 if ((module_head->minor_fini != NULL) &&
2115 ((module_head->flags & MODULE_ACTIVE) == MODULE_ACTIVE)) {
2116 (void) (*(module_head->minor_fini))();
2119 vprint(MODLOAD_MID, "unloading module %s\n", module_head->name);
2120 free(module_head->name);
2121 (void) dlclose(module_head->dlhandle);
2123 module_free = module_head;
2124 module_head = module_head->next;
2391 module->next = module_head;
2392 module_head = module;