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

Function knote_drop

freebsd/kern/kern_event.c:2617–2624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2615}
2616
2617static void
2618knote_drop(struct knote *kn, struct thread *td)
2619{
2620
2621 if ((kn->kn_status & KN_DETACHED) == 0)
2622 kn->kn_fop->f_detach(kn);
2623 knote_drop_detached(kn, td);
2624}
2625
2626static void
2627knote_drop_detached(struct knote *kn, struct thread *td)

Callers 4

kqueue_registerFunction · 0.85
kqueue_scanFunction · 0.85
kqueue_drainFunction · 0.85
knote_fdcloseFunction · 0.85

Calls 1

knote_drop_detachedFunction · 0.85

Tested by

no test coverage detected