Home
last modified time | relevance | path

Searched refs:CALLOUT_ACTIVE (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/sys/sys/
H A Dcallout.h46 #define CALLOUT_ACTIVE 0x0002 /* callout is currently active */ macro
87 #define callout_active(c) ((c)->c_flags & CALLOUT_ACTIVE)
88 #define callout_deactivate(c) ((c)->c_flags &= ~CALLOUT_ACTIVE)
/freebsd-13.1/sys/kern/
H A Dkern_timeout.c577 c->c_flags |= CALLOUT_ACTIVE; in callout_cc_add()
634 KASSERT((c->c_flags & CALLOUT_ACTIVE) == CALLOUT_ACTIVE, in softclock_call_cc()
981 c->c_flags &= ~ CALLOUT_ACTIVE; in callout_reset_sbt_on()
1014 c->c_flags |= CALLOUT_ACTIVE; in callout_reset_sbt_on()
1091 ((c->c_flags & CALLOUT_ACTIVE) == CALLOUT_ACTIVE)) { in _callout_stop_safe()
1105 c->c_flags &= ~CALLOUT_ACTIVE; in _callout_stop_safe()
1139 c->c_flags &= ~CALLOUT_ACTIVE; in _callout_stop_safe()
1198 c->c_flags &= ~CALLOUT_ACTIVE; in _callout_stop_safe()
1295 c->c_flags &= ~CALLOUT_ACTIVE; in _callout_stop_safe()