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

/darwin-on-arm/xnu/bsd/sys/
H A Dtty.h174 #ifndef TTYHOG
175 #define TTYHOG 1024 macro
/darwin-on-arm/xnu/bsd/kern/
H A Dtty_pty.c633 if (tp->t_rawq.c_cc + tp->t_canq.c_cc < TTYHOG-2) {
673 tp->t_canq.c_cc < TTYHOG - 1) {
676 cc = min(cc, TTYHOG - 1 - tp->t_canq.c_cc);
693 * is >= TTYHOG, so the above b_to_q() may
696 * we don't fail here since (TTYHOG - 1) is
726 if ((tp->t_rawq.c_cc + tp->t_canq.c_cc) >= TTYHOG - 2 &&
H A Dtty_ptmx.c1129 retval = (TTYHOG -1) ;
1133 retval = (TTYHOG - 2) - (tp->t_rawq.c_cc + tp->t_canq.c_cc);
1188 tp->t_canq.c_cc < TTYHOG - 1) {
1191 cc = min(cc, TTYHOG - 1 - tp->t_canq.c_cc);
1208 * is >= TTYHOG, so the above b_to_q() may
1211 * we don't fail here since (TTYHOG - 1) is
1241 if ((tp->t_rawq.c_cc + tp->t_canq.c_cc) >= TTYHOG - 2 &&
H A Dtty.c236 #define I_HIGH_WATER (TTYHOG - 2 * 256) /* XXX */
237 #define I_LOW_WATER ((TTYHOG - 2 * 256) * 7 / 8) /* XXX */

Completed in 76 milliseconds