Searched refs:apmsc (Results 1 – 3 of 3) sorted by relevance
91 #define APM_LOCK(apmsc) \ argument92 (void) mutex_enter(&(apmsc)->sc_lock)93 #define APM_UNLOCK(apmsc) \ argument94 (void) mutex_exit(&(apmsc)->sc_lock)718 struct apm_softc *apmsc = arg; in apm_thread() local724 APM_LOCK(apmsc); in apm_thread()725 apm_periodic_check(apmsc); in apm_thread()726 APM_UNLOCK(apmsc); in apm_thread()727 (void) tsleep(apmsc, PWAIT, "apmev", (8 * hz) / 7); in apm_thread()
91 #define APM_LOCK(apmsc) \ argument92 (void) mutex_enter(&(apmsc)->sc_lock)93 #define APM_UNLOCK(apmsc) \ argument94 (void) mutex_exit(&(apmsc)->sc_lock)662 struct apm_softc *apmsc = arg; in apm_thread() local668 APM_LOCK(apmsc); in apm_thread()669 apm_periodic_check(apmsc); in apm_thread()670 APM_UNLOCK(apmsc); in apm_thread()671 (void) tsleep(apmsc, PWAIT, "apmev", (8 * hz) / 7); in apm_thread()
85 #define APM_LOCK(apmsc) mutex_enter(&(apmsc)->sc_lock) argument86 #define APM_UNLOCK(apmsc) mutex_exit(&(apmsc)->sc_lock) argument