Lines Matching refs:fdc_mtx

639 	mtx_assert(&fd->fdc->fdc_mtx, MA_OWNED);  in fd_turnon()
680 mtx_assert(&fd->fdc->fdc_mtx, MA_OWNED); in fd_turnoff()
737 mtx_lock(&fdc->fdc_mtx); in fdc_biodone()
742 mtx_unlock(&fdc->fdc_mtx); in fdc_biodone()
780 mtx_lock(&fdc->fdc_mtx); in fdc_worker()
782 mtx_unlock(&fdc->fdc_mtx); in fdc_worker()
792 mtx_lock(&fdc->fdc_mtx); in fdc_worker()
794 mtx_unlock(&fdc->fdc_mtx); in fdc_worker()
814 mtx_lock(&fdc->fdc_mtx); in fdc_worker()
818 msleep(&fdc->head, &fdc->fdc_mtx, in fdc_worker()
822 mtx_unlock(&fdc->fdc_mtx); in fdc_worker()
868 mtx_lock(&fdc->fdc_mtx); in fdc_worker()
871 mtx_unlock(&fdc->fdc_mtx); in fdc_worker()
967 mtx_lock(&fdc->fdc_mtx); in fdc_worker()
969 mtx_unlock(&fdc->fdc_mtx); in fdc_worker()
1050 mtx_lock(&fdc->fdc_mtx); in fdc_worker()
1052 mtx_unlock(&fdc->fdc_mtx); in fdc_worker()
1155 mtx_lock(&fdc->fdc_mtx); in fdc_thread()
1158 mtx_unlock(&fdc->fdc_mtx); in fdc_thread()
1166 mtx_lock(&fdc->fdc_mtx); in fdc_thread()
1169 mtx_unlock(&fdc->fdc_mtx); in fdc_thread()
1183 mtx_lock(&fdc->fdc_mtx); in fd_enqueue()
1197 mtx_unlock(&fdc->fdc_mtx); in fd_enqueue()
1221 mtx_lock(&fdc->fdc_mtx); in fd_probe_disk()
1223 mtx_unlock(&fdc->fdc_mtx); in fd_probe_disk()
1242 mtx_lock(&fdc->fdc_mtx); in fd_probe_disk()
1244 mtx_unlock(&fdc->fdc_mtx); in fd_probe_disk()
1250 mtx_lock(&fdc->fdc_mtx); in fd_probe_disk()
1256 mtx_unlock(&fdc->fdc_mtx); in fd_probe_disk()
1441 mtx_lock(&fdc->fdc_mtx); in fd_access()
1443 mtx_unlock(&fdc->fdc_mtx); in fd_access()
1446 mtx_lock(&fdc->fdc_mtx); in fd_access()
1448 mtx_unlock(&fdc->fdc_mtx); in fd_access()
1552 mtx_lock(&fd->fdc->fdc_mtx); in fd_ioctl()
1554 mtx_unlock(&fd->fdc->fdc_mtx); in fd_ioctl()
1739 mtx_lock(&fdc->fdc_mtx); in fdc_detach()
1743 msleep(fdc->fdc_thread, &fdc->fdc_mtx, PRIBIO, "fdcdet", 0); in fdc_detach()
1744 mtx_unlock(&fdc->fdc_mtx); in fdc_detach()
1752 mtx_destroy(&fdc->fdc_mtx); in fdc_detach()
1818 mtx_init(&fdc->fdc_mtx, "fdc lock", NULL, MTX_DEF); in fdc_attach()
1927 mtx_lock(&fdc->fdc_mtx); in fd_probe()
1971 mtx_unlock(&fdc->fdc_mtx); in fd_probe()
2002 callout_init_mtx(&fd->toffhandle, &fd->fdc->fdc_mtx, 0); in fd_probe()