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

Function logkqread

freebsd/kern/subr_log.c:214–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214static int
215logkqread(struct knote *kn, long hint)
216{
217
218 mtx_assert(&msgbuf_lock, MA_OWNED);
219 kn->kn_data = msgbuf_getcount(msgbufp);
220 return (kn->kn_data != 0);
221}
222
223static void
224logkqdetach(struct knote *kn)

Callers

nothing calls this directly

Calls 2

mtx_assertFunction · 0.85
msgbuf_getcountFunction · 0.85

Tested by

no test coverage detected