Lines Matching defs:modid
796 int modid;
799 htkp->modid = -1;
805 if ((modid = modload("drv", vendor_hotkey_drv_list[i].module))
810 htkp->modid = modid;
827 if (htkp->modid != -1) {
828 modp = mod_hold_by_id(htkp->modid);
841 if (htkp->modid != -1)
842 (void) modunload(htkp->modid);
857 if (htkp->modid != -1) {
858 modp = mod_hold_by_id(htkp->modid);
864 (void) modunload(htkp->modid);