Home
last modified time | relevance | path

Searched refs:read_head (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/char/
Dn_tty.c97 tty->read_buf[tty->read_head] = c; in put_tty_queue_nolock()
98 tty->read_head = (tty->read_head + 1) & (N_TTY_BUF_SIZE-1); in put_tty_queue_nolock()
148 tty->read_head = tty->read_tail = tty->read_cnt = 0; in reset_buffer_flags()
388 if (tty->read_head == tty->canon_head) { in eraser()
399 tty->read_cnt -= ((tty->read_head - tty->canon_head) & in eraser()
401 tty->read_head = tty->canon_head; in eraser()
407 tty->read_cnt -= ((tty->read_head - tty->canon_head) & in eraser()
409 tty->read_head = tty->canon_head; in eraser()
422 while (tty->read_head != tty->canon_head) { in eraser()
423 head = (tty->read_head - 1) & (N_TTY_BUF_SIZE-1); in eraser()
[all …]
/linux-2.4.37.9/include/linux/
Dtty.h301 int read_head; member