t_outq 998 arch/i386/isa/pccom.c error = ttysleep(tp, &tp->t_outq, t_outq 1153 arch/i386/isa/pccom.c if (tp->t_outq.c_cc <= tp->t_lowat) { t_outq 1156 arch/i386/isa/pccom.c wakeup((caddr_t)&tp->t_outq); t_outq 1160 arch/i386/isa/pccom.c count = ndqb(&tp->t_outq, 0); t_outq 1173 arch/i386/isa/pccom.c sc->sc_tba = tp->t_outq.c_cf; t_outq 1283 arch/i386/isa/pccom.c ndflush(&tp->t_outq, t_outq 1284 arch/i386/isa/pccom.c (int)(sc->sc_tba - tp->t_outq.c_cf)); t_outq 1286 arch/i386/isa/pccom.c wakeup(&tp->t_outq); t_outq 803 dev/ic/com.c error = ttysleep(tp, &tp->t_outq, t_outq 892 dev/ic/com.c if (tp->t_outq.c_cc <= tp->t_lowat) { t_outq 895 dev/ic/com.c wakeup(&tp->t_outq); t_outq 897 dev/ic/com.c if (tp->t_outq.c_cc == 0) t_outq 919 dev/ic/com.c int n = q_to_b(&tp->t_outq, buffer, sc->sc_fifolen); t_outq 925 dev/ic/com.c } else if (tp->t_outq.c_cc != 0) t_outq 926 dev/ic/com.c bus_space_write_1(iot, ioh, com_data, getc(&tp->t_outq)); t_outq 1203 dev/ic/com.c wakeup(&tp->t_outq); t_outq 625 dev/ic/cy.c if (tp->t_outq.c_cc <= tp->t_lowat) { t_outq 628 dev/ic/cy.c wakeup(&tp->t_outq); t_outq 633 dev/ic/cy.c if (tp->t_outq.c_cc == 0) t_outq 1293 dev/ic/cy.c if (tp->t_outq.c_cc > 0) { t_outq 1295 dev/ic/cy.c while (tp->t_outq.c_cc > 0 && t_outq 1297 dev/ic/cy.c ch = getc(&tp->t_outq); t_outq 1333 dev/ic/cy.c if (tp->t_outq.c_cc == 0) { t_outq 1346 dev/ic/cy.c if (tp->t_outq.c_cc <= tp->t_lowat) { t_outq 603 dev/ic/z8530tty.c if (tp->t_outq.c_cc <= tp->t_lowat) { t_outq 606 dev/ic/z8530tty.c wakeup((caddr_t)&tp->t_outq); t_outq 611 dev/ic/z8530tty.c nch = ndqb(&tp->t_outq, 0); /* XXX */ t_outq 615 dev/ic/z8530tty.c register char *p = tp->t_outq.c_cf; t_outq 1223 dev/ic/z8530tty.c ndflush(&tp->t_outq, zst->zst_tba - t_outq 1224 dev/ic/z8530tty.c (caddr_t) tp->t_outq.c_cf); t_outq 1485 dev/pci/cz.c if (tp->t_outq.c_cc <= tp->t_lowat) { t_outq 1488 dev/pci/cz.c wakeup(&tp->t_outq); t_outq 1491 dev/pci/cz.c if (tp->t_outq.c_cc == 0) t_outq 1592 dev/pci/cz.c while ((tp->t_outq.c_cc > 0) && ((move = TX_MOVEABLE(get, put, size)))){ t_outq 1595 dev/pci/cz.c move = min(tp->t_outq.c_cc, move); t_outq 1596 dev/pci/cz.c error = q_to_b(&tp->t_outq, 0, move); t_outq 1605 dev/pci/cz.c move = min(ndqb(&tp->t_outq, 0), move); t_outq 1607 dev/pci/cz.c address + put, tp->t_outq.c_cf, move); t_outq 1608 dev/pci/cz.c ndflush(&tp->t_outq, move); t_outq 734 dev/sbus/magma.c ndflush(&tp->t_outq, mp->mp_txp - tp->t_outq.c_cf); t_outq 1125 dev/sbus/magma.c if (tp->t_outq.c_cc <= tp->t_lowat) { t_outq 1128 dev/sbus/magma.c wakeup(&tp->t_outq); t_outq 1136 dev/sbus/magma.c if (tp->t_outq.c_cc) { t_outq 1137 dev/sbus/magma.c mp->mp_txc = ndqb(&tp->t_outq, 0); t_outq 1138 dev/sbus/magma.c mp->mp_txp = tp->t_outq.c_cf; t_outq 743 dev/sbus/spif.c if (tp->t_outq.c_cc <= tp->t_lowat) { t_outq 746 dev/sbus/spif.c wakeup(&tp->t_outq); t_outq 750 dev/sbus/spif.c if (tp->t_outq.c_cc) { t_outq 751 dev/sbus/spif.c sp->sp_txc = ndqb(&tp->t_outq, 0); t_outq 752 dev/sbus/spif.c sp->sp_txp = tp->t_outq.c_cf; t_outq 992 dev/sbus/spif.c ndflush(&tp->t_outq, t_outq 993 dev/sbus/spif.c sp->sp_txp - tp->t_outq.c_cf); t_outq 953 dev/usb/ucom.c if (tp->t_outq.c_cc <= tp->t_lowat) { t_outq 956 dev/usb/ucom.c wakeup(&tp->t_outq); t_outq 959 dev/usb/ucom.c if (tp->t_outq.c_cc == 0) t_outq 964 dev/usb/ucom.c data = tp->t_outq.c_cf; t_outq 965 dev/usb/ucom.c cnt = ndqb(&tp->t_outq, 0); t_outq 1065 dev/usb/ucom.c ndflush(&tp->t_outq, cc); t_outq 1405 dev/wscons/wsdisplay.c if (tp->t_outq.c_cc == 0 && tp->t_wsel.si_selpid == 0) t_outq 1429 dev/wscons/wsdisplay.c n = ndqb(&tp->t_outq, 0); t_outq 1430 dev/wscons/wsdisplay.c buf = tp->t_outq.c_cf; t_outq 1448 dev/wscons/wsdisplay.c ndflush(&tp->t_outq, n); t_outq 1450 dev/wscons/wsdisplay.c if ((n = ndqb(&tp->t_outq, 0)) > 0) { t_outq 1451 dev/wscons/wsdisplay.c buf = tp->t_outq.c_cf; t_outq 1460 dev/wscons/wsdisplay.c ndflush(&tp->t_outq, n); t_outq 1466 dev/wscons/wsdisplay.c if (tp->t_outq.c_cc) { t_outq 1470 dev/wscons/wsdisplay.c if (tp->t_outq.c_cc <= tp->t_lowat) { t_outq 1474 dev/wscons/wsdisplay.c wakeup((caddr_t)&tp->t_outq); t_outq 531 kern/tty.c if (tp->t_outq.c_cc < tp->t_hiwat) t_outq 603 kern/tty.c if (!ISSET(tp->t_lflag, FLUSHO) && putc(c, &tp->t_outq)) t_outq 621 kern/tty.c notout = b_to_q(" ", c, &tp->t_outq); t_outq 641 kern/tty.c if (!ISSET(tp->t_lflag, FLUSHO) && putc('\r', &tp->t_outq)) t_outq 672 kern/tty.c if (putc('\\', &tp->t_outq)) t_outq 682 kern/tty.c if (!ISSET(tp->t_lflag, FLUSHO) && putc(c, &tp->t_outq)) t_outq 861 kern/tty.c *(int *)data = tp->t_outq.c_cc; t_outq 1059 kern/tty.c if (tp->t_outq.c_cc <= tp->t_lowat) t_outq 1151 kern/tty.c kn->kn_data = tp->t_outq.c_cc; t_outq 1183 kern/tty.c while ((tp->t_outq.c_cc || ISSET(tp->t_state, TS_BUSY)) && t_outq 1187 kern/tty.c if ((tp->t_outq.c_cc || ISSET(tp->t_state, TS_BUSY)) && t_outq 1191 kern/tty.c error = ttysleep(tp, &tp->t_outq, TTOPRI | PCATCH, ttyout, 0); t_outq 1235 kern/tty.c FLUSHQ(&tp->t_outq); t_outq 1236 kern/tty.c wakeup((caddr_t)&tp->t_outq); t_outq 1274 kern/tty.c putc(tp->t_cc[VSTOP], &tp->t_outq) == 0) { t_outq 1621 kern/tty.c putc(cc[VSTART], &tp->t_outq) == 0) { t_outq 1647 kern/tty.c if (tp->t_outq.c_cc > hiwat + 200) t_outq 1648 kern/tty.c while (tp->t_outq.c_cc > hiwat) { t_outq 1655 kern/tty.c tsleep(&tp->t_outq, PZERO - 1, "ttckoutq", hz); t_outq 1727 kern/tty.c if (tp->t_outq.c_cc > hiwat) t_outq 1770 kern/tty.c tp->t_outq.c_cc > hiwat) t_outq 1784 kern/tty.c i = b_to_q(cp, ce, &tp->t_outq); t_outq 1794 kern/tty.c tp->t_outq.c_cc > hiwat) t_outq 1815 kern/tty.c hiwat = tp->t_outq.c_cc - 1; t_outq 1824 kern/tty.c if (tp->t_outq.c_cc <= hiwat) { t_outq 1834 kern/tty.c error = ttysleep(tp, &tp->t_outq, TTOPRI | PCATCH, ttyout, 0); t_outq 2244 kern/tty.c clalloc(&tp->t_outq, 1024, 0); t_outq 2270 kern/tty.c clfree(&tp->t_outq); t_outq 2289 kern/tty.c itp->t_outq_c_cc = tp->t_outq.c_cc; t_outq 402 kern/tty_pty.c wakeup(&tp->t_outq.c_cf); t_outq 489 kern/tty_pty.c if (tp->t_outq.c_cc && (tp->t_state&TS_TTSTOP) == 0) t_outq 496 kern/tty_pty.c error = tsleep(&tp->t_outq.c_cf, TTIPRI | PCATCH, t_outq 504 kern/tty_pty.c cc = q_to_b(&tp->t_outq, buf, min(uio->uio_resid, BUFSIZ)); t_outq 509 kern/tty_pty.c if (tp->t_outq.c_cc <= tp->t_lowat) { t_outq 512 kern/tty_pty.c wakeup(&tp->t_outq); t_outq 624 kern/tty_pty.c if ((tp->t_outq.c_cc && !ISSET(tp->t_state, TS_TTSTOP)) || t_outq 677 kern/tty_pty.c kn->kn_data = tp->t_outq.c_cc; t_outq 855 kern/tty_pty.c ndflush(&tp->t_outq, tp->t_outq.c_cc); t_outq 324 net/if_sl.c if (tp->t_outq.c_cn < 2*SLMTU+2) { t_outq 325 net/if_sl.c sc->sc_oldbufsize = tp->t_outq.c_cn; t_outq 326 net/if_sl.c sc->sc_oldbufquot = tp->t_outq.c_cq != 0; t_outq 328 net/if_sl.c clfree(&tp->t_outq); t_outq 329 net/if_sl.c error = clalloc(&tp->t_outq, 3*SLMTU, 0); t_outq 371 net/if_sl.c clfree(&tp->t_outq); t_outq 372 net/if_sl.c clalloc(&tp->t_outq, sc->sc_oldbufsize, sc->sc_oldbufquot); t_outq 448 net/if_sl.c if (sc->sc_oqlen && sc->sc_ttyp->t_outq.c_cc == sc->sc_oqlen) { t_outq 470 net/if_sl.c if ((sc->sc_oqlen = sc->sc_ttyp->t_outq.c_cc) == 0) t_outq 505 net/if_sl.c if (tp->t_outq.c_cc != 0) { t_outq 507 net/if_sl.c if (tp->t_outq.c_cc > SLIP_HIWAT) t_outq 523 net/if_sl.c if (tp->t_outq.c_cn - tp->t_outq.c_cc < 2*SLMTU+2) t_outq 606 net/if_sl.c if (tp->t_outq.c_cc == 0) { t_outq 608 net/if_sl.c (void) putc(FRAME_END, &tp->t_outq); t_outq 641 net/if_sl.c &tp->t_outq)) t_outq 651 net/if_sl.c if (putc(FRAME_ESCAPE, &tp->t_outq)) t_outq 655 net/if_sl.c &tp->t_outq)) { t_outq 656 net/if_sl.c (void) unputc(&tp->t_outq); t_outq 666 net/if_sl.c if (putc(FRAME_END, &tp->t_outq)) { t_outq 674 net/if_sl.c (void) unputc(&tp->t_outq); t_outq 675 net/if_sl.c (void) putc(FRAME_END, &tp->t_outq); t_outq 471 net/if_strip.c if (tp->t_outq.c_cn < STRIP_MTU_ONWIRE) { t_outq 472 net/if_strip.c sc->sc_oldbufsize = tp->t_outq.c_cn; t_outq 473 net/if_strip.c sc->sc_oldbufquot = tp->t_outq.c_cq != 0; t_outq 475 net/if_strip.c clfree(&tp->t_outq); t_outq 476 net/if_strip.c error = clalloc(&tp->t_outq, 3*SLMTU, 0); t_outq 531 net/if_strip.c clfree(&tp->t_outq); t_outq 532 net/if_strip.c clalloc(&tp->t_outq, sc->sc_oldbufsize, sc->sc_oldbufquot); t_outq 598 net/if_strip.c len, &tp->t_outq)) { t_outq 633 net/if_strip.c if (b_to_q((ttychar_t *)hdr, STRIP_HDRLEN, &tp->t_outq)) { t_outq 666 net/if_strip.c if (putc(STRIP_FRAME_END, &tp->t_outq)) { t_outq 674 net/if_strip.c (void) unputc(&tp->t_outq); t_outq 675 net/if_strip.c (void) putc(STRIP_FRAME_END, &tp->t_outq); t_outq 832 net/if_strip.c if (sc->sc_oqlen && sc->sc_ttyp->t_outq.c_cc == sc->sc_oqlen) { t_outq 865 net/if_strip.c if ((sc->sc_oqlen = sc->sc_ttyp->t_outq.c_cc) == 0) { t_outq 919 net/if_strip.c if (CCOUNT(&tp->t_outq) != 0) { t_outq 923 net/if_strip.c while (CCOUNT(&tp->t_outq) < SLIP_HIWAT) { t_outq 942 net/if_strip.c if (tp->t_outq.c_cn - tp->t_outq.c_cc < STRIP_MTU_ONWIRE + 4) t_outq 1377 net/if_strip.c if ((i = b_to_q(InitString, sizeof(InitString) - 1, &tp->t_outq))) { t_outq 1426 net/if_strip.c overflow = b_to_q((ttychar_t *)strip_probestr, 2, &tp->t_outq); t_outq 531 net/ppp_tty.c while (CCOUNT(&tp->t_outq) < PPP_HIWAT) { t_outq 552 net/ppp_tty.c if (CCOUNT(&tp->t_outq) == 0) { t_outq 554 net/ppp_tty.c (void) putc(PPP_FLAG, &tp->t_outq); t_outq 576 net/ppp_tty.c ndone = n - b_to_q(start, n, &tp->t_outq); t_outq 591 net/ppp_tty.c if (putc(PPP_ESCAPE, &tp->t_outq)) { t_outq 595 net/ppp_tty.c if (putc(*start ^ PPP_TRANS, &tp->t_outq)) { t_outq 596 net/ppp_tty.c (void) unputc(&tp->t_outq); t_outq 643 net/ppp_tty.c if (putc(*q, &tp->t_outq)) { t_outq 646 net/ppp_tty.c unputc(&tp->t_outq); t_outq 750 net/ppp_tty.c if ((CCOUNT(&tp->t_outq) < PPP_LOWAT || force) t_outq 108 sys/tty.h struct clist t_outq; /* Device output queue. */