HomeSort by: relevance | last modified time | path
    Searched refs:t_outq (Results 1 - 25 of 84) sorted by relevancy

1 2 3 4

  /src/sys/net/
if_sl.c 364 if (tp->t_outq.c_cn < 2 * SLMAX + 2) {
365 sc->sc_oldbufsize = tp->t_outq.c_cn;
366 sc->sc_oldbufquot = tp->t_outq.c_cq != 0;
368 clfree(&tp->t_outq);
370 error = clalloc(&tp->t_outq, 2 * SLMAX + 2, 0);
427 clfree(&tp->t_outq);
428 clalloc(&tp->t_outq, sc->sc_oldbufsize,
513 if (sc->sc_oqlen && sc->sc_ttyp->t_outq.c_cc == sc->sc_oqlen) {
539 if ((sc->sc_oqlen = sc->sc_ttyp->t_outq.c_cc) == 0)
561 if (tp->t_outq.c_cc != 0)
    [all...]
ppp_tty.c 549 while (CCOUNT(&tp->t_outq) < PPP_HIWAT) {
570 if (CCOUNT(&tp->t_outq) == 0) {
572 (void) putc(PPP_FLAG, &tp->t_outq);
594 ndone = n - b_to_q(start, n, &tp->t_outq);
608 if (putc(PPP_ESCAPE, &tp->t_outq))
610 if (putc(*start ^ PPP_TRANS, &tp->t_outq)) {
611 (void) unputc(&tp->t_outq);
655 if (putc(*q, &tp->t_outq)) {
658 unputc(&tp->t_outq);
697 * drained the t_outq
    [all...]
  /src/sys/dev/arcbios/
arcbios_tty.c 202 while (tp->t_outq.c_cc != 0) {
203 arcbios_Write(ARCBIOS_STDOUT, tp->t_outq.c_cf,
204 ndqb(&tp->t_outq, 0), &count);
205 ndflush(&tp->t_outq, count);
  /src/sys/kern/
tty.c 255 if (tp->t_outq.c_cc != 0) {
265 ooutq = tp->t_outq;
270 tp->t_outq = outq;
844 if (tp->t_outq.c_cc < tp->t_hiwat)
945 if (!ISSET(tp->t_lflag, FLUSHO) && putc(c, &tp->t_outq))
962 notout = b_to_q(" ", c, &tp->t_outq);
980 if (!ISSET(tp->t_lflag, FLUSHO) && putc('\r', &tp->t_outq))
992 if (!ISSET(tp->t_lflag, FLUSHO) && putc(c, &tp->t_outq))
1107 *(int *)data = tp->t_outq.c_cc;
1112 *(int *)data = tp->t_outq.c_cn - tp->t_outq.c_cc
    [all...]
tty_pty.c 693 if (tp->t_outq.c_cc && !ISSET(tp->t_state, TS_TTSTOP))
717 cc = q_to_b(&tp->t_outq, bf, uimin(uio->uio_resid, BUFSIZ));
773 cc = b_to_q(cp, cc, &tp->t_outq);
869 ((tp->t_outq.c_cc > 0 && !ISSET(tp->t_state, TS_TTSTOP)) ||
926 ((tp->t_outq.c_cc > 0 && !ISSET(tp->t_state, TS_TTSTOP)) ||
936 kn->kn_data = tp->t_outq.c_cc;
1157 ndflush(&tp->t_outq, tp->t_outq.c_cc);
1175 *(int *)data = tp->t_outq.c_cc;
  /src/sys/arch/mips/adm5120/dev/
uart.c 309 while (tp->t_outq.c_cc != 0) {
310 cnt = ndqb(&tp->t_outq, 0);
312 uart_cnputc(0,tp->t_outq.c_cf[i]);
313 ndflush(&tp->t_outq, cnt);
  /src/sys/dev/goldfish/
gftty.c 687 n = ndqb(&tp->t_outq, 0);
688 tbuf = tp->t_outq.c_cf;
690 ndflush(&tp->t_outq, n);
692 if ((n = ndqb(&tp->t_outq, 0)) > 0) {
693 tbuf = tp->t_outq.c_cf;
695 ndflush(&tp->t_outq, n);
  /src/sys/dev/qbus/
dhu.c 294 bus_dmamap_create(sc->sc_dmat, tp->t_outq.c_cn, 1,
295 tp->t_outq.c_cn, 0, BUS_DMA_ALLOCNOW|BUS_DMA_NOWAIT,
298 tp->t_outq.c_cs, tp->t_outq.c_cn, 0, BUS_DMA_NOWAIT);
414 ndflush(&tp->t_outq, sc->sc_dhu[line].dhu_cc);
648 cc = ndqb(&tp->t_outq, 0);
667 DHU_TXCHAR_DATA_VALID | *tp->t_outq.c_cf);
674 (tp->t_outq.c_cf - tp->t_outq.c_cs);
  /src/sys/arch/alpha/alpha/
promcons.c 220 while (tp->t_outq.c_cc != 0)
221 promcnputc(tp->t_dev, getc(&tp->t_outq));
  /src/sys/dev/hpc/
biconsdev.c 127 clalloc(&tp->t_outq, 1024, 0);
156 n = q_to_b(&tp->t_outq, buf, sizeof(buf));
  /src/sys/dev/ir/
irframe_tty.c 683 tp->t_outq.c_cc));
685 if (tp->t_outq.c_cc > tp->t_hiwat) {
692 if (tp->t_outq.c_cc <= tp->t_hiwat) {
702 if (putc(c, &tp->t_outq) < 0) {
765 if (tp->t_outq.c_cc <= tp->t_lowat)
823 if (tp->t_outq.c_cc <= tp->t_lowat) {
824 kn->kn_data = tp->t_lowat - tp->t_outq.c_cc;
  /src/sys/dev/bluetooth/
bth5.c 527 if (putc(sc->sc_slip_txrsv, &tp->t_outq) < 0)
551 if (putc(BTH5_SLIP_PKTEND, &tp->t_outq) < 0)
572 if (putc(BTH5_SLIP_ESCAPE, &tp->t_outq) < 0)
577 if (putc(BTH5_SLIP_ESCAPE_PKTEND, &tp->t_outq) < 0) {
585 if (putc(BTH5_SLIP_ESCAPE, &tp->t_outq) < 0)
590 if (putc(BTH5_SLIP_ESCAPE_XON, &tp->t_outq) < 0) {
598 if (putc(BTH5_SLIP_ESCAPE, &tp->t_outq) < 0)
603 if (putc(BTH5_SLIP_ESCAPE_XOFF, &tp->t_outq) < 0) {
610 if (putc(BTH5_SLIP_ESCAPE, &tp->t_outq) < 0)
615 if (putc(BTH5_SLIP_ESCAPE_ESCAPE, &tp->t_outq) < 0)
    [all...]
bcsp.c 525 if (putc(sc->sc_slip_txrsv, &tp->t_outq) < 0)
541 if (putc(BCSP_SLIP_PKTEND, &tp->t_outq) < 0)
562 if (putc(BCSP_SLIP_ESCAPE, &tp->t_outq) < 0)
567 if (putc(BCSP_SLIP_ESCAPE_PKTEND, &tp->t_outq) < 0) {
574 if (putc(BCSP_SLIP_ESCAPE, &tp->t_outq) < 0)
579 if (putc(BCSP_SLIP_ESCAPE_ESCAPE, &tp->t_outq) < 0) {
586 if (putc(*rptr++, &tp->t_outq) < 0)
598 if (tp->t_outq.c_cc != 0 && tp->t_oproc != NULL)
  /src/sys/arch/evbppc/virtex/dev/
xlcom.c 261 ndflush(&tp->t_outq,
262 (int)(sc->sc_tba - tp->t_outq.c_cf));
623 sc->sc_tba = tp->t_outq.c_cf;
624 sc->sc_tbc = ndqb(&tp->t_outq, 0);
  /src/sys/dev/rcons/
rcons_kern.c 96 n = q_to_b(&tp->t_outq, buf, sizeof(buf));
  /src/sys/arch/sun3/dev/
kd.c 300 cl = &tp->t_outq;
356 struct clist *cl = &tp->t_outq;
  /src/sys/arch/emips/ebus/
dz_ebus.c 345 cl = &tp->t_outq;
576 cl = &tp->t_outq;
594 ndflush(&tp->t_outq, cl->c_cc);
  /src/sys/dev/virtio/
viocon.c 447 if (tp->t_outq.c_cc == 0)
451 while (tp->t_outq.c_cc > 0) {
461 cnt = q_to_b(&tp->t_outq, buf, BUFSIZE);
  /src/sys/dev/pci/
cz.c 1588 while ((tp->t_outq.c_cc > 0) && ((move = TX_MOVEABLE(get, put, size)))){
1591 move = uimin(tp->t_outq.c_cc, move);
1592 error = q_to_b(&tp->t_outq, 0, move);
1601 move = uimin(ndqb(&tp->t_outq, 0), move);
1603 address + put, tp->t_outq.c_cf, move);
1604 ndflush(&tp->t_outq, move);
  /src/sys/arch/sparc64/dev/
kd.c 326 cl = &tp->t_outq;
383 struct clist *cl = &tp->t_outq;
  /src/sys/arch/sun2/dev/
kd.c 372 cl = &tp->t_outq;
428 struct clist *cl = &tp->t_outq;
  /src/sys/arch/arm/ixp12x0/
ixp12x0_com.c 391 tba = tp->t_outq.c_cf;
392 tbc = ndqb(&tp->t_outq, 0);
913 ndflush(&tp->t_outq, (int)(sc->sc_tba - tp->t_outq.c_cf));
  /src/sys/arch/amiga/dev/
msc.c 369 clfree(&tp->t_outq);
372 clalloc(&tp->t_outq, 8192, 0);
1012 cc = tp->t_outq.c_cc;
1034 cc = q_to_b (&tp->t_outq, msc->tmpbuf, cc);
  /src/sys/arch/arm/at91/
at91dbgu.c 405 tba = tp->t_outq.c_cf;
406 tbc = ndqb(&tp->t_outq, 0);
915 ndflush(&tp->t_outq, (int)(sc->sc_tba - tp->t_outq.c_cf));
  /src/sys/arch/arm/ep93xx/
epcom.c 401 tba = tp->t_outq.c_cf;
402 tbc = ndqb(&tp->t_outq, 0);
909 ndflush(&tp->t_outq, (int)(sc->sc_tba - tp->t_outq.c_cf));

Completed in 326 milliseconds

1 2 3 4