Home
last modified time | relevance | path

Searched refs:QLOCK (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Dstream.c1925 ASSERT(MUTEX_HELD(QLOCK(q))); in getq_noenab()
1927 mutex_enter(QLOCK(q)); in getq_noenab()
2053 ASSERT(MUTEX_HELD(QLOCK(q))); in getq_noenab()
2077 mutex_exit(QLOCK(q)); in getq_noenab()
2119 ASSERT(MUTEX_HELD(QLOCK(q))); in qbackenable()
2121 mutex_enter(QLOCK(q)); in qbackenable()
2147 mutex_exit(QLOCK(q)); in qbackenable()
2163 mutex_exit(QLOCK(q)); in qbackenable()
2185 if (curthread != STREAM(q)->sd_freezer && MUTEX_HELD(QLOCK(q))) { in rmvq()
2190 mutex_exit(QLOCK(q)); in rmvq()
[all …]
H A Dtimod.c2625 mutex_enter(QLOCK(rq)); in ti_expind_on_rdqueues()
2638 mutex_exit(QLOCK(rq)); in ti_expind_on_rdqueues()
2644 mutex_exit(QLOCK(rq)); in ti_expind_on_rdqueues()
H A Dldterm.c1467 mutex_enter(QLOCK(nextq)); in ldtermrput()
1469 mutex_exit(QLOCK(nextq)); in ldtermrput()
/illumos-gate/usr/src/uts/common/os/
H A Dputnext.c276 ASSERT(MUTEX_NOT_HELD(QLOCK(qp))); in putnext()
278 mutex_enter(QLOCK(qp)); in putnext()
284 mutex_exit(QLOCK(qp)); in putnext()
315 ASSERT(MUTEX_NOT_HELD(QLOCK(qp))); in putnext()
543 ASSERT(MUTEX_NOT_HELD(QLOCK(qp))); in put()
545 mutex_enter(QLOCK(qp)); in put()
551 mutex_exit(QLOCK(qp)); in put()
582 ASSERT(MUTEX_NOT_HELD(QLOCK(qp))); in put()
H A Dstrsubr.c582 ASSERT(MUTEX_HELD(QLOCK(qp))); \
707 mutex_init(QLOCK(qp), NULL, MUTEX_DEFAULT, NULL); in queue_constructor()
722 mutex_init(QLOCK(wqp), NULL, MUTEX_DEFAULT, NULL); in queue_constructor()
1277 mutex_enter(QLOCK(qp)); in qdetach()
1279 mutex_exit(QLOCK(qp)); in qdetach()
1327 mutex_enter(QLOCK(qp)); in disable_svc()
1329 mutex_exit(QLOCK(qp)); in disable_svc()
1330 mutex_enter(QLOCK(wqp)); in disable_svc()
1332 mutex_exit(QLOCK(wqp)); in disable_svc()
1342 mutex_enter(QLOCK(qp)); in enable_svc()
[all …]
H A Dddi.c532 mutex_enter(QLOCK(q)); in canputnext()
535 mutex_exit(QLOCK(q)); in canputnext()
542 mutex_exit(QLOCK(q)); in canputnext()
640 mutex_enter(QLOCK(q)); in freezestr()
641 mutex_enter(QLOCK(RD(q))); in freezestr()
658 mutex_exit(QLOCK(q1)); in unfreezestr()
659 mutex_exit(QLOCK(RD(q1))); in unfreezestr()
H A Dstreamio.c623 mutex_enter(QLOCK(stp->sd_wrq->q_next)); in stropen()
626 mutex_exit(QLOCK(stp->sd_wrq->q_next)); in stropen()
636 mutex_enter(QLOCK(stp->sd_wrq)); in stropen()
639 mutex_exit(QLOCK(stp->sd_wrq)); in stropen()
761 mutex_enter(QLOCK(qp->q_next)); in strclose()
763 mutex_exit(QLOCK(qp->q_next)); in strclose()
770 mutex_exit(QLOCK(qp->q_next)); in strclose()
3026 mutex_enter(QLOCK(tq)); in strwsrv()
3028 mutex_exit(QLOCK(tq)); in strwsrv()
3037 mutex_exit(QLOCK(tq)); in strwsrv()
[all …]
H A Dlogsubr.c144 mutex_init(QLOCK(q), NULL, MUTEX_DRIVER, ibc); in log_makeq()
H A Ddevcfg.c7191 mutex_enter(QLOCK(rq)); in ddi_assoc_queue_with_devi()
7193 mutex_exit(QLOCK(rq)); in ddi_assoc_queue_with_devi()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockstr.c2055 mutex_enter(QLOCK(qp)); in strsock_proto()
2096 mutex_exit(QLOCK(qp)); in strsock_proto()
2101 mutex_exit(QLOCK(qp)); in strsock_proto()
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifovnops.c1504 mutex_enter(QLOCK(qp)); in fifo_getattr()
1508 mutex_exit(QLOCK(qp)); in fifo_getattr()
/illumos-gate/usr/src/uts/common/sys/
H A Dstrsubr.h833 #define QLOCK(q) (&(q)->q_lock) macro
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip.c13548 mutex_enter(QLOCK(q)); in conn_setqfull()
13555 mutex_exit(QLOCK(q)); in conn_setqfull()
13558 mutex_exit(QLOCK(q)); in conn_setqfull()
13577 mutex_enter(QLOCK(q)); in conn_clrqfull()
13583 mutex_exit(QLOCK(q)); in conn_clrqfull()
13588 mutex_exit(QLOCK(q)); in conn_clrqfull()