Lines Matching full:room
55 * return "we have room for writes".
66 #define TTY_THRESHOLD_THROTTLE 128 /* now based on remaining room */
239 * Check the remaining room for the input canonicalization in n_tty_check_throttle()
1676 int room, overflow; in n_tty_receive_buf_common() local
1696 room = N_TTY_BUF_SIZE - (ldata->read_head - tail); in n_tty_receive_buf_common()
1698 room = DIV_ROUND_UP(room, 3); in n_tty_receive_buf_common()
1699 room--; in n_tty_receive_buf_common()
1700 if (room <= 0) { in n_tty_receive_buf_common()
1702 if (overflow && room < 0) in n_tty_receive_buf_common()
1704 room = overflow; in n_tty_receive_buf_common()
1705 WRITE_ONCE(ldata->no_room, flow && !room); in n_tty_receive_buf_common()
1709 n = min_t(size_t, count, room); in n_tty_receive_buf_common()
1724 tty->receive_room = room; in n_tty_receive_buf_common()