Lines Matching refs:c_cc
322 if (tp->t_canq.c_cc == 0) {
331 while (tp->t_canq.c_cc > 1 && uio->uio_resid > 0)
336 if (tp->t_canq.c_cc == 1)
338 if (tp->t_canq.c_cc)
515 if (tp->t_outq.c_cc && (tp->t_state&TS_TTSTOP) == 0)
535 if (tp->t_outq.c_cc <= tp->t_lowat) {
564 if (tp->t_canq.c_cc)
566 while (uio->uio_resid > 0 && tp->t_canq.c_cc < TTYHOG - 1) {
569 cc = min(cc, TTYHOG - 1 - tp->t_canq.c_cc);
599 if ((tp->t_rawq.c_cc + tp->t_canq.c_cc) >= TTYHOG - 2 &&
600 (tp->t_canq.c_cc > 0 || !ISSET(tp->t_lflag, ICANON))) {
653 if ((tp->t_outq.c_cc && !ISSET(tp->t_state, TS_TTSTOP)) || in ptcpoll()
661 (tp->t_canq.c_cc == 0) : in ptcpoll()
662 ((tp->t_rawq.c_cc + tp->t_canq.c_cc < TTYHOG - 2) || in ptcpoll()
663 (tp->t_canq.c_cc == 0 && ISSET(tp->t_lflag, ICANON)))) in ptcpoll()
706 kn->kn_data = tp->t_outq.c_cc; in filt_ptcread()
736 if (tp->t_canq.c_cc == 0) in filt_ptcwrite()
738 } else if (tp->t_rawq.c_cc + tp->t_canq.c_cc < TTYHOG-2) in filt_ptcwrite()
740 (tp->t_rawq.c_cc + tp->t_canq.c_cc); in filt_ptcwrite()
875 ndflush(&tp->t_outq, tp->t_outq.c_cc);