Lines Matching refs:c_cc
241 bcopy(in->c_cc, out->c_cc, sizeof(in->c_cc)); in termios32to64()
256 bcopy(in->c_cc, out->c_cc, sizeof(in->c_cc)); in termios64to32()
402 if ((q)->c_cc) \
403 ndflush(q, (q)->c_cc); \
460 if (tp->t_rawq.c_cc + tp->t_canq.c_cc > I_HIGH_WATER - 3 && in ttyinput()
461 (!ISSET(lflag, ICANON) || tp->t_canq.c_cc != 0) && in ttyinput()
491 if (tp->t_rawq.c_cc + tp->t_canq.c_cc > in ttyinput()
547 if (tp->t_rawq.c_cc + tp->t_canq.c_cc) { in ttyinput()
631 if (tp->t_rawq.c_cc) { in ttyinput()
635 } while (tp->t_rawq.c_cc && CCONT(c)); in ttyinput()
647 tp->t_rawq.c_cc == tp->t_rocount && in ttyinput()
649 while (tp->t_rawq.c_cc) { in ttyinput()
731 if (tp->t_rawq.c_cc + tp->t_canq.c_cc >= MAX_INPUT) { in ttyinput()
734 if (tp->t_outq.c_cc < tp->t_hiwat) { in ttyinput()
1171 *(int *)data = tp->t_outq.c_cc; in ttioctl_locked()
1281 if (t->c_cc[VMIN] != tp->t_cc[VMIN] || in ttioctl_locked()
1282 t->c_cc[VTIME] != tp->t_cc[VTIME]) { in ttioctl_locked()
1285 bcopy(t->c_cc, tp->t_cc, sizeof(t->c_cc)); in ttioctl_locked()
1563 if ((tp->t_outq.c_cc <= tp->t_lowat) && in ttyselect()
1565 retval = tp->t_hiwat - tp->t_outq.c_cc; in ttyselect()
1622 nread = tp->t_canq.c_cc; in ttnread()
1624 nread += tp->t_rawq.c_cc; in ttnread()
1659 while ((tp->t_outq.c_cc || ISSET(tp->t_state, TS_BUSY)) && in ttywait()
1662 if ((tp->t_outq.c_cc || ISSET(tp->t_state, TS_BUSY)) && in ttywait()
1678 if (!error && (tp->t_outq.c_cc || ISSET(tp->t_state, TS_BUSY))) { in ttywait()
1795 bcopy(ttydefchars, t->c_cc, sizeof t->c_cc); in termioschars()
1972 tp->t_rawq.c_cc = 0; in ttypend()
2070 if (qp->c_cc > 0) { in ttread()
2094 if (qp->c_cc < m) { in ttread()
2097 if (qp->c_cc > 0) { in ttread()
2108 if (qp->c_cc <= 0) { in ttread()
2111 if (qp->c_cc >= m) { in ttread()
2115 if (!has_etime || qp->c_cc > last_cc) { in ttread()
2133 last_cc = qp->c_cc; in ttread()
2135 if (qp->c_cc > 0) { in ttread()
2169 if (qp->c_cc <= 0) { in ttread()
2294 tp->t_rawq.c_cc + tp->t_canq.c_cc <= I_LOW_WATER) { in ttread()
2327 if (tp->t_outq.c_cc > hiwat + OBUFSIZ + 100) { in ttycheckoutq()
2328 while (tp->t_outq.c_cc > hiwat) { in ttycheckoutq()
2330 if (tp->t_outq.c_cc <= hiwat) { in ttycheckoutq()
2434 if (tp->t_outq.c_cc > hiwat) { in ttwrite()
2483 tp->t_outq.c_cc > hiwat) { in ttwrite()
2510 tp->t_outq.c_cc > hiwat) { in ttwrite()
2533 hiwat = tp->t_outq.c_cc - 1; in ttwrite()
2541 if (tp->t_outq.c_cc <= hiwat) { in ttwrite()
2608 if (tp->t_rocount < tp->t_rawq.c_cc) { in ttyrub()
2707 tp->t_rocount = tp->t_rawq.c_cc; in ttyretype()
2794 if (tp->t_outq.c_cc <= tp->t_lowat) { in ttwwakeup()
2799 TS_SO_OCOMPLETE && tp->t_outq.c_cc == 0) { in ttwwakeup()
2804 tp->t_outq.c_cc <= tp->t_lowat) { in ttwwakeup()
3309 if ((tp->t_outq.c_cc <= tp->t_lowat) && in filt_tty_common()
3311 data = tp->t_hiwat - tp->t_outq.c_cc; in filt_tty_common()