Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dcallout.h43 #define CALLOUT_ACTIVE 0x0002 /* callout is currently active */ macro
82 #define callout_active(c) ((c)->c_flags & CALLOUT_ACTIVE)
83 #define callout_deactivate(c) ((c)->c_flags &= ~CALLOUT_ACTIVE)
/freebsd/sys/kern/
H A Dkern_timeout.c597 c->c_flags |= CALLOUT_ACTIVE; in callout_cc_add()
655 KASSERT((c->c_flags & CALLOUT_ACTIVE) == CALLOUT_ACTIVE, in softclock_call_cc()
1018 c->c_flags &= ~ CALLOUT_ACTIVE; in callout_reset_sbt_on()
1051 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()
1315 c->c_flags &= ~CALLOUT_ACTIVE; in _callout_stop_safe()