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()
463 if ((q)->c_cc) \
464 ndflush(q, (q)->c_cc); \
521 if (tp->t_rawq.c_cc + tp->t_canq.c_cc > I_HIGH_WATER - 3 && in ttyinput()
522 (!ISSET(lflag, ICANON) || tp->t_canq.c_cc != 0) && in ttyinput()
552 if (tp->t_rawq.c_cc + tp->t_canq.c_cc > in ttyinput()
608 if (tp->t_rawq.c_cc + tp->t_canq.c_cc) { in ttyinput()
692 if (tp->t_rawq.c_cc) { in ttyinput()
696 } while (tp->t_rawq.c_cc && CCONT(c)); in ttyinput()
708 tp->t_rawq.c_cc == tp->t_rocount && in ttyinput()
710 while (tp->t_rawq.c_cc) { in ttyinput()
792 if (tp->t_rawq.c_cc + tp->t_canq.c_cc >= MAX_INPUT) { in ttyinput()
795 if (tp->t_outq.c_cc < tp->t_hiwat) { in ttyinput()
1282 *(int *)data = tp->t_outq.c_cc; in ttioctl_locked()
1392 if (t->c_cc[VMIN] != tp->t_cc[VMIN] || in ttioctl_locked()
1393 t->c_cc[VTIME] != tp->t_cc[VTIME]) { in ttioctl_locked()
1396 bcopy(t->c_cc, tp->t_cc, sizeof(t->c_cc)); in ttioctl_locked()
1674 if ((tp->t_outq.c_cc <= tp->t_lowat) && in ttyselect()
1676 retval = tp->t_hiwat - tp->t_outq.c_cc; in ttyselect()
1733 nread = tp->t_canq.c_cc; in ttnread()
1735 nread += tp->t_rawq.c_cc; in ttnread()
1770 while ((tp->t_outq.c_cc || ISSET(tp->t_state, TS_BUSY)) && in ttywait()
1773 if ((tp->t_outq.c_cc || ISSET(tp->t_state, TS_BUSY)) && in ttywait()
1789 if (!error && (tp->t_outq.c_cc || ISSET(tp->t_state, TS_BUSY))) { in ttywait()
1906 bcopy(ttydefchars, t->c_cc, sizeof t->c_cc); in termioschars()
2083 tp->t_rawq.c_cc = 0; in ttypend()
2181 if (qp->c_cc > 0) { in ttread()
2205 if (qp->c_cc < m) { in ttread()
2208 if (qp->c_cc > 0) { in ttread()
2219 if (qp->c_cc <= 0) { in ttread()
2222 if (qp->c_cc >= m) { in ttread()
2226 if (!has_etime || qp->c_cc > last_cc) { in ttread()
2244 last_cc = qp->c_cc; in ttread()
2246 if (qp->c_cc > 0) { in ttread()
2280 if (qp->c_cc <= 0) { in ttread()
2405 tp->t_rawq.c_cc + tp->t_canq.c_cc <= I_LOW_WATER) { in ttread()
2438 if (tp->t_outq.c_cc > hiwat + OBUFSIZ + 100) { in ttycheckoutq()
2439 while (tp->t_outq.c_cc > hiwat) { in ttycheckoutq()
2441 if (tp->t_outq.c_cc <= hiwat) { in ttycheckoutq()
2545 if (tp->t_outq.c_cc > hiwat) { in ttwrite()
2594 tp->t_outq.c_cc > hiwat) { in ttwrite()
2621 tp->t_outq.c_cc > hiwat) { in ttwrite()
2644 hiwat = tp->t_outq.c_cc - 1; in ttwrite()
2652 if (tp->t_outq.c_cc <= hiwat) { in ttwrite()
2719 if (tp->t_rocount < tp->t_rawq.c_cc) { in ttyrub()
2818 tp->t_rocount = tp->t_rawq.c_cc; in ttyretype()
2905 if (tp->t_outq.c_cc <= tp->t_lowat) { in ttwwakeup()
2910 TS_SO_OCOMPLETE && tp->t_outq.c_cc == 0) { in ttwwakeup()
2915 tp->t_outq.c_cc <= tp->t_lowat) { in ttwwakeup()
3426 if ((tp->t_outq.c_cc <= tp->t_lowat) && in filt_tty_common()
3428 data = tp->t_hiwat - tp->t_outq.c_cc; in filt_tty_common()