Home
last modified time | relevance | path

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

/dragonfly/sys/net/sl/
HDif_sl.c284 clist_alloc_cblocks(&tp->t_outq, in slopen()
311 clist_free_cblocks(&tp->t_outq); in slclose()
382 clist_alloc_cblocks(&tp->t_outq, in sltioctl()
504 if (sc->sc_ttyp->t_outq.c_cc == 0) in sloutput_serialized()
548 if (tp->t_outq.c_cc != 0) { in slstart()
551 if (tp->t_outq.c_cc > SLIP_HIWAT) { in slstart()
637 if (tp->t_outq.c_cc == 0) { in slstart()
639 clist_putc(FRAME_END, &tp->t_outq); in slstart()
668 &tp->t_outq)) { in slstart()
680 if (clist_putc(FRAME_ESCAPE, &tp->t_outq)) in slstart()
[all …]
/dragonfly/sys/sys/
HDtty.h79 struct clist t_outq; /* Device output queue. */ member
226 #define TSA_OCOMPLETE(tp) ((void *)&(tp)->t_outq.c_ccmax)
227 #define TSA_OLOWAT(tp) ((void *)&(tp)->t_outq)
228 #define TSA_PTC_READ(tp) ((void *)&(tp)->t_outq.c_cchead)
/dragonfly/sys/kern/
HDtty.c256 clist_free_cblocks(&tp->t_outq); in ttyclose()
674 if (tp->t_outq.c_cc < tp->t_ohiwat) in ttyinput()
757 if (clist_putc(c, &tp->t_outq)) { in ttyoutput()
777 c -= clist_btoq(" ", c, &tp->t_outq); in ttyoutput()
797 if (!ISSET(tp->t_lflag, FLUSHO) && clist_putc('\r', &tp->t_outq)) { in ttyoutput()
813 if (!ISSET(tp->t_lflag, FLUSHO) && clist_putc(c, &tp->t_outq)) { in ttyoutput()
1026 *(int *)data = tp->t_outq.c_cc; in ttioctl()
1349 kn->kn_data = tp->t_outq.c_cc; in filt_ttywrite()
1390 while ((tp->t_outq.c_cc || ISSET(tp->t_state, TS_BUSY)) && in ttywait()
1393 if ((tp->t_outq.c_cc || ISSET(tp->t_state, TS_BUSY)) && in ttywait()
[all …]
HDtty_pty.c794 if (tp->t_outq.c_cc && (tp->t_state&TS_TTSTOP) == 0) in ptcread()
817 cc = clist_qtob(&tp->t_outq, buf, in ptcread()
931 ((tp->t_outq.c_cc && (tp->t_state & TS_TTSTOP) == 0) || in filt_ptcread()
934 kn->kn_data = tp->t_outq.c_cc; in filt_ptcread()
1229 ndflush(&tp->t_outq, tp->t_outq.c_cc); in ptyioctl()
HDsubr_prf.c975 if (tp->t_outq.c_cc >= tp->t_ohiwat) { in constty_daemon()
977 if (tp->t_outq.c_cc >= tp->t_ohiwat) { in constty_daemon()
/dragonfly/sys/netgraph7/tty/
HDng_tty.c233 clist_alloc_cblocks(&tp->t_outq, MLEN + NGT_HIWATER); in ngt_open()
250 clist_free_cblocks(&tp->t_outq); in ngt_close()
417 while (tp->t_outq.c_cc < NGT_HIWATER) { /* XXX 2.2 specific ? */ in ngt_start()
430 m->m_len, &tp->t_outq); in ngt_start()
/dragonfly/sys/netgraph/tty/
HDng_tty.c243 clist_alloc_cblocks(&tp->t_outq, MLEN + NGT_HIWATER); in ngt_open()
263 clist_free_cblocks(&tp->t_outq); in ngt_close()
411 while (tp->t_outq.c_cc < NGT_HIWATER) { /* XXX 2.2 specific ? */ in ngt_start()
427 m->m_len, &tp->t_outq); in ngt_start()
/dragonfly/sys/netgraph7/bluetooth/drivers/h4/
HDng_h4.c225 clist_alloc_cblocks(&tp->t_outq, MLEN + NG_H4_HIWATER); in ng_h4_open()
245 clist_free_cblocks(&tp->t_outq); in ng_h4_close()
587 while (tp->t_outq.c_cc < NG_H4_HIWATER) { /* XXX 2.2 specific ? */
599 m->m_len, &tp->t_outq);
/dragonfly/sys/dev/misc/dcons/
HDdcons_os.c328 while (tp->t_outq.c_cc != 0) in dcons_tty_start()
329 dcons_os_putc(dc, clist_getc(&tp->t_outq)); in dcons_tty_start()
/dragonfly/sys/bus/u4b/serial/
HDusb_serial.c1764 if (tp->t_outq.c_cc <= tp->t_olowat) { in ucom_start()
1770 if (tp->t_outq.c_cc == 0) { in ucom_start()
1772 TS_SO_OCOMPLETE && tp->t_outq.c_cc == 0) { in ucom_start()
1906 cnt = clist_qtob(&tp->t_outq, res.buffer, len); in ucom_get_data()
/dragonfly/sys/platform/vkernel64/platform/
HDconsole.c190 while ((n = clist_qtob(&tp->t_outq, buf, sizeof(buf))) > 0) { in vcons_tty_start()
/dragonfly/sys/dev/serial/sio/
HDsio.c2544 if (tp->t_outq.c_cc != 0) { in comstart()
2550 = com->obuf1 + clist_qtob(&tp->t_outq, com->obuf1, in comstart()
2568 if (tp->t_outq.c_cc != 0 && !com->obufs[1].l_queued) { in comstart()
2570 = com->obuf2 + clist_qtob(&tp->t_outq, com->obuf2, in comstart()
/dragonfly/usr.sbin/pstat/
HDpstat.c830 printf("%3d %5d %5d %4d %3d %7d ", tp->t_outq.c_cc, in ttyprt()
/dragonfly/sys/dev/misc/syscons/
HDsyscons.c1784 rbp = &tp->t_outq; in scstart()