Searched refs:tty_chars_in_buffer (Results 1 – 6 of 6) sorted by relevance
48 unsigned int tty_chars_in_buffer(struct tty_struct *tty) in tty_chars_in_buffer() function54 EXPORT_SYMBOL(tty_chars_in_buffer);185 !tty_chars_in_buffer(tty), timeout); in tty_wait_until_sent()484 retval = wait_event_interruptible(tty->write_wait, !tty_chars_in_buffer(tty));492 if (tty_chars_in_buffer(tty)) {
611 count = tty_chars_in_buffer(tty); in n_hdlc_tty_ioctl()
2466 tty_chars_in_buffer(tty) < WAKEUP_CHARS && in n_tty_poll()2499 return put_user(tty_chars_in_buffer(tty), (int __user *) arg); in n_tty_ioctl()
409 unsigned int tty_chars_in_buffer(struct tty_struct *tty);
485 (tty_chars_in_buffer(sl->tty) || sl->xleft) ?
1453 (tty && !L_ECHO(tty) && tty_chars_in_buffer(tty)))) { in kbd_keycode()