Searched refs:TTY_THRESHOLD_THROTTLE (Results 1 – 2 of 2) sorted by relevance
343 * throttles us at TTY_THRESHOLD_THROTTLE (128) bytes, so we could overflow346 * value of TTY_THRESHOLD_THROTTLE change in n_tty.c, this code should be349 #define TTY_THRESHOLD_THROTTLE 128 macro 355 int overflow = datalen - TTY_THRESHOLD_THROTTLE; in hvsi_recv_data() 363 pr_debug("%s: got >TTY_THRESHOLD_THROTTLE bytes\n", __func__); in hvsi_recv_data() 364 datalen = TTY_THRESHOLD_THROTTLE; in hvsi_recv_data() 375 memcpy(hp->throttle_buf, data + TTY_THRESHOLD_THROTTLE, overflow); in hvsi_recv_data()
66 #define TTY_THRESHOLD_THROTTLE 128 /* now based on remaining room */ macro 248 if (N_TTY_BUF_SIZE - read_cnt(ldata) >= TTY_THRESHOLD_THROTTLE) in n_tty_check_throttle()