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

/illumos-gate/usr/src/cmd/bnu/
H A Dgnxseq.c53 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);
125 rmlock(SQLOCK);
136 rmlock(SQLOCK);
H A Duucp.h233 #define SQLOCK "/var/spool/locks/LCK.SQ" macro
240 #define SQLOCK "/var/spool/uucp/LCK.SQ" macro
/illumos-gate/usr/src/uts/common/os/
H A Dputnext.c111 * then we need to take the normal lock path by aquiring the SQLOCK.
136 * SQLOCK with our claim.
176 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq)));
200 mutex_enter(SQLOCK(sq));
204 * We are going to drop SQLOCK, so make a claim to prevent syncq
227 * SQLOCK because positive sq_count keeps the syncq from
230 mutex_exit(SQLOCK(sq));
249 * set since we held the SQLOCK before testing
251 * We do this here because we hold the SQLOCK, and need
259 mutex_exit(SQLOCK(s
[all...]
H A Dddi.c717 mutex_enter(SQLOCK(sq));
723 * Drop SQ_EXCL and sq_count but hold the SQLOCK
748 /* drain_syncq() drops SQLOCK */
750 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq)));
765 ret = cv_wait_sig(&sq->sq_exitwait, SQLOCK(sq));
773 mutex_exit(SQLOCK(sq));
829 mutex_enter(SQLOCK(sq));
835 * Drop SQ_EXCL and sq_count but hold the SQLOCK
860 /* drain_syncq() drops SQLOCK */
862 ASSERT(MUTEX_NOT_HELD(SQLOCK(s
[all...]
H A Dstrsubr.c465 * Assumes SQLOCK held.
469 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
527 * Assumes SQLOCK held.
531 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
596 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
611 ASSERT(MUTEX_HELD(SQLOCK(sq))); \
1690 mutex_enter(SQLOCK(sq));
1697 cv_wait(&sq->sq_wait, SQLOCK(sq));
1703 mutex_exit(SQLOCK(sq));
1715 mutex_enter(SQLOCK(s
[all...]
H A Dstreamio.c786 * SQLOCK is held.
789 mutex_enter(SQLOCK(qp->q_syncq));
792 mutex_exit(SQLOCK(qp->q_syncq));
/illumos-gate/usr/src/lib/libnsl/dial/
H A Duucp.h145 #define SQLOCK (const char *)"/var/spool/locks/LCK.SQ" macro
153 #define SQLOCK (const char *)"/var/spool/uucp/LCK.SQ" macro
/illumos-gate/usr/src/uts/common/sys/
H A Dstrsubr.h370 * Per perimeter SQLOCK/sq_count in putnext/put may be replaced by per cpu
375 * SQLOCK) and figure out the count value as the sum of sq_count and all of
383 * Note regular SQLOCK and sq_count are still used in many routines
403 * mutex_enter(SQLOCK(sq));
406 * cv_wait(&sq->sq_wait, SQLOCK(sq));
408 * mutex_exit(SQLOCK(sq));
412 * mutex_enter(SQLOCK(sq));
419 * cv_wait(&sq->sq_wait, SQLOCK(sq));
425 * mutex_exit(SQLOCK(sq));
430 * sq_putlocks are treated as the extension of SQLOCK fo
816 #define SQLOCK macro
[all...]
/illumos-gate/usr/src/cmd/ttymon/
H A Duucp.h188 #define SQLOCK "/var/spool/locks/LCK.SQ" macro
195 #define SQLOCK "/var/spool/uucp/LCK.SQ" macro
/illumos-gate/usr/src/uts/common/io/
H A Dstream.c3766 * SQLOCK. Note that a read-side rwnext from the streamhead will
3768 * released after acquiring SQLOCK.
3802 mutex_enter(SQLOCK(sq));
3813 mutex_exit(SQLOCK(sq));
3822 cv_wait(&sq->sq_wait, SQLOCK(sq));
3833 mutex_exit(SQLOCK(sq));
3849 mutex_exit(SQLOCK(sq));
3877 * safe to call rwnext_exit and reacquire SQLOCK(sq).
3881 mutex_enter(SQLOCK(sq));
3911 * need to make a claim as they may need to drop SQLOCK i
[all...]

Completed in 96 milliseconds