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

Function knote_dequeue

freebsd/kern/kern_event.c:2676–2687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2674}
2675
2676static void
2677knote_dequeue(struct knote *kn)
2678{
2679 struct kqueue *kq = kn->kn_kq;
2680
2681 KQ_OWNED(kn->kn_kq);
2682 KASSERT(kn->kn_status & KN_QUEUED, ("knote not queued"));
2683
2684 TAILQ_REMOVE(&kq->kq_head, kn, kn_tqe);
2685 kn->kn_status &= ~KN_QUEUED;
2686 kq->kq_count--;
2687}
2688
2689static void
2690knote_init(void)

Callers 2

filt_timertouchFunction · 0.85
knote_drop_detachedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected