| 103 | } |
| 104 | |
| 105 | static __inline void |
| 106 | ttydevsw_outwakeup(struct tty *tp) |
| 107 | { |
| 108 | |
| 109 | tty_assert_locked(tp); |
| 110 | MPASS(!tty_gone(tp)); |
| 111 | |
| 112 | /* Prevent spurious wakeups. */ |
| 113 | if (ttydisc_getc_poll(tp) == 0) |
| 114 | return; |
| 115 | |
| 116 | tp->t_devsw->tsw_outwakeup(tp); |
| 117 | } |
| 118 | |
| 119 | static __inline void |
| 120 | ttydevsw_inwakeup(struct tty *tp) |
no test coverage detected