Searched refs:q_lock (Results 1 - 12 of 12) sorted by relevance

/freebsd-11.0-release/sys/dev/twa/
H A Dtw_osl.h147 struct mtx *q_lock;/* ptr to queue manipulation lock */ member in struct:twa_softc
232 mtx_lock_spin(req->ctlr->q_lock);
235 mtx_unlock_spin(req->ctlr->q_lock);
244 mtx_lock_spin(req->ctlr->q_lock);
247 mtx_unlock_spin(req->ctlr->q_lock);
259 mtx_lock_spin(sc->q_lock);
267 mtx_unlock_spin(sc->q_lock);
277 mtx_lock_spin(req->ctlr->q_lock);
280 mtx_unlock_spin(req->ctlr->q_lock);
H A Dtw_osl_freebsd.c303 sc->q_lock = &(sc->q_lock_handle);
304 mtx_init(sc->q_lock, "tw_osl_q_lock", NULL, MTX_SPIN);
/freebsd-11.0-release/sys/dev/tws/
H A Dtws_services.c209 mtx_lock(&sc->q_lock);
214 mtx_unlock(&sc->q_lock);
224 mtx_assert(&sc->q_lock, MA_OWNED);
236 mtx_assert(&sc->q_lock, MA_OWNED);
254 mtx_assert(&sc->q_lock, MA_OWNED);
273 mtx_assert(&sc->q_lock, MA_OWNED);
296 mtx_assert(&sc->q_lock, MA_OWNED);
321 mtx_assert(&sc->q_lock, MA_OWNED);
H A Dtws.c197 mtx_init( &sc->q_lock, "tws_q_lock", NULL, MTX_DEF);
342 mtx_destroy(&sc->q_lock);
428 mtx_destroy(&sc->q_lock);
700 mtx_lock(&sc->q_lock);
705 mtx_unlock(&sc->q_lock);
727 mtx_unlock(&sc->q_lock);
850 struct mtx *my_mutex = ((type == TWS_REQ_TYPE_SCSI_IO) ? &sc->q_lock : &sc->gen_lock);
890 mtx_lock(&sc->q_lock);
892 mtx_unlock(&sc->q_lock);
H A Dtws_cam.c340 mtx_lock(&sc->q_lock);
342 mtx_unlock(&sc->q_lock);
353 mtx_lock(&sc->q_lock);
355 mtx_unlock(&sc->q_lock);
566 mtx_lock(&sc->q_lock);
569 mtx_unlock(&sc->q_lock);
589 mtx_lock(&sc->q_lock);
591 mtx_unlock(&sc->q_lock);
609 mtx_lock(&sc->q_lock);
612 mtx_unlock(&sc->q_lock);
[all...]
H A Dtws.h245 struct mtx q_lock; /* queue lock */ member in struct:tws_softc
H A Dtws_hdm.c334 mtx_lock(&sc->q_lock);
336 mtx_unlock(&sc->q_lock);
/freebsd-11.0-release/sys/dev/netmap/
H A Dnetmap_monitor.c442 mtx_lock(&mkring->q_lock);
486 mtx_unlock(&mkring->q_lock);
560 mtx_lock(&mkring->q_lock);
604 mtx_unlock(&mkring->q_lock);
H A Dnetmap_vale.c1492 mtx_lock(&kring->q_lock);
1494 mtx_unlock(&kring->q_lock);
1502 mtx_unlock(&kring->q_lock);
1582 mtx_lock(&kring->q_lock);
1622 mtx_unlock(&kring->q_lock);
1637 mtx_unlock(&kring->q_lock);
1740 mtx_lock(&kring->q_lock);
1742 mtx_unlock(&kring->q_lock);
H A Dnetmap.c556 mtx_lock(&kr->q_lock);
557 mtx_unlock(&kr->q_lock);
829 mtx_init(&kring->q_lock, (t == NR_TX ? "nm_txq_lock" : "nm_rxq_lock"), NULL, MTX_DEF);
867 mtx_destroy(&kring->q_lock);
H A Dnetmap_kern.h281 * and receiver. They are protected through the q_lock on the RX ring.
320 NM_LOCK_T q_lock; /* protects kring and ring. */ member in struct:netmap_kring
/freebsd-11.0-release/sys/dev/sound/midi/
H A Dsequencer.c122 struct mtx seq_lock, q_lock; member in struct:seq_softc

Completed in 148 milliseconds