Lines Matching defs:queue_mtx
251 struct mtx queue_mtx;
484 mtx_lock(&sc->queue_mtx);
487 mtx_unlock(&sc->queue_mtx);
1214 mtx_lock(&sc->queue_mtx);
1217 mtx_unlock(&sc->queue_mtx);
1222 msleep(sc, &sc->queue_mtx, PRIBIO | PDROP, "mdwait", 0);
1225 mtx_unlock(&sc->queue_mtx);
1280 mtx_init(&sc->queue_mtx, "md bio queue", NULL, MTX_DEF);
1288 mtx_destroy(&sc->queue_mtx);
1507 mtx_lock(&sc->queue_mtx);
1510 mtx_unlock(&sc->queue_mtx);
1522 mtx_lock(&sc->queue_mtx);
1524 msleep(&sc->flags, &sc->queue_mtx, PRIBIO, "mddestroy", 0);
1525 mtx_unlock(&sc->queue_mtx);
1531 mtx_lock(&sc->queue_mtx);
1535 msleep(sc->procp, &sc->queue_mtx, PRIBIO, "mddestroy", hz / 10);
1536 mtx_unlock(&sc->queue_mtx);
1537 mtx_destroy(&sc->queue_mtx);