Lines Matching refs:sq_lock

160 	ASSERT(MUTEX_HELD(&(sqp)->sq_lock));			\
182 ASSERT(MUTEX_HELD(&(sqp)->sq_lock)); \
194 ASSERT(MUTEX_HELD(&(sqp)->sq_lock)); \
207 ASSERT(MUTEX_HELD(&(sqp)->sq_lock)); \
277 mutex_enter(&sqp->sq_lock);
283 mutex_exit(&sqp->sq_lock);
295 mutex_exit(&sqp->sq_lock);
301 mutex_enter(&sqp->sq_lock);
303 mutex_exit(&sqp->sq_lock);
309 mutex_exit(&sqp->sq_lock);
317 ASSERT(MUTEX_HELD(&(sqp)->sq_lock));
324 mutex_exit(&sqp->sq_lock);
347 mutex_exit(&sqp->sq_lock);
351 mutex_exit(&sqp->sq_lock);
354 mutex_exit(&sqp->sq_lock);
362 * with sq_lock held for performance reasons,
363 * so drop the sq_lock before calling timeout
365 * after re acquiring the sq_lock. Once
366 * the sq_lock is dropped, someone else could
371 mutex_exit(&sqp->sq_lock);
373 mutex_enter(&sqp->sq_lock);
380 mutex_exit(&sqp->sq_lock);
385 mutex_exit(&sqp->sq_lock);
390 * reacquire the sq_lock. squeue_fire
395 mutex_exit(&sqp->sq_lock);
400 ASSERT(MUTEX_NOT_HELD(&sqp->sq_lock));
436 ASSERT(MUTEX_NOT_HELD(&sqp->sq_lock));
439 mutex_enter(&sqp->sq_lock);
459 mutex_exit(&sqp->sq_lock);
494 ASSERT(MUTEX_NOT_HELD(&sqp->sq_lock));
495 mutex_enter(&sqp->sq_lock);
512 mutex_exit(&sqp->sq_lock);
522 mutex_exit(&sqp->sq_lock);
555 ASSERT(MUTEX_HELD(&sqp->sq_lock));
570 mutex_exit(&sqp->sq_lock);
592 mutex_exit(&sqp->sq_lock);
619 mutex_enter(&sqp->sq_lock);
621 mutex_exit(&sqp->sq_lock);
640 mutex_exit(&sqp->sq_lock);
670 mutex_exit(&sqp->sq_lock);
685 mutex_enter(&sqp->sq_lock);
689 mutex_exit(&sqp->sq_lock);
707 mutex_exit(&sqp->sq_lock);
731 ASSERT(mutex_owned(&sqp->sq_lock));
740 ASSERT(mutex_owned(&sqp->sq_lock));
758 * for sq_lock or higher priority thread preempting us).
766 mutex_exit(&sqp->sq_lock);
831 mutex_enter(&sqp->sq_lock);
932 mutex_enter(&sqp->sq_lock);
1015 * the sq_lock since the thread can block. So we drop the sq_lock before
1033 kmutex_t *lock = &sqp->sq_lock;
1207 ASSERT(MUTEX_HELD(&sqp->sq_lock));
1222 cv_wait(&sqp->sq_worker_cv, &sqp->sq_lock);
1251 cv_wait(&sqp->sq_worker_cv, &sqp->sq_lock);
1258 * cpu_lock -> ill_lock -> sqset_lock -> sq_lock
1260 mutex_exit(&sqp->sq_lock);
1262 mutex_enter(&sqp->sq_lock);
1271 * corresponding squeue, ill_lock* and sq_lock. Holding any
1301 cv_wait(&sqp->sq_worker_cv, &sqp->sq_lock);
1309 kmutex_t *lock = &sqp->sq_lock;
1387 mutex_enter(&sqp->sq_lock);
1403 cv_wait(&sqp->sq_synch_cv, &sqp->sq_lock);
1405 mutex_exit(&sqp->sq_lock);
1416 mutex_enter(&sqp->sq_lock);
1429 mutex_exit(&sqp->sq_lock);
1438 mutex_enter(&sqp->sq_lock);
1441 mutex_exit(&sqp->sq_lock);
1456 mutex_exit(&sqp->sq_lock);
1476 cv_wait(&connp->conn_sq_cv, &sqp->sq_lock);
1477 mutex_exit(&sqp->sq_lock);
1491 mutex_enter(&sqp->sq_lock);
1500 mutex_exit(&sqp->sq_lock);
1513 mutex_exit(&sqp->sq_lock);
1526 mutex_exit(&sqp->sq_lock);