Lines Matching refs:c_cc
455 if (tp->t_canq.c_cc == 0) { in ptsread()
466 while(error == 0 && tp->t_canq.c_cc > 1 && uio->uio_resid > 0) { in ptsread()
473 if (tp->t_canq.c_cc == 1) in ptsread()
475 cc = tp->t_canq.c_cc; in ptsread()
693 if (tp->t_outq.c_cc && !ISSET(tp->t_state, TS_TTSTOP)) in ptcread()
749 if (tp->t_canq.c_cc) in ptcwrite()
751 while (uio->uio_resid > 0 && tp->t_canq.c_cc < TTYHOG) { in ptcwrite()
754 cc = uimin(cc, TTYHOG - tp->t_canq.c_cc); in ptcwrite()
802 int used = tp->t_rawq.c_cc + tp->t_canq.c_cc; in ptcwrite()
809 (tp->t_canq.c_cc > 0 || !canon)) { in ptcwrite()
869 ((tp->t_outq.c_cc > 0 && !ISSET(tp->t_state, TS_TTSTOP)) || in ptcpoll()
877 (tp->t_canq.c_cc == 0) : in ptcpoll()
878 ((tp->t_rawq.c_cc + tp->t_canq.c_cc < TTYHOG-2) || in ptcpoll()
879 (tp->t_canq.c_cc == 0 && ISSET(tp->t_lflag, ICANON))))) in ptcpoll()
926 ((tp->t_outq.c_cc > 0 && !ISSET(tp->t_state, TS_TTSTOP)) || in filt_ptcread()
936 kn->kn_data = tp->t_outq.c_cc; in filt_ptcread()
982 (tp->t_canq.c_cc == 0) : in filt_ptcwrite()
983 ((tp->t_rawq.c_cc + tp->t_canq.c_cc < TTYHOG-2) || in filt_ptcwrite()
984 (tp->t_canq.c_cc == 0 && ISSET(tp->t_lflag, ICANON))))); in filt_ptcwrite()
992 - (tp->t_rawq.c_cc + tp->t_canq.c_cc); in filt_ptcwrite()
1157 ndflush(&tp->t_outq, tp->t_outq.c_cc); in ptyioctl()
1175 *(int *)data = tp->t_outq.c_cc; in ptyioctl()