Home
last modified time | relevance | path

Searched refs:SQLOCK (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dputnext.c176 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in putnext()
200 mutex_enter(SQLOCK(sq)); in putnext()
230 mutex_exit(SQLOCK(sq)); in putnext()
259 mutex_exit(SQLOCK(sq)); in putnext()
263 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in putnext()
275 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in putnext()
288 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in putnext()
350 if (mutex_tryenter(SQLOCK(sq)) == 0) { in putnext()
352 mutex_enter(SQLOCK(sq)); in putnext()
368 mutex_enter(SQLOCK(sq)); in putnext()
[all …]
H A Dddi.c717 mutex_enter(SQLOCK(sq)); in qwait_sig()
750 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in qwait_sig()
765 ret = cv_wait_sig(&sq->sq_exitwait, SQLOCK(sq)); in qwait_sig()
773 mutex_exit(SQLOCK(sq)); in qwait_sig()
829 mutex_enter(SQLOCK(sq)); in qwait()
862 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in qwait()
877 cv_wait(&sq->sq_exitwait, SQLOCK(sq)); in qwait()
885 mutex_exit(SQLOCK(sq)); in qwait()
922 mutex_enter(SQLOCK(sq)); in qwait_rw()
948 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in qwait_rw()
[all …]
H A Dstrsubr.c472 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
534 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
599 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
614 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
1693 mutex_enter(SQLOCK(sq)); in wait_syncq()
1700 cv_wait(&sq->sq_wait, SQLOCK(sq)); in wait_syncq()
1706 mutex_exit(SQLOCK(sq)); in wait_syncq()
1718 mutex_enter(SQLOCK(sq)); in wait_q_syncq()
1721 cv_wait(&sq->sq_wait, SQLOCK(sq)); in wait_q_syncq()
1723 mutex_exit(SQLOCK(sq)); in wait_q_syncq()
[all …]
H A Dstreamio.c842 mutex_enter(SQLOCK(qp->q_syncq)); in strclose()
845 mutex_exit(SQLOCK(qp->q_syncq)); in strclose()
/illumos-gate/usr/src/cmd/bnu/
H A Dgnxseq.c49 if ((ret = mklock(SQLOCK)) == SUCCESS) in gnxseq()
54 logent("CAN'T LOCK", SQLOCK); in gnxseq()
55 DEBUG(4, "can't lock %s\n", SQLOCK); in gnxseq()
97 rmlock(SQLOCK); in gnxseq()
115 rmlock(SQLOCK); in cmtseq()
121 rmlock(SQLOCK); in cmtseq()
132 rmlock(SQLOCK); in ulkseq()
H A Duucp.h231 #define SQLOCK "/var/spool/locks/LCK.SQ" macro
238 #define SQLOCK "/var/spool/uucp/LCK.SQ"
/illumos-gate/usr/src/uts/common/sys/
H A Dstrsubr.h834 #define SQLOCK(sq) (&(sq)->sq_lock) macro
861 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
874 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
887 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
902 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
920 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
/illumos-gate/usr/src/lib/libnsl/dial/
H A Duucp.h143 #define SQLOCK (const char *)"/var/spool/locks/LCK.SQ" macro
151 #define SQLOCK (const char *)"/var/spool/uucp/LCK.SQ"
/illumos-gate/usr/src/uts/common/io/
H A Dstream.c3789 mutex_enter(SQLOCK(sq)); in rwnext()
3800 mutex_exit(SQLOCK(sq)); in rwnext()
3809 cv_wait(&sq->sq_wait, SQLOCK(sq)); in rwnext()
3820 mutex_exit(SQLOCK(sq)); in rwnext()
3836 mutex_exit(SQLOCK(sq)); in rwnext()
3868 mutex_enter(SQLOCK(sq)); in rwnext()
3910 mutex_exit(SQLOCK(sq)); in rwnext()
3954 mutex_enter(SQLOCK(sq)); in infonext()
3965 cv_wait(&sq->sq_wait, SQLOCK(sq)); in infonext()
3974 mutex_exit(SQLOCK(sq)); in infonext()
[all …]
/illumos-gate/usr/src/cmd/ttymon/
H A Duucp.h187 #define SQLOCK "/var/spool/locks/LCK.SQ" macro
194 #define SQLOCK "/var/spool/uucp/LCK.SQ"