Searched refs:t_canq (Results 1 – 9 of 9) sorted by relevance
| /netbsd-src/sys/kern/ |
| H A D | tty_pty.c | 455 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 D | tty.c | 264 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 D | biconsdev.c | 125 clalloc(&tp->t_canq, 1024, 1); in biconsdevattach()
|
| /netbsd-src/sys/dev/sun/ |
| H A D | sunkbd.c | 266 if (tp->t_rawq.c_cc + tp->t_canq.c_cc >= TTYHOG) { in sunkbdinput()
|
| /netbsd-src/sys/sys/ |
| H A D | tty.h | 115 struct clist t_canq; /* Device canonical queue. */ member
|
| /netbsd-src/sys/net/ |
| H A D | ppp_tty.c | 338 getc(&tp->t_canq); in pppread() 719 putc(0, &tp->t_canq); in pppasyncctlp()
|
| /netbsd-src/sys/arch/amiga/dev/ |
| H A D | msc.c | 368 clfree(&tp->t_canq); in mscopen() 371 clalloc(&tp->t_canq, 8192, 1); in mscopen()
|
| /netbsd-src/usr.sbin/pstat/ |
| H A D | pstat.c | 852 PRWORD(ovflw, " %*d", 4, 1, tp->t_canq.c_cc); in ttyprt()
|
| /netbsd-src/sys/dev/pci/ |
| H A D | cz.c | 1630 while ((get != put) && ((tp->t_canq.c_cc + tp->t_rawq.c_cc) < tp->t_hiwat)) { in cztty_receive()
|