Home
last modified time | relevance | path

Searched refs:c_cc (Results 1 – 9 of 9) sorted by relevance

/xnu-10002.41.9/bsd/kern/
H A Dtty_subr.c124 clp->c_cc = 0; in clalloc()
149 if (clp->c_cc == 0) { in getc()
168 if (--clp->c_cc == 0) { in getc()
186 while (count > 0 && clp->c_cc > 0) { in q_to_b()
197 clp->c_cc -= cc; in q_to_b()
203 if (clp->c_cc == 0) { in q_to_b()
220 if ((cc = clp->c_cc) == 0) { in ndqb()
267 if (count == clp->c_cc) { in ndflush()
268 clp->c_cc = 0; in ndflush()
273 while (count > 0 && clp->c_cc > 0) { in ndflush()
[all …]
H A Dtty.c241 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()
[all …]
H A Dtty_dev.c675 if (tp->t_outq.c_cc && (tp->t_state & TS_TTSTOP) == 0) {
787 if ((tp->t_outq.c_cc <= tp->t_lowat) &&
789 retval = tp->t_hiwat - tp->t_outq.c_cc;
825 tp->t_outq.c_cc && (tp->t_state & TS_TTSTOP) == 0) {
826 retval = (driver->fix_7828447) ? tp->t_outq.c_cc : 1;
844 retval = (TTYHOG - 2) - (tp->t_rawq.c_cc + tp->t_canq.c_cc);
849 if (tp->t_canq.c_cc == 0 && (tp->t_lflag & ICANON)) {
914 if ((tp->t_rawq.c_cc + tp->t_canq.c_cc) >= TTYHOG - 2 &&
915 (tp->t_canq.c_cc > 0 || !(tp->t_lflag & ICANON))) {
1061 ndflush(&tp->t_outq, tp->t_outq.c_cc);
H A Dtty_ptmx.c588 if ((tp->t_outq.c_cc <= tp->t_lowat) && in ptsd_kqops_common()
590 data = tp->t_outq.c_cn - tp->t_outq.c_cc; in ptsd_kqops_common()
860 if (tp->t_outq.c_cc && !(tp->t_state & TS_TTSTOP)) { in ptmx_kqops_common()
861 data = tp->t_outq.c_cc; in ptmx_kqops_common()
870 retval = (TTYHOG - 2) - (tp->t_rawq.c_cc + tp->t_canq.c_cc); in ptmx_kqops_common()
871 if (tp->t_canq.c_cc == 0 && (tp->t_lflag & ICANON)) { in ptmx_kqops_common()
H A Dtty_compat.c266 term->c_cc[VERASE] = sg->sg_erase; in ttsetcompat()
267 term->c_cc[VKILL] = sg->sg_kill; in ttsetcompat()
282 cc = term->c_cc; in ttsetcompat()
304 cc = term->c_cc; in ttsetcompat()
/xnu-10002.41.9/bsd/dev/arm/
H A Dkm.c281 if (tp->t_outq.c_cc == 0) { in kmstart()
285 if (tp->t_outq.c_cc > tp->t_lowat) { in kmstart()
345 while (tp->t_outq.c_cc > 0) { in kmoutput()
371 if (tp->t_outq.c_cc > 0) { in kmoutput()
/xnu-10002.41.9/bsd/sys/
H A Dtermios.h272 cc_t c_cc[NCCS]; /* control chars */ member
292 cc_t c_cc[NCCS]; /* control chars */ member
303 cc_t c_cc[NCCS]; /* control chars */ member
H A Dtty.h95 int c_cc; /* count of characters in queue */ member
158 #define t_cc t_termios.c_cc
/xnu-10002.41.9/bsd/dev/i386/
H A Dkm.c299 if (tp->t_outq.c_cc == 0) { in kmstart()
349 while (tp->t_outq.c_cc > 0) { in kmoutput()
376 if (tp->t_outq.c_cc > 0) { in kmoutput()