Lines Matching defs:SQLOCK
370 * 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 for lock ordering
431 * purposes and are always grabbed right after grabbing SQLOCK and released
432 * right before releasing SQLOCK. This also allows dynamic creation of
433 * sq_putlocks while holding SQLOCK (by making sq_ciputctrl non null even when
435 * is grabbed instead of SQLOCK. putnext return path remembers what counter it
490 * SQLOCK lock.
816 #define SQLOCK(sq) (&(sq)->sq_lock)
843 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))); \