Lines Matching refs:SQLOCK
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()
2103 mutex_enter(SQLOCK(sq)); in munlink()
2106 cv_wait(&sq->sq_wait, SQLOCK(sq)); in munlink()
2108 mutex_exit(SQLOCK(sq)); in munlink()
2181 mutex_enter(SQLOCK(sq)); in munlink()
2184 cv_wait(&sq->sq_wait, SQLOCK(sq)); in munlink()
2186 mutex_exit(SQLOCK(sq)); in munlink()
3466 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in freeq()
3800 mutex_enter(SQLOCK(sq)); in wait_sq_svc()
3820 cv_wait(&sq->sq_wait, SQLOCK(sq)); in wait_sq_svc()
3823 mutex_exit(SQLOCK(sq)); in wait_sq_svc()
3847 ASSERT(MUTEX_HELD(SQLOCK(sq))); in sqenable()
4625 mutex_enter(SQLOCK(sq)); in strlock()
4648 mutex_exit(SQLOCK(sql2->sql_sq)); in strlock()
4663 cv_wait(&sq->sq_wait, SQLOCK(sq)); in strlock()
4673 mutex_exit(SQLOCK(sq)); in strlock()
4703 mutex_exit(SQLOCK(sql->sql_sq)); in strunlock()
4874 mutex_enter(SQLOCK(sq)); in removeq()
4879 mutex_exit(SQLOCK(sq)); in removeq()
4882 mutex_enter(SQLOCK(wsq)); in removeq()
4887 mutex_exit(SQLOCK(wsq)); in removeq()
4905 mutex_enter(SQLOCK(sq)); in removeq()
4911 mutex_exit(SQLOCK(sq)); in removeq()
4991 mutex_enter(SQLOCK(sq)); in removeq()
4993 mutex_exit(SQLOCK(sq)); in removeq()
5013 mutex_enter(SQLOCK(sq)); in blocksq()
5036 cv_wait(&sq->sq_wait, SQLOCK(sq)); in blocksq()
5055 mutex_exit(SQLOCK(sq)); in blocksq()
5075 mutex_enter(SQLOCK(sq)); in unblocksq()
5094 mutex_exit(SQLOCK(sq)); in unblocksq()
5110 mutex_enter(SQLOCK(sq)); in dropsq()
5118 mutex_exit(SQLOCK(sq)); in dropsq()
5135 mutex_enter(SQLOCK(sq)); in emptysq()
5149 mutex_exit(SQLOCK(sq)); in emptysq()
5394 mutex_enter(SQLOCK(sq)); in entersq()
5418 cv_wait(&sq->sq_wait, SQLOCK(sq)); in entersq()
5447 mutex_exit(SQLOCK(sq)); in entersq()
5449 mutex_enter(SQLOCK(sq)); in entersq()
5470 cv_wait(&sq->sq_wait, SQLOCK(sq)); in entersq()
5486 mutex_exit(SQLOCK(sq)); in entersq()
5514 mutex_enter(SQLOCK(sq)); in leavesq()
5538 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in leavesq()
5550 mutex_exit(SQLOCK(sq)); in leavesq()
5568 mutex_enter(SQLOCK(sq)); in claimq()
5571 mutex_exit(SQLOCK(sq)); in claimq()
5586 mutex_enter(SQLOCK(sq)); in releaseq()
5610 mutex_exit(SQLOCK(sq)); in releaseq()
5736 mutex_enter(SQLOCK(outer)); in outer_enter()
5739 cv_wait(&outer->sq_wait, SQLOCK(outer)); in outer_enter()
5753 mutex_enter(SQLOCK(sq)); in outer_enter()
5761 mutex_exit(SQLOCK(sq)); in outer_enter()
5763 mutex_exit(SQLOCK(outer)); in outer_enter()
5778 mutex_enter(SQLOCK(sq)); in outer_enter()
5785 cv_wait(&sq->sq_wait, SQLOCK(sq)); in outer_enter()
5791 mutex_exit(SQLOCK(sq)); in outer_enter()
5799 mutex_enter(SQLOCK(outer)); in outer_enter()
5801 mutex_exit(SQLOCK(outer)); in outer_enter()
5805 mutex_exit(SQLOCK(outer)); in outer_enter()
5823 ASSERT(MUTEX_NOT_HELD(SQLOCK(outer))); in outer_exit()
5833 mutex_enter(SQLOCK(outer)); in outer_exit()
5854 mutex_exit(SQLOCK(outer)); in outer_exit()
5857 mutex_enter(SQLOCK(outer)); in outer_exit()
5867 mutex_exit(SQLOCK(outer)); in outer_exit()
5891 mutex_enter(SQLOCK(sq)); in outer_insert()
5897 mutex_exit(SQLOCK(sq)); in outer_insert()
5921 mutex_enter(SQLOCK(sq)); in outer_remove()
5926 mutex_exit(SQLOCK(sq)); in outer_remove()
5943 ASSERT(MUTEX_HELD(SQLOCK(outer))); in queue_writer()
5954 mutex_exit(SQLOCK(outer)); in queue_writer()
5962 mutex_exit(SQLOCK(outer)); in queue_writer()
5990 mutex_enter(SQLOCK(outer)); in qwriter_outer()
6010 mutex_enter(SQLOCK(osq)); in qwriter_outer()
6012 mutex_exit(SQLOCK(osq)); in qwriter_outer()
6019 mutex_enter(SQLOCK(osq)); in qwriter_outer()
6021 mutex_exit(SQLOCK(osq)); in qwriter_outer()
6050 mutex_enter(SQLOCK(sq)); in qwriter_outer()
6058 mutex_exit(SQLOCK(sq)); in qwriter_outer()
6076 mutex_enter(SQLOCK(outer)); in qwriter_outer()
6087 mutex_exit(SQLOCK(outer)); in qwriter_outer()
6091 mutex_exit(SQLOCK(outer)); in qwriter_outer()
6110 ASSERT(MUTEX_HELD(SQLOCK(outer))); in write_now()
6128 mutex_exit(SQLOCK(outer)); in write_now()
6145 mutex_enter(SQLOCK(outer)); in write_now()
6147 ASSERT(MUTEX_HELD(SQLOCK(outer))); in write_now()
6179 ASSERT(MUTEX_HELD(SQLOCK(sq))); in sq_run_events()
6223 mutex_exit(SQLOCK(sq)); in sq_run_events()
6227 mutex_enter(SQLOCK(sq)); in sq_run_events()
6260 ASSERT(MUTEX_HELD(SQLOCK(sq))); in sqfill_events()
6308 mutex_exit(SQLOCK(sq)); in sqfill_events()
6350 mutex_exit(SQLOCK(sq)); in sqfill_events()
6380 ASSERT(MUTEX_HELD(SQLOCK(sq))); in drain_syncq()
6401 mutex_exit(SQLOCK(sq)); in drain_syncq()
6425 mutex_exit(SQLOCK(sq)); in drain_syncq()
6443 mutex_exit(SQLOCK(sq)); in drain_syncq()
6549 mutex_exit(SQLOCK(sq)); in drain_syncq()
6552 mutex_enter(SQLOCK(sq)); in drain_syncq()
6563 ASSERT(MUTEX_HELD(SQLOCK(sq))); in drain_syncq()
6607 mutex_exit(SQLOCK(sq)); in drain_syncq()
6656 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in qdrain_syncq()
6795 mutex_enter(SQLOCK(sq)); in qdrain_syncq()
6797 mutex_exit(SQLOCK(sq)); in qdrain_syncq()
6810 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in qdrain_syncq()
6815 mutex_enter(SQLOCK(sq)); in qdrain_syncq()
6818 mutex_exit(SQLOCK(sq)); in qdrain_syncq()
6860 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); in qfill_syncq()
6892 mutex_enter(SQLOCK(sq)); in qfill_syncq()
6957 mutex_enter(SQLOCK(sq)); in flush_syncq()
7045 mutex_exit(SQLOCK(sq)); in flush_syncq()
7057 mutex_enter(SQLOCK(sq)); in flush_syncq()
7067 ASSERT(MUTEX_HELD(SQLOCK(sq))); in flush_syncq()
7075 mutex_exit(SQLOCK(sq)); in flush_syncq()
7107 ASSERT(MUTEX_HELD(SQLOCK(sq))); in propagate_syncq()
7128 ASSERT(MUTEX_HELD(SQLOCK(nsq))); in propagate_syncq()
7257 mutex_enter(SQLOCK(sq)); in qwriter_inner()
7272 mutex_exit(SQLOCK(sq)); in qwriter_inner()
7322 mutex_enter(SQLOCK(sq)); in callbparams_alloc()
7333 ASSERT(MUTEX_HELD(SQLOCK(sq))); in callbparams_free()
7351 ASSERT(MUTEX_HELD(SQLOCK(sq))); in callbparams_free_id()
7380 mutex_enter(SQLOCK(sq)); in qcallbwrapper()
7408 mutex_exit(SQLOCK(sq)); in qcallbwrapper()
7415 cv_wait(&sq->sq_wait, SQLOCK(sq)); in qcallbwrapper()
7436 mutex_exit(SQLOCK(sq)); in qcallbwrapper()
7444 mutex_enter(SQLOCK(sq)); in qcallbwrapper()
7446 mutex_exit(SQLOCK(sq)); in qcallbwrapper()
7473 ASSERT(MUTEX_HELD(SQLOCK(sq))); in putnext_tail()
7507 mutex_exit(SQLOCK(sq)); in putnext_tail()
8284 mutex_enter(SQLOCK(sq)); in syncq_service()