Lines Matching refs:fdc_mtx
641 mtx_assert(&fd->fdc->fdc_mtx, MA_OWNED); in fd_turnon()
682 mtx_assert(&fd->fdc->fdc_mtx, MA_OWNED); in fd_turnoff()
739 mtx_lock(&fdc->fdc_mtx); in fdc_biodone()
744 mtx_unlock(&fdc->fdc_mtx); in fdc_biodone()
782 mtx_lock(&fdc->fdc_mtx); in fdc_worker()
784 mtx_unlock(&fdc->fdc_mtx); in fdc_worker()
794 mtx_lock(&fdc->fdc_mtx); in fdc_worker()
796 mtx_unlock(&fdc->fdc_mtx); in fdc_worker()
816 mtx_lock(&fdc->fdc_mtx); in fdc_worker()
820 msleep(&fdc->head, &fdc->fdc_mtx, in fdc_worker()
824 mtx_unlock(&fdc->fdc_mtx); in fdc_worker()
870 mtx_lock(&fdc->fdc_mtx); in fdc_worker()
873 mtx_unlock(&fdc->fdc_mtx); in fdc_worker()
969 mtx_lock(&fdc->fdc_mtx); in fdc_worker()
971 mtx_unlock(&fdc->fdc_mtx); in fdc_worker()
1052 mtx_lock(&fdc->fdc_mtx); in fdc_worker()
1054 mtx_unlock(&fdc->fdc_mtx); in fdc_worker()
1157 mtx_lock(&fdc->fdc_mtx); in fdc_thread()
1160 mtx_unlock(&fdc->fdc_mtx); in fdc_thread()
1168 mtx_lock(&fdc->fdc_mtx); in fdc_thread()
1171 mtx_unlock(&fdc->fdc_mtx); in fdc_thread()
1185 mtx_lock(&fdc->fdc_mtx); in fd_enqueue()
1199 mtx_unlock(&fdc->fdc_mtx); in fd_enqueue()
1223 mtx_lock(&fdc->fdc_mtx); in fd_probe_disk()
1225 mtx_unlock(&fdc->fdc_mtx); in fd_probe_disk()
1244 mtx_lock(&fdc->fdc_mtx); in fd_probe_disk()
1246 mtx_unlock(&fdc->fdc_mtx); in fd_probe_disk()
1252 mtx_lock(&fdc->fdc_mtx); in fd_probe_disk()
1258 mtx_unlock(&fdc->fdc_mtx); in fd_probe_disk()
1443 mtx_lock(&fdc->fdc_mtx); in fd_access()
1445 mtx_unlock(&fdc->fdc_mtx); in fd_access()
1448 mtx_lock(&fdc->fdc_mtx); in fd_access()
1450 mtx_unlock(&fdc->fdc_mtx); in fd_access()
1554 mtx_lock(&fd->fdc->fdc_mtx); in fd_ioctl()
1556 mtx_unlock(&fd->fdc->fdc_mtx); in fd_ioctl()
1741 mtx_lock(&fdc->fdc_mtx); in fdc_detach()
1745 msleep(fdc->fdc_thread, &fdc->fdc_mtx, PRIBIO, "fdcdet", 0); in fdc_detach()
1746 mtx_unlock(&fdc->fdc_mtx); in fdc_detach()
1754 mtx_destroy(&fdc->fdc_mtx); in fdc_detach()
1820 mtx_init(&fdc->fdc_mtx, "fdc lock", NULL, MTX_DEF); in fdc_attach()
1930 mtx_lock(&fdc->fdc_mtx); in fd_probe()
1974 mtx_unlock(&fdc->fdc_mtx); in fd_probe()
2005 callout_init_mtx(&fd->toffhandle, &fd->fdc->fdc_mtx, 0); in fd_probe()