Searched refs:t_canq (Results 1 – 9 of 9) sorted by relevance
/dragonfly/sys/kern/ |
H A D | tty_pty.c | 510 if (tp->t_canq.c_cc == 0) { in ptsread() 528 if (tp->t_canq.c_cc == 1) in ptsread() 529 clist_getc(&tp->t_canq); in ptsread() 530 if (tp->t_canq.c_cc) { in ptsread() 962 (tp->t_canq.c_cc == 0) : in filt_ptcwrite() 965 kn->kn_data = tp->t_canq.c_cc + tp->t_rawq.c_cc; in filt_ptcwrite() 1014 if (tp->t_canq.c_cc) in ptcwrite() 1017 tp->t_canq.c_cc < TTYHOG - 1) { in ptcwrite() 1020 cc = imin(cc, TTYHOG - 1 - tp->t_canq.c_cc); in ptcwrite() 1038 cc = clist_btoq((char *)cp, cc, &tp->t_canq); in ptcwrite() [all …]
|
H A D | tty.c | 255 clist_free_cblocks(&tp->t_canq); in ttyclose() 458 if (tp->t_rawq.c_cc + tp->t_canq.c_cc > in ttyinput() 510 if (tp->t_rawq.c_cc + tp->t_canq.c_cc) in ttyinput() 697 clist_catq(&tp->t_rawq, &tp->t_canq); in ttyinput() 1098 if (tp->t_canq.c_ccmax > 0 && in ttioctl() 1100 clist_catq(&tp->t_rawq, &tp->t_canq); in ttioctl() 1106 clist_catq(&tp->t_canq, &tp->t_rawq); in ttioctl() 1371 nread = tp->t_canq.c_cc; in ttnread() 1443 FLUSHQ(&tp->t_canq); in ttyflush() 2314 cp = clist_nextc(&tp->t_canq, NULL, &c); in ttyretype() [all …]
|
/dragonfly/sys/sys/ |
H A D | tty.h | 77 struct clist t_canq; /* Device canonical queue. */ member 230 #define TSA_PTS_READ(tp) ((void *)&(tp)->t_canq)
|
/dragonfly/sys/dev/misc/nmdm/ |
H A D | nmdm.c | 409 if (((tp->t_rawq.c_cc + tp->t_canq.c_cc) >= (TTYHOG-2)) in nmdmwrite() 410 && ((tp->t_canq.c_cc > 0) || !(tp->t_iflag&ICANON))) { in nmdmwrite()
|
/dragonfly/sys/netgraph7/tty/ |
H A D | ng_tty.c | 231 clist_alloc_cblocks(&tp->t_canq, 0); in ngt_open()
|
/dragonfly/sys/netgraph/tty/ |
H A D | ng_tty.c | 241 clist_alloc_cblocks(&tp->t_canq, 0); in ngt_open()
|
/dragonfly/sys/netgraph7/bluetooth/drivers/h4/ |
H A D | ng_h4.c | 223 clist_alloc_cblocks(&tp->t_canq, 0); in ng_h4_open()
|
/dragonfly/usr.sbin/pstat/ |
H A D | pstat.c | 829 printf("%2d %3d ", tp->t_rawq.c_cc, tp->t_canq.c_cc); in ttyprt()
|
/dragonfly/sys/net/sl/ |
H A D | if_sl.c | 283 clist_alloc_cblocks(&tp->t_canq, 0); in slopen()
|