Lines Matching refs:on_mod
4237 * Record that module "dep" is dependent on module "on_mod."
4240 mod_make_requisite(struct modctl *dependent, struct modctl *on_mod)
4246 ASSERT(dependent->mod_busy && on_mod->mod_busy);
4250 * Search dependent's requisite list to see if on_mod is recorded.
4255 if (mlp->modl_modp->mod_id >= on_mod->mod_id)
4259 if ((mlp == NULL) || (mlp->modl_modp->mod_id != on_mod->mod_id)) {
4261 new->modl_modp = on_mod;
4269 * unloaded. "on_mod"'s mod_ref count decremented in
4271 * unload is complete. "on_mod" must be loaded, but may not
4274 on_mod->mod_ref++;
4275 ASSERT(on_mod->mod_ref && on_mod->mod_loaded);
4372 struct modctl *on_mod;
4375 if ((on_mod = mod_hold_loaded_mod(dep, on, &retval)) != NULL) {
4376 mod_make_requisite(dep, on_mod);
4381 return (on_mod);