Lines Matching refs:sc_mtx
309 mutex_enter(&fdc->sc_mtx);
311 mutex_exit(&fdc->sc_mtx);
322 mutex_enter(&fdc->sc_mtx);
324 cv_wait(&fdc->sc_cv, &fdc->sc_mtx);
331 mutex_exit(&fdc->sc_mtx);
364 mutex_destroy(&fdc->sc_mtx);
372 mutex_init(&fdc->sc_mtx, MUTEX_DEFAULT, IPL_BIO);
506 mutex_enter(&fdc->sc_mtx);
516 (void) cv_timedwait(&fdc->sc_cv, &fdc->sc_mtx, hz / 4);
521 if (cv_timedwait(&fdc->sc_cv, &fdc->sc_mtx, 2 * hz) != EWOULDBLOCK){
540 mutex_exit(&fdc->sc_mtx);
746 mutex_enter(&fdc->sc_mtx);
759 mutex_exit(&fdc->sc_mtx);
774 KASSERT(mutex_owned(&fdc->sc_mtx));
856 mutex_enter(&fdc->sc_mtx);
859 mutex_exit(&fdc->sc_mtx);
868 mutex_enter(&fdc->sc_mtx);
872 mutex_exit(&fdc->sc_mtx);
964 KASSERT(mutex_owned(&fdc->sc_mtx));
1033 mutex_enter(&fdc->sc_mtx);
1045 mutex_exit(&fdc->sc_mtx);
1061 KASSERT(mutex_owned(&fdc->sc_mtx));
1354 mutex_enter(&fdc->sc_mtx);
1356 mutex_exit(&fdc->sc_mtx);