Lines Matching refs:ptc_lock
245 mutex_enter(&pty->ptc_lock);
262 mutex_exit(&pty->ptc_lock);
269 if (!cv_wait_sig(&pty->pt_cv_flags, &pty->ptc_lock)) {
271 mutex_exit(&pty->ptc_lock);
289 mutex_exit(&pty->ptc_lock);
297 mutex_enter(&pty->ptc_lock);
309 mutex_exit(&pty->ptc_lock);
334 mutex_enter(&pty->ptc_lock);
339 cv_wait(&pty->pt_cv_flags, &pty->ptc_lock);
342 mutex_exit(&pty->ptc_lock);
346 mutex_enter(&pty->ptc_lock);
348 * ptc_lock mutex is not dropped across
373 mutex_exit(&pty->ptc_lock);
395 mutex_enter(&pty->ptc_lock);
450 mutex_exit(&pty->ptc_lock);
468 mutex_exit(&pty->ptc_lock);
501 mutex_exit(&pty->ptc_lock);
515 mutex_enter(&pty->ptc_lock);
520 mutex_exit(&pty->ptc_lock);
526 mutex_exit(&pty->ptc_lock);
534 mutex_exit(&pty->ptc_lock);
539 * Drops pty's ptc_lock mutex and then reacquire
549 ASSERT(MUTEX_HELD(&pty->ptc_lock));
575 mutex_exit(&pty->ptc_lock);
577 mutex_enter(&pty->ptc_lock);
694 mutex_exit(&pty->ptc_lock);
696 mutex_enter(&pty->ptc_lock);
723 mutex_exit(&pty->ptc_lock);
725 mutex_enter(&pty->ptc_lock);
755 mutex_exit(&pty->ptc_lock);
757 mutex_enter(&pty->ptc_lock);
882 mutex_exit(&pty->ptc_lock);
884 mutex_enter(&pty->ptc_lock);
902 mutex_enter(&pty->ptc_lock);
921 mutex_exit(&pty->ptc_lock);
938 ASSERT(MUTEX_HELD(&pty->ptc_lock));
983 ASSERT(MUTEX_HELD(&pty->ptc_lock));