Lines Matching refs:kobj_modules
223 static struct modctl *kobj_modules = NULL; /* modules loaded */
519 bcopy(kobj_modules, &modules, sizeof (modules));
522 if (modp->mod_next == kobj_modules)
524 if (modp->mod_prev == kobj_modules)
893 struct module *kmp = (struct module *)kobj_modules->mod_mp;
963 kobj_modules->mod_text_size = kmp->text_size;
1119 if (kobj_modules == NULL) {
1120 kobj_modules = cp;
1123 cp->mod_prev = kobj_modules->mod_prev;
1124 cp->mod_next = kobj_modules;
1125 kobj_modules->mod_prev->mod_next = cp;
1126 kobj_modules->mod_prev = cp;
1279 struct modctl *mctl = kobj_modules;
1286 } while (mctl != kobj_modules);
3404 struct modctl *mctl = kobj_modules;
3409 } while ((mctl = mctl->mod_next) != kobj_modules);