Searched refs:N_TTY_BUF_SIZE (Results 1 – 5 of 5) sorted by relevance
96 int left = N_TTY_BUF_SIZE - tty->read_cnt - 1; in n_tty_set_room()117 if (tty->read_cnt < N_TTY_BUF_SIZE) { in put_tty_queue_nolock()119 tty->read_head = (tty->read_head + 1) & (N_TTY_BUF_SIZE-1); in put_tty_queue_nolock()239 tty->canon_head + (N_TTY_BUF_SIZE - tty->read_tail); in n_tty_chars_in_buffer()501 buf_end = tty->echo_buf + N_TTY_BUF_SIZE; in process_echoes()518 opp -= N_TTY_BUF_SIZE; in process_echoes()526 opp -= N_TTY_BUF_SIZE; in process_echoes()626 cp -= N_TTY_BUF_SIZE; in process_echoes()636 tty->echo_pos &= N_TTY_BUF_SIZE - 1; in process_echoes()663 if (tty->echo_cnt == N_TTY_BUF_SIZE) { in add_echo_byte()[all …]
33 buf->data = kmalloc(N_TTY_BUF_SIZE, GFP_KERNEL); in tty_audit_buf_alloc()316 run = N_TTY_BUF_SIZE - buf->valid; in tty_audit_add_data()323 if (buf->valid == N_TTY_BUF_SIZE) in tty_audit_add_data()
2093 tty->minimum_to_wake = N_TTY_BUF_SIZE; in __tty_fasync()
298 #define N_TTY_BUF_SIZE 4096 macro317 unsigned long read_flags[N_TTY_BUF_SIZE/(8*sizeof(unsigned long))];
335 tty->receive_room = N_TTY_BUF_SIZE; in ldisc_open()