Searched refs:t_canq (Results 1 - 4 of 4) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dtty_pty.c318 if (tp->t_canq.c_cc == 0) {
329 while (tp->t_canq.c_cc > 1 && uio_resid(uio) > 0) {
335 cc = min(cc, tp->t_canq.c_cc - 1);
336 cc = q_to_b(&tp->t_canq, (u_char *)buf, cc);
341 if (tp->t_canq.c_cc == 1)
342 (void) getc(&tp->t_canq);
343 if (tp->t_canq.c_cc)
628 if (tp->t_canq.c_cc == 0) {
633 if (tp->t_rawq.c_cc + tp->t_canq.c_cc < TTYHOG-2) {
637 if (tp->t_canq
[all...]
H A Dtty_ptmx.c701 if (tp->t_canq.c_cc == 0) {
712 while (tp->t_canq.c_cc > 1 && uio_resid(uio) > 0) {
718 cc = min(cc, tp->t_canq.c_cc - 1);
719 cc = q_to_b(&tp->t_canq, (u_char *)buf, cc);
724 if (tp->t_canq.c_cc == 1)
725 (void) getc(&tp->t_canq);
726 if (tp->t_canq.c_cc)
1028 nread = tp->t_canq.c_cc;
1128 if (tp->t_canq.c_cc == 0) {
1133 retval = (TTYHOG - 2) - (tp->t_rawq.c_cc + tp->t_canq
[all...]
H A Dtty.c530 if (tp->t_rawq.c_cc + tp->t_canq.c_cc > I_HIGH_WATER - 3 &&
531 (!ISSET(lflag, ICANON) || tp->t_canq.c_cc != 0) &&
562 if (tp->t_rawq.c_cc + tp->t_canq.c_cc >
614 if (tp->t_rawq.c_cc + tp->t_canq.c_cc)
792 if (tp->t_rawq.c_cc + tp->t_canq.c_cc >= MAX_INPUT) {
817 catq(&tp->t_rawq, &tp->t_canq);
1303 if (tp->t_rawq.c_cs && tp->t_canq.c_cs) {
1306 catq(&tp->t_rawq, &tp->t_canq);
1308 tp->t_rawq = tp->t_canq;
1309 tp->t_canq
[all...]
/darwin-on-arm/xnu/bsd/sys/
H A Dtty.h119 struct clist t_canq; /* Device canonical queue. */ member in struct:tty
265 #define TSA_PTS_READ(tp) ((void *)&(tp)->t_canq)

Completed in 70 milliseconds