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

Function knote_alloc

freebsd/kern/kern_event.c:2698–2703  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2696SYSINIT(knote, SI_SUB_PSEUDO, SI_ORDER_ANY, knote_init, NULL);
2697
2698static struct knote *
2699knote_alloc(int mflag)
2700{
2701
2702 return (uma_zalloc(knote_zone, mflag | M_ZERO));
2703}
2704
2705static void
2706knote_free(struct knote *kn)

Callers 2

kqueue_registerFunction · 0.85
kqueue_scanFunction · 0.85

Calls 1

uma_zallocFunction · 0.50

Tested by

no test coverage detected