MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ttydevsw_outwakeup

Function ttydevsw_outwakeup

freebsd/sys/ttydevsw.h:105–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105static __inline void
106ttydevsw_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
119static __inline void
120ttydevsw_inwakeup(struct tty *tp)

Callers 7

ttydisc_writeFunction · 0.85
ttydisc_rint_doneFunction · 0.85
tty_putstrnFunction · 0.85
tty_drainFunction · 0.85
tty_flushFunction · 0.85
tty_generic_ioctlFunction · 0.85
ngt_rcvdataFunction · 0.85

Calls 1

ttydisc_getc_pollFunction · 0.85

Tested by

no test coverage detected