Lines Matching refs:sc_lock
133 mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_SOFTUSB);
161 mutex_destroy(&sc->sc_lock);
183 mutex_enter(&sc->sc_lock);
198 mutex_exit(&sc->sc_lock);
215 mutex_enter(&sc->sc_lock);
217 mutex_exit(&sc->sc_lock);
222 mutex_exit(&sc->sc_lock);
247 mutex_enter(&sc->sc_lock);
249 mutex_exit(&sc->sc_lock);
262 fail0: mutex_enter(&sc->sc_lock);
266 mutex_exit(&sc->sc_lock);
283 mutex_enter(&sc->sc_lock);
286 mutex_exit(&sc->sc_lock);
302 mutex_enter(&sc->sc_lock);
310 mutex_exit(&sc->sc_lock);
330 mutex_enter(&sc->sc_lock);
337 mutex_exit(&sc->sc_lock);
365 mutex_enter(&sc->sc_lock);
368 mutex_exit(&sc->sc_lock);
372 mutex_exit(&sc->sc_lock);
376 error = cv_wait_sig(&sc->sc_cv, &sc->sc_lock);
394 mutex_exit(&sc->sc_lock);
397 mutex_enter(&sc->sc_lock);
400 mutex_exit(&sc->sc_lock);
604 mutex_enter(&sc->sc_lock);
613 mutex_exit(&sc->sc_lock);
623 mutex_enter(&sc->sc_lock);
625 mutex_exit(&sc->sc_lock);
634 KASSERT(mutex_owned(&sc->sc_lock));
636 mutex_enter(&sc->sc_lock);
641 KASSERT(mutex_owned(&sc->sc_lock));
643 mutex_exit(&sc->sc_lock);
664 mutex_enter(&sc->sc_lock);
666 mutex_exit(&sc->sc_lock);