Home
last modified time | relevance | path

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

/netbsd-src/sys/kern/
H A Dtty_pty.c455 if (tp->t_canq.c_cc == 0) { in ptsread()
466 while(error == 0 && tp->t_canq.c_cc > 1 && uio->uio_resid > 0) { in ptsread()
467 c = getc(&tp->t_canq); in ptsread()
473 if (tp->t_canq.c_cc == 1) in ptsread()
474 (void) getc(&tp->t_canq); in ptsread()
475 cc = tp->t_canq.c_cc; in ptsread()
749 if (tp->t_canq.c_cc) in ptcwrite()
751 while (uio->uio_resid > 0 && tp->t_canq.c_cc < TTYHOG) { in ptcwrite()
754 cc = uimin(cc, TTYHOG - tp->t_canq.c_cc); in ptcwrite()
778 (void) putc(0, &tp->t_canq); in ptcwrite()
[all …]
H A Dtty.c264 ocanq = tp->t_canq; in tty_set_qsize()
269 tp->t_canq = canq; in tty_set_qsize()
687 if (tp->t_rawq.c_cc + tp->t_canq.c_cc) in ttyinput_wlock()
842 if (tp->t_rawq.c_cc + tp->t_canq.c_cc >= TTYHOG) { in ttyinput_wlock()
862 catq(&tp->t_rawq, &tp->t_canq); in ttyinput_wlock()
1290 catq(&tp->t_rawq, &tp->t_canq); in ttioctl()
1292 tp->t_rawq = tp->t_canq; in ttioctl()
1293 tp->t_canq = tq; in ttioctl()
1692 nread = tp->t_canq.c_cc; in ttnread()
1763 FLUSHQ(&tp->t_canq); in ttyflush()
[all …]
/netbsd-src/sys/dev/hpc/
H A Dbiconsdev.c125 clalloc(&tp->t_canq, 1024, 1); in biconsdevattach()
/netbsd-src/sys/dev/sun/
H A Dsunkbd.c266 if (tp->t_rawq.c_cc + tp->t_canq.c_cc >= TTYHOG) { in sunkbdinput()
/netbsd-src/sys/sys/
H A Dtty.h115 struct clist t_canq; /* Device canonical queue. */ member
/netbsd-src/sys/net/
H A Dppp_tty.c338 getc(&tp->t_canq); in pppread()
719 putc(0, &tp->t_canq); in pppasyncctlp()
/netbsd-src/sys/arch/amiga/dev/
H A Dmsc.c368 clfree(&tp->t_canq); in mscopen()
371 clalloc(&tp->t_canq, 8192, 1); in mscopen()
/netbsd-src/usr.sbin/pstat/
H A Dpstat.c852 PRWORD(ovflw, " %*d", 4, 1, tp->t_canq.c_cc); in ttyprt()
/netbsd-src/sys/dev/pci/
H A Dcz.c1630 while ((get != put) && ((tp->t_canq.c_cc + tp->t_rawq.c_cc) < tp->t_hiwat)) { in cztty_receive()