Lines Matching refs:hmodp
4733 struct modctl *hmodp = NULL;
4756 retval = modrload(subdir, mod, &hmodp);
4767 hmodp ? hmodp->mod_filename : "<unknown>",
4768 (void *)hmodp, retval);
4770 return ((ddi_modhandle_t)hmodp);
4777 struct modctl *hmodp = (struct modctl *)h;
4781 ASSERT(hmodp && name && hmodp->mod_installed && (hmodp->mod_ref >= 1));
4782 if ((hmodp == NULL) || (name == NULL) ||
4783 (hmodp->mod_installed == 0) || (hmodp->mod_ref < 1)) {
4787 f = (void *)kobj_lookup(hmodp->mod_mp, (char *)name);
4796 hmodp ? hmodp->mod_modname : "<unknown>",
4808 struct modctl *hmodp = (struct modctl *)h;
4812 ASSERT(hmodp && hmodp->mod_installed && (hmodp->mod_ref >= 1));
4813 if ((hmodp == NULL) ||
4814 (hmodp->mod_installed == 0) || (hmodp->mod_ref < 1)) {
4819 retval = modunrload(hmodp->mod_id, &modp, ddi_modclose_unload);
4824 ASSERT(hmodp == modp);
4825 if (hmodp != modp)
4831 hmodp ? hmodp->mod_modname : "<unknown>", retval);