Home
last modified time | relevance | path

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

/dragonfly/sys/kern/
H A Dtty_pty.c510 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 Dtty.c255 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 Dtty.h77 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 Dnmdm.c409 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 Dng_tty.c231 clist_alloc_cblocks(&tp->t_canq, 0); in ngt_open()
/dragonfly/sys/netgraph/tty/
H A Dng_tty.c241 clist_alloc_cblocks(&tp->t_canq, 0); in ngt_open()
/dragonfly/sys/netgraph7/bluetooth/drivers/h4/
H A Dng_h4.c223 clist_alloc_cblocks(&tp->t_canq, 0); in ng_h4_open()
/dragonfly/usr.sbin/pstat/
H A Dpstat.c829 printf("%2d %3d ", tp->t_rawq.c_cc, tp->t_canq.c_cc); in ttyprt()
/dragonfly/sys/net/sl/
H A Dif_sl.c283 clist_alloc_cblocks(&tp->t_canq, 0); in slopen()