Home
last modified time | relevance | path

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

/xnu-8796.121.2/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()
403 if ((q)->c_cc) \
404 ndflush(q, (q)->c_cc); \
461 if (tp->t_rawq.c_cc + tp->t_canq.c_cc > I_HIGH_WATER - 3 && in ttyinput()
462 (!ISSET(lflag, ICANON) || tp->t_canq.c_cc != 0) && in ttyinput()
492 if (tp->t_rawq.c_cc + tp->t_canq.c_cc > in ttyinput()
548 if (tp->t_rawq.c_cc + tp->t_canq.c_cc) { in ttyinput()
632 if (tp->t_rawq.c_cc) { in ttyinput()
636 } while (tp->t_rawq.c_cc && CCONT(c)); in ttyinput()
[all …]
H A Dtty_dev.c645 if (tp->t_outq.c_cc && (tp->t_state & TS_TTSTOP) == 0) {
757 if ((tp->t_outq.c_cc <= tp->t_lowat) &&
759 retval = tp->t_hiwat - tp->t_outq.c_cc;
795 tp->t_outq.c_cc && (tp->t_state & TS_TTSTOP) == 0) {
796 retval = (driver->fix_7828447) ? tp->t_outq.c_cc : 1;
814 retval = (TTYHOG - 2) - (tp->t_rawq.c_cc + tp->t_canq.c_cc);
819 if (tp->t_canq.c_cc == 0 && (tp->t_lflag & ICANON)) {
884 if ((tp->t_rawq.c_cc + tp->t_canq.c_cc) >= TTYHOG - 2 &&
885 (tp->t_canq.c_cc > 0 || !(tp->t_lflag & ICANON))) {
1031 ndflush(&tp->t_outq, tp->t_outq.c_cc);
H A Dtty_ptmx.c585 if ((tp->t_outq.c_cc <= tp->t_lowat) && in ptsd_kqops_common()
587 data = tp->t_outq.c_cn - tp->t_outq.c_cc; in ptsd_kqops_common()
857 if (tp->t_outq.c_cc && !(tp->t_state & TS_TTSTOP)) { in ptmx_kqops_common()
858 data = tp->t_outq.c_cc; in ptmx_kqops_common()
867 retval = (TTYHOG - 2) - (tp->t_rawq.c_cc + tp->t_canq.c_cc); in ptmx_kqops_common()
868 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-8796.121.2/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-8796.121.2/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-8796.121.2/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()