Home
last modified time | relevance | path

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

/freebsd-14.2/sys/sys/
H A Dcallout.h45 #define CALLOUT_ACTIVE 0x0002 /* callout is currently active */ macro
84 #define callout_active(c) ((c)->c_flags & CALLOUT_ACTIVE)
85 #define callout_deactivate(c) ((c)->c_flags &= ~CALLOUT_ACTIVE)
/freebsd-14.2/sys/kern/
H A Dkern_timeout.c601 c->c_flags |= CALLOUT_ACTIVE; in callout_cc_add()
658 KASSERT((c->c_flags & CALLOUT_ACTIVE) == CALLOUT_ACTIVE, in softclock_call_cc()
1015 c->c_flags &= ~ CALLOUT_ACTIVE; in callout_reset_sbt_on()
1048 c->c_flags |= CALLOUT_ACTIVE; in callout_reset_sbt_on()
1125 ((c->c_flags & CALLOUT_ACTIVE) == CALLOUT_ACTIVE)) { in _callout_stop_safe()
1139 c->c_flags &= ~CALLOUT_ACTIVE; in _callout_stop_safe()
1173 c->c_flags &= ~CALLOUT_ACTIVE; in _callout_stop_safe()
1232 c->c_flags &= ~CALLOUT_ACTIVE; in _callout_stop_safe()
1329 c->c_flags &= ~CALLOUT_ACTIVE; in _callout_stop_safe()