Searched refs:ttyoutq_bytesused (Results 1 – 3 of 3) sorted by relevance
174 ttyoutq_bytesused(struct ttyoutq *to) in ttyoutq_bytesused() function
184 bytes = ttyoutq_bytesused(&tp->t_outq); in tty_drain()186 if (ttyoutq_bytesused(&tp->t_outq) == 0 && !ttydevsw_busy(tp)) in tty_drain()196 else if (leaving && ttyoutq_bytesused(&tp->t_outq) < bytes) { in tty_drain()200 bytes = ttyoutq_bytesused(&tp->t_outq); in tty_drain()1298 xt->xt_outcc = ttyoutq_bytesused(&tp->t_outq); in tty_to_xtty()1678 *(int *)data = ttyoutq_bytesused(&tp->t_outq); in tty_generic_ioctl()
1274 return ttyoutq_bytesused(&tp->t_outq); in ttydisc_getc_poll()