Searched refs:SQLOCK (Results 1 – 10 of 10) sorted by relevance
176 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 …]
717 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 …]
469 ASSERT(MUTEX_HELD(SQLOCK(sq))); \531 ASSERT(MUTEX_HELD(SQLOCK(sq))); \596 ASSERT(MUTEX_HELD(SQLOCK(sq))); \611 ASSERT(MUTEX_HELD(SQLOCK(sq))); \1690 mutex_enter(SQLOCK(sq)); in wait_syncq()1697 cv_wait(&sq->sq_wait, SQLOCK(sq)); in wait_syncq()1703 mutex_exit(SQLOCK(sq)); in wait_syncq()1715 mutex_enter(SQLOCK(sq)); in wait_q_syncq()1718 cv_wait(&sq->sq_wait, SQLOCK(sq)); in wait_q_syncq()1720 mutex_exit(SQLOCK(sq)); in wait_q_syncq()[all …]
789 mutex_enter(SQLOCK(qp->q_syncq)); in strclose()792 mutex_exit(SQLOCK(qp->q_syncq)); in strclose()
53 if ( (ret = mklock(SQLOCK)) == SUCCESS )58 logent("CAN'T LOCK", SQLOCK);59 DEBUG(4, "can't lock %s\n", SQLOCK);101 rmlock(SQLOCK);119 rmlock(SQLOCK); in cmtseq()125 rmlock(SQLOCK); in cmtseq()136 rmlock(SQLOCK); in ulkseq()
233 #define SQLOCK "/var/spool/locks/LCK.SQ" macro240 #define SQLOCK "/var/spool/uucp/LCK.SQ"
816 #define SQLOCK(sq) (&(sq)->sq_lock) macro843 ASSERT(MUTEX_HELD(SQLOCK(sq))); \856 ASSERT(MUTEX_HELD(SQLOCK(sq))); \869 ASSERT(MUTEX_HELD(SQLOCK(sq))); \884 ASSERT(MUTEX_HELD(SQLOCK(sq))); \902 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
145 #define SQLOCK (const char *)"/var/spool/locks/LCK.SQ" macro153 #define SQLOCK (const char *)"/var/spool/uucp/LCK.SQ"
188 #define SQLOCK "/var/spool/locks/LCK.SQ" macro195 #define SQLOCK "/var/spool/uucp/LCK.SQ"
3802 mutex_enter(SQLOCK(sq)); in rwnext()3813 mutex_exit(SQLOCK(sq)); in rwnext()3822 cv_wait(&sq->sq_wait, SQLOCK(sq)); in rwnext()3833 mutex_exit(SQLOCK(sq)); in rwnext()3849 mutex_exit(SQLOCK(sq)); in rwnext()3881 mutex_enter(SQLOCK(sq)); in rwnext()3923 mutex_exit(SQLOCK(sq)); in rwnext()3967 mutex_enter(SQLOCK(sq)); in infonext()3978 cv_wait(&sq->sq_wait, SQLOCK(sq)); in infonext()3987 mutex_exit(SQLOCK(sq)); in infonext()[all …]