Lines Matching refs:canon_head
94 size_t canon_head; member
232 n = ldata->canon_head - ldata->read_tail; in chars_in_buffer()
260 if (ldata->icanon && ldata->canon_head == ldata->read_tail) in n_tty_check_throttle()
336 ldata->read_head = ldata->canon_head = ldata->read_tail = 0; in reset_buffer_flags()
987 if (ldata->read_head == ldata->canon_head) { in eraser()
997 ldata->read_head = ldata->canon_head; in eraser()
1001 ldata->read_head = ldata->canon_head; in eraser()
1013 while (MASK(ldata->read_head) != MASK(ldata->canon_head)) { in eraser()
1021 MASK(head) != MASK(ldata->canon_head)); in eraser()
1063 while (MASK(tail) != MASK(ldata->canon_head)) { in eraser()
1093 if (ldata->read_head == ldata->canon_head && L_ECHO(tty)) in eraser()
1333 size_t tail = ldata->canon_head; in n_tty_receive_char_special()
1363 if (ldata->canon_head == ldata->read_head) in n_tty_receive_char_special()
1378 smp_store_release(&ldata->canon_head, ldata->read_head); in n_tty_receive_char_special()
1391 if (ldata->canon_head == ldata->read_head) in n_tty_receive_char_special()
1418 if (ldata->canon_head == ldata->read_head) in n_tty_receive_char_inline()
1446 if (ldata->canon_head == ldata->read_head) in n_tty_receive_char_fast()
1728 overflow = ldata->icanon && ldata->canon_head == tail; in n_tty_receive_buf_common()
1802 ldata->canon_head = ldata->read_tail; in n_tty_set_termios()
1807 ldata->canon_head = ldata->read_head; in n_tty_set_termios()
1937 return ldata->canon_head != ldata->read_tail; in input_available_p()
2032 n = min(*nr + 1, smp_load_acquire(&ldata->canon_head) - ldata->read_tail); in canon_copy_from_read_buf()
2433 if (ldata->canon_head == ldata->read_tail) in inq_canon()
2435 head = ldata->canon_head; in inq_canon()