Home
last modified time | relevance | path

Searched refs:t_outq (Results 1 – 7 of 7) sorted by relevance

/xnu-12377.41.6/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()
346 cc = ndqb(&tp->t_outq, 0); in kmoutput()
356 (void) q_to_b(&tp->t_outq, buf, cc); in kmoutput()
371 if (tp->t_outq.c_cc > 0) { in kmoutput()
/xnu-12377.41.6/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()
350 cc = ndqb(&tp->t_outq, 0); in kmoutput()
360 (void) q_to_b(&tp->t_outq, buf, cc); in kmoutput()
376 if (tp->t_outq.c_cc > 0) { in kmoutput()
/xnu-12377.41.6/bsd/kern/
H A Dtty.c795 if (tp->t_outq.c_cc < tp->t_hiwat) { in ttyinput()
896 if (putc(c, &tp->t_outq)) { in ttyoutput()
914 c -= b_to_q((const u_char *)" ", c, &tp->t_outq); in ttyoutput()
932 if (putc('\r', &tp->t_outq)) { in ttyoutput()
946 if (!ISSET(tp->t_lflag, FLUSHO) && putc(c, &tp->t_outq)) { in ttyoutput()
1282 *(int *)data = tp->t_outq.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()
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()
[all …]
H A Dtty_dev.c680 if (tp->t_outq.c_cc && (tp->t_state & TS_TTSTOP) == 0) {
700 cc = q_to_b(&tp->t_outq, (u_char *)buf, MIN((int)uio_resid(uio), BUFSIZ));
792 if ((tp->t_outq.c_cc <= tp->t_lowat) &&
794 retval = tp->t_hiwat - tp->t_outq.c_cc;
830 tp->t_outq.c_cc && (tp->t_state & TS_TTSTOP) == 0) {
831 retval = (driver->fix_7828447) ? tp->t_outq.c_cc : 1;
1066 ndflush(&tp->t_outq, tp->t_outq.c_cc);
H A Dtty_ptmx.c592 if ((tp->t_outq.c_cc <= tp->t_lowat) && in ptsd_kqops_common()
594 data = tp->t_outq.c_cn - tp->t_outq.c_cc; in ptsd_kqops_common()
864 if (tp->t_outq.c_cc && !(tp->t_state & TS_TTSTOP)) { in ptmx_kqops_common()
865 data = tp->t_outq.c_cc; in ptmx_kqops_common()
/xnu-12377.41.6/bsd/sys/
H A Dtty.h122 struct clist t_outq; /* Device output queue. */ member
268 #define TSA_OCOMPLETE(tp) ((void *)&(tp)->t_outq.c_cl)
269 #define TSA_OLOWAT(tp) ((void *)&(tp)->t_outq)
270 #define TSA_PTC_READ(tp) ((void *)&(tp)->t_outq.c_cf)
/xnu-12377.41.6/tools/lldbmacros/
H A Dprocess.py1024 …tput data: {0: <#18x} \"{1: <s}\"".format(unsigned(tty.t_outq.c_cs), tty.t_outq.c_cs))