Lines Matching refs:SQLOCK

472 	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()
2116 mutex_enter(SQLOCK(sq)); in munlink()
2119 cv_wait(&sq->sq_wait, SQLOCK(sq)); in munlink()
2121 mutex_exit(SQLOCK(sq)); in munlink()
2194 mutex_enter(SQLOCK(sq)); in munlink()
2197 cv_wait(&sq->sq_wait, SQLOCK(sq)); in munlink()
2199 mutex_exit(SQLOCK(sq)); in munlink()
3490 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in freeq()
3824 mutex_enter(SQLOCK(sq)); in wait_sq_svc()
3844 cv_wait(&sq->sq_wait, SQLOCK(sq)); in wait_sq_svc()
3847 mutex_exit(SQLOCK(sq)); in wait_sq_svc()
3871 ASSERT(MUTEX_HELD(SQLOCK(sq))); in sqenable()
4649 mutex_enter(SQLOCK(sq)); in strlock()
4672 mutex_exit(SQLOCK(sql2->sql_sq)); in strlock()
4687 cv_wait(&sq->sq_wait, SQLOCK(sq)); in strlock()
4697 mutex_exit(SQLOCK(sq)); in strlock()
4727 mutex_exit(SQLOCK(sql->sql_sq)); in strunlock()
4898 mutex_enter(SQLOCK(sq)); in removeq()
4903 mutex_exit(SQLOCK(sq)); in removeq()
4906 mutex_enter(SQLOCK(wsq)); in removeq()
4911 mutex_exit(SQLOCK(wsq)); in removeq()
4929 mutex_enter(SQLOCK(sq)); in removeq()
4935 mutex_exit(SQLOCK(sq)); in removeq()
5015 mutex_enter(SQLOCK(sq)); in removeq()
5017 mutex_exit(SQLOCK(sq)); in removeq()
5037 mutex_enter(SQLOCK(sq)); in blocksq()
5060 cv_wait(&sq->sq_wait, SQLOCK(sq)); in blocksq()
5079 mutex_exit(SQLOCK(sq)); in blocksq()
5099 mutex_enter(SQLOCK(sq)); in unblocksq()
5118 mutex_exit(SQLOCK(sq)); in unblocksq()
5134 mutex_enter(SQLOCK(sq)); in dropsq()
5142 mutex_exit(SQLOCK(sq)); in dropsq()
5159 mutex_enter(SQLOCK(sq)); in emptysq()
5173 mutex_exit(SQLOCK(sq)); in emptysq()
5418 mutex_enter(SQLOCK(sq)); in entersq()
5442 cv_wait(&sq->sq_wait, SQLOCK(sq)); in entersq()
5471 mutex_exit(SQLOCK(sq)); in entersq()
5473 mutex_enter(SQLOCK(sq)); in entersq()
5494 cv_wait(&sq->sq_wait, SQLOCK(sq)); in entersq()
5510 mutex_exit(SQLOCK(sq)); in entersq()
5538 mutex_enter(SQLOCK(sq)); in leavesq()
5562 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in leavesq()
5574 mutex_exit(SQLOCK(sq)); in leavesq()
5592 mutex_enter(SQLOCK(sq)); in claimq()
5595 mutex_exit(SQLOCK(sq)); in claimq()
5610 mutex_enter(SQLOCK(sq)); in releaseq()
5634 mutex_exit(SQLOCK(sq)); in releaseq()
5760 mutex_enter(SQLOCK(outer)); in outer_enter()
5763 cv_wait(&outer->sq_wait, SQLOCK(outer)); in outer_enter()
5777 mutex_enter(SQLOCK(sq)); in outer_enter()
5785 mutex_exit(SQLOCK(sq)); in outer_enter()
5787 mutex_exit(SQLOCK(outer)); in outer_enter()
5802 mutex_enter(SQLOCK(sq)); in outer_enter()
5809 cv_wait(&sq->sq_wait, SQLOCK(sq)); in outer_enter()
5815 mutex_exit(SQLOCK(sq)); in outer_enter()
5823 mutex_enter(SQLOCK(outer)); in outer_enter()
5825 mutex_exit(SQLOCK(outer)); in outer_enter()
5829 mutex_exit(SQLOCK(outer)); in outer_enter()
5847 ASSERT(MUTEX_NOT_HELD(SQLOCK(outer))); in outer_exit()
5857 mutex_enter(SQLOCK(outer)); in outer_exit()
5878 mutex_exit(SQLOCK(outer)); in outer_exit()
5881 mutex_enter(SQLOCK(outer)); in outer_exit()
5891 mutex_exit(SQLOCK(outer)); in outer_exit()
5915 mutex_enter(SQLOCK(sq)); in outer_insert()
5921 mutex_exit(SQLOCK(sq)); in outer_insert()
5945 mutex_enter(SQLOCK(sq)); in outer_remove()
5950 mutex_exit(SQLOCK(sq)); in outer_remove()
5967 ASSERT(MUTEX_HELD(SQLOCK(outer))); in queue_writer()
5978 mutex_exit(SQLOCK(outer)); in queue_writer()
5986 mutex_exit(SQLOCK(outer)); in queue_writer()
6014 mutex_enter(SQLOCK(outer)); in qwriter_outer()
6034 mutex_enter(SQLOCK(osq)); in qwriter_outer()
6036 mutex_exit(SQLOCK(osq)); in qwriter_outer()
6043 mutex_enter(SQLOCK(osq)); in qwriter_outer()
6045 mutex_exit(SQLOCK(osq)); in qwriter_outer()
6074 mutex_enter(SQLOCK(sq)); in qwriter_outer()
6082 mutex_exit(SQLOCK(sq)); in qwriter_outer()
6100 mutex_enter(SQLOCK(outer)); in qwriter_outer()
6111 mutex_exit(SQLOCK(outer)); in qwriter_outer()
6115 mutex_exit(SQLOCK(outer)); in qwriter_outer()
6134 ASSERT(MUTEX_HELD(SQLOCK(outer))); in write_now()
6152 mutex_exit(SQLOCK(outer)); in write_now()
6169 mutex_enter(SQLOCK(outer)); in write_now()
6171 ASSERT(MUTEX_HELD(SQLOCK(outer))); in write_now()
6203 ASSERT(MUTEX_HELD(SQLOCK(sq))); in sq_run_events()
6247 mutex_exit(SQLOCK(sq)); in sq_run_events()
6251 mutex_enter(SQLOCK(sq)); in sq_run_events()
6284 ASSERT(MUTEX_HELD(SQLOCK(sq))); in sqfill_events()
6332 mutex_exit(SQLOCK(sq)); in sqfill_events()
6374 mutex_exit(SQLOCK(sq)); in sqfill_events()
6404 ASSERT(MUTEX_HELD(SQLOCK(sq))); in drain_syncq()
6425 mutex_exit(SQLOCK(sq)); in drain_syncq()
6449 mutex_exit(SQLOCK(sq)); in drain_syncq()
6467 mutex_exit(SQLOCK(sq)); in drain_syncq()
6573 mutex_exit(SQLOCK(sq)); in drain_syncq()
6576 mutex_enter(SQLOCK(sq)); in drain_syncq()
6587 ASSERT(MUTEX_HELD(SQLOCK(sq))); in drain_syncq()
6631 mutex_exit(SQLOCK(sq)); in drain_syncq()
6680 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in qdrain_syncq()
6819 mutex_enter(SQLOCK(sq)); in qdrain_syncq()
6821 mutex_exit(SQLOCK(sq)); in qdrain_syncq()
6834 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in qdrain_syncq()
6839 mutex_enter(SQLOCK(sq)); in qdrain_syncq()
6842 mutex_exit(SQLOCK(sq)); in qdrain_syncq()
6884 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in qfill_syncq()
6916 mutex_enter(SQLOCK(sq)); in qfill_syncq()
6981 mutex_enter(SQLOCK(sq)); in flush_syncq()
7069 mutex_exit(SQLOCK(sq)); in flush_syncq()
7081 mutex_enter(SQLOCK(sq)); in flush_syncq()
7091 ASSERT(MUTEX_HELD(SQLOCK(sq))); in flush_syncq()
7099 mutex_exit(SQLOCK(sq)); in flush_syncq()
7131 ASSERT(MUTEX_HELD(SQLOCK(sq))); in propagate_syncq()
7152 ASSERT(MUTEX_HELD(SQLOCK(nsq))); in propagate_syncq()
7281 mutex_enter(SQLOCK(sq)); in qwriter_inner()
7296 mutex_exit(SQLOCK(sq)); in qwriter_inner()
7346 mutex_enter(SQLOCK(sq)); in callbparams_alloc()
7357 ASSERT(MUTEX_HELD(SQLOCK(sq))); in callbparams_free()
7375 ASSERT(MUTEX_HELD(SQLOCK(sq))); in callbparams_free_id()
7404 mutex_enter(SQLOCK(sq)); in qcallbwrapper()
7432 mutex_exit(SQLOCK(sq)); in qcallbwrapper()
7439 cv_wait(&sq->sq_wait, SQLOCK(sq)); in qcallbwrapper()
7460 mutex_exit(SQLOCK(sq)); in qcallbwrapper()
7468 mutex_enter(SQLOCK(sq)); in qcallbwrapper()
7470 mutex_exit(SQLOCK(sq)); in qcallbwrapper()
7497 ASSERT(MUTEX_HELD(SQLOCK(sq))); in putnext_tail()
7531 mutex_exit(SQLOCK(sq)); in putnext_tail()
8316 mutex_enter(SQLOCK(sq)); in syncq_service()