Lines Matching defs:mctlp
416 struct modctl *mctlp;
420 mctlp = mod_getctl(pinfo->pi_provider_dev.pd_sw);
428 mctlp = mod_find_by_filename("drv", drvmod);
433 return (mctlp);
508 struct modctl *mctlp = pd->pd_mctlp;
513 if (mctlp == NULL || mctlp->mod_mp == NULL)
516 mp = (struct module *)mctlp->mod_mp;
558 struct modctl *mctlp = pd->pd_mctlp;
561 ASSERT(mctlp != NULL);
583 if (mctlp->mod_mp == NULL) {
593 mctlp->mod_inprogress_thread == curthread) {
606 if (mctlp->mod_busy) {
613 (void) mod_hold_by_modctl(mctlp,
637 mp = (struct module *)mctlp->mod_mp;
711 mod_release_mod(mctlp);