| 311 | } |
| 312 | |
| 313 | rt_inline void ttydevsw_outwakeup(struct lwp_tty *tp) |
| 314 | { |
| 315 | tty_assert_locked(tp); |
| 316 | MPASS(!tty_gone(tp)); |
| 317 | |
| 318 | /* Prevent spurious wakeups. */ |
| 319 | if (ttydisc_getc_poll(tp) == 0) |
| 320 | return; |
| 321 | |
| 322 | tp->t_devsw->tsw_outwakeup(tp); |
| 323 | } |
| 324 | |
| 325 | rt_inline void ttydevsw_inwakeup(struct lwp_tty *tp) |
| 326 | { |
no test coverage detected