Home
last modified time | relevance | path

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

/xnu-8019.80.24/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()
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()
[all …]
H A Dtty_dev.c637 if (tp->t_outq.c_cc && (tp->t_state & TS_TTSTOP) == 0) {
749 if ((tp->t_outq.c_cc <= tp->t_lowat) &&
751 retval = tp->t_hiwat - tp->t_outq.c_cc;
787 tp->t_outq.c_cc && (tp->t_state & TS_TTSTOP) == 0) {
788 retval = (driver->fix_7828447) ? tp->t_outq.c_cc : 1;
806 retval = (TTYHOG - 2) - (tp->t_rawq.c_cc + tp->t_canq.c_cc);
811 if (tp->t_canq.c_cc == 0 && (tp->t_lflag & ICANON)) {
876 if ((tp->t_rawq.c_cc + tp->t_canq.c_cc) >= TTYHOG - 2 &&
877 (tp->t_canq.c_cc > 0 || !(tp->t_lflag & ICANON))) {
1023 ndflush(&tp->t_outq, tp->t_outq.c_cc);
H A Dtty_ptmx.c581 if ((tp->t_outq.c_cc <= tp->t_lowat) && in ptsd_kqops_common()
583 data = tp->t_outq.c_cn - tp->t_outq.c_cc; in ptsd_kqops_common()
849 if (tp->t_outq.c_cc && !(tp->t_state & TS_TTSTOP)) { in ptmx_kqops_common()
850 data = tp->t_outq.c_cc; in ptmx_kqops_common()
859 retval = (TTYHOG - 2) - (tp->t_rawq.c_cc + tp->t_canq.c_cc); in ptmx_kqops_common()
860 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-8019.80.24/bsd/dev/arm/
H A Dkm.c287 if (tp->t_outq.c_cc == 0) { in kmstart()
291 if (tp->t_outq.c_cc > tp->t_lowat) { in kmstart()
351 while (tp->t_outq.c_cc > 0) { in kmoutput()
377 if (tp->t_outq.c_cc > 0) { in kmoutput()
/xnu-8019.80.24/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
157 #define t_cc t_termios.c_cc
/xnu-8019.80.24/bsd/dev/i386/
H A Dkm.c305 if (tp->t_outq.c_cc == 0) { in kmstart()
355 while (tp->t_outq.c_cc > 0) { in kmoutput()
382 if (tp->t_outq.c_cc > 0) { in kmoutput()