N_TTY_BUF_SIZE 349 drivers/net/caif/caif_serial.c tty->receive_room = N_TTY_BUF_SIZE; N_TTY_BUF_SIZE 80 drivers/tty/n_tty.c #define ECHO_DISCARD_WATERMARK N_TTY_BUF_SIZE - (ECHO_BLOCK + 32) N_TTY_BUF_SIZE 112 drivers/tty/n_tty.c char read_buf[N_TTY_BUF_SIZE]; N_TTY_BUF_SIZE 113 drivers/tty/n_tty.c DECLARE_BITMAP(read_flags, N_TTY_BUF_SIZE); N_TTY_BUF_SIZE 114 drivers/tty/n_tty.c unsigned char echo_buf[N_TTY_BUF_SIZE]; N_TTY_BUF_SIZE 129 drivers/tty/n_tty.c #define MASK(x) ((x) & (N_TTY_BUF_SIZE - 1)) N_TTY_BUF_SIZE 138 drivers/tty/n_tty.c return ldata->read_buf[i & (N_TTY_BUF_SIZE - 1)]; N_TTY_BUF_SIZE 143 drivers/tty/n_tty.c return &ldata->read_buf[i & (N_TTY_BUF_SIZE - 1)]; N_TTY_BUF_SIZE 149 drivers/tty/n_tty.c return ldata->echo_buf[i & (N_TTY_BUF_SIZE - 1)]; N_TTY_BUF_SIZE 154 drivers/tty/n_tty.c return &ldata->echo_buf[i & (N_TTY_BUF_SIZE - 1)]; N_TTY_BUF_SIZE 171 drivers/tty/n_tty.c size_t size = N_TTY_BUF_SIZE - tail; N_TTY_BUF_SIZE 266 drivers/tty/n_tty.c if (N_TTY_BUF_SIZE - read_cnt(ldata) >= TTY_THRESHOLD_THROTTLE) N_TTY_BUF_SIZE 341 drivers/tty/n_tty.c bitmap_zero(ldata->read_flags, N_TTY_BUF_SIZE); N_TTY_BUF_SIZE 1376 drivers/tty/n_tty.c set_bit(ldata->read_head & (N_TTY_BUF_SIZE - 1), ldata->read_flags); N_TTY_BUF_SIZE 1517 drivers/tty/n_tty.c head = ldata->read_head & (N_TTY_BUF_SIZE - 1); N_TTY_BUF_SIZE 1518 drivers/tty/n_tty.c n = min_t(size_t, count, N_TTY_BUF_SIZE - head); N_TTY_BUF_SIZE 1524 drivers/tty/n_tty.c head = ldata->read_head & (N_TTY_BUF_SIZE - 1); N_TTY_BUF_SIZE 1525 drivers/tty/n_tty.c n = min_t(size_t, count, N_TTY_BUF_SIZE - head); N_TTY_BUF_SIZE 1723 drivers/tty/n_tty.c room = N_TTY_BUF_SIZE - (ldata->read_head - tail); N_TTY_BUF_SIZE 1799 drivers/tty/n_tty.c bitmap_zero(ldata->read_flags, N_TTY_BUF_SIZE); N_TTY_BUF_SIZE 1805 drivers/tty/n_tty.c set_bit((ldata->read_head - 1) & (N_TTY_BUF_SIZE - 1), N_TTY_BUF_SIZE 1972 drivers/tty/n_tty.c size_t tail = ldata->read_tail & (N_TTY_BUF_SIZE - 1); N_TTY_BUF_SIZE 1975 drivers/tty/n_tty.c n = min(head - ldata->read_tail, N_TTY_BUF_SIZE - tail); N_TTY_BUF_SIZE 2034 drivers/tty/n_tty.c tail = ldata->read_tail & (N_TTY_BUF_SIZE - 1); N_TTY_BUF_SIZE 2035 drivers/tty/n_tty.c size = min_t(size_t, tail + n, N_TTY_BUF_SIZE); N_TTY_BUF_SIZE 2042 drivers/tty/n_tty.c if (eol == N_TTY_BUF_SIZE && more) { N_TTY_BUF_SIZE 2050 drivers/tty/n_tty.c if (n > N_TTY_BUF_SIZE) N_TTY_BUF_SIZE 2051 drivers/tty/n_tty.c n += N_TTY_BUF_SIZE; N_TTY_BUF_SIZE 2440 drivers/tty/n_tty.c if (test_bit(tail & (N_TTY_BUF_SIZE - 1), ldata->read_flags) && N_TTY_BUF_SIZE 38 drivers/tty/tty_audit.c buf->data = kmalloc(N_TTY_BUF_SIZE, GFP_KERNEL); N_TTY_BUF_SIZE 236 drivers/tty/tty_audit.c run = N_TTY_BUF_SIZE - buf->valid; N_TTY_BUF_SIZE 243 drivers/tty/tty_audit.c if (buf->valid == N_TTY_BUF_SIZE)