Searched refs:tty_chars_in_buffer (Results 1 – 7 of 7) sorted by relevance
51 unsigned int tty_chars_in_buffer(struct tty_struct *tty) in tty_chars_in_buffer() function57 EXPORT_SYMBOL(tty_chars_in_buffer);197 !tty_chars_in_buffer(tty), timeout); in tty_wait_until_sent()496 retval = wait_event_interruptible(tty->write_wait, !tty_chars_in_buffer(tty));504 if (tty_chars_in_buffer(tty)) {
611 count = tty_chars_in_buffer(tty); in n_hdlc_tty_ioctl()
2483 tty_chars_in_buffer(tty) < WAKEUP_CHARS && in n_tty_poll()2516 return put_user(tty_chars_in_buffer(tty), (int __user *) arg); in n_tty_ioctl()
415 unsigned int tty_chars_in_buffer(struct tty_struct *tty);
543 (tty_chars_in_buffer(ax->tty) || ax->xleft) ? in ax_xmit()
485 (tty_chars_in_buffer(sl->tty) || sl->xleft) ?
1462 (tty && !L_ECHO(tty) && tty_chars_in_buffer(tty)))) { in kbd_keycode()