Home
last modified time | relevance | path

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

/xnu-11215/bsd/kern/
H A Dtty_subr.c124 clp->c_cc = 0; in clalloc()
149 if (clp->c_cc == 0) { in getc()
197 clp->c_cc -= cc; in q_to_b()
203 if (clp->c_cc == 0) { in q_to_b()
268 clp->c_cc = 0; in ndflush()
282 clp->c_cc -= cc; in ndflush()
334 clp->c_cc++; in putc()
439 clp->c_cc += cc; in b_to_q()
466 cc = clp->c_cc; in nextc()
507 cc = clp->c_cc; in firstc()
[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()
521 if (tp->t_rawq.c_cc + tp->t_canq.c_cc > I_HIGH_WATER - 3 && 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()
792 if (tp->t_rawq.c_cc + tp->t_canq.c_cc >= MAX_INPUT) { in ttyinput()
1396 bcopy(t->c_cc, tp->t_cc, sizeof(t->c_cc)); in ttioctl_locked()
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()
[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-11215/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-11215/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-11215/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()