Lines Matching refs:c_iflags
158 #define callout_migrating(c) ((c)->c_iflags & CALLOUT_DFRMIGRATION)
292 c->c_iflags = CALLOUT_LOCAL_ALLOC; in callout_cpu_init()
359 c->c_iflags |= CALLOUT_PENDING; in callout_cc_add()
360 c->c_iflags &= ~CALLOUT_PROCESSED; in callout_cc_add()
363 c->c_iflags |= CALLOUT_DIRECT; in callout_cc_add()
376 if ((c->c_iflags & CALLOUT_LOCAL_ALLOC) == 0) in callout_cc_del()
395 int c_iflags; in softclock_call_cc() local
403 KASSERT((c->c_iflags & CALLOUT_PENDING) == CALLOUT_PENDING, in softclock_call_cc()
404 ("softclock_call_cc: pend %p %x", c, c->c_iflags)); in softclock_call_cc()
418 c_iflags = c->c_iflags; in softclock_call_cc()
419 if (c->c_iflags & CALLOUT_LOCAL_ALLOC) in softclock_call_cc()
420 c->c_iflags = CALLOUT_LOCAL_ALLOC; in softclock_call_cc()
422 c->c_iflags &= ~CALLOUT_PENDING; in softclock_call_cc()
486 if ((c_iflags & CALLOUT_RETURNUNLOCKED) == 0) in softclock_call_cc()
515 c->c_iflags &= ~CALLOUT_DFRMIGRATION; in softclock_call_cc()
522 KASSERT((c_iflags & CALLOUT_LOCAL_ALLOC) == 0, in softclock_call_cc()
534 KASSERT((c_iflags & CALLOUT_LOCAL_ALLOC) == 0 || in softclock_call_cc()
535 c->c_iflags == CALLOUT_LOCAL_ALLOC, in softclock_call_cc()
537 if (c_iflags & CALLOUT_LOCAL_ALLOC) in softclock_call_cc()
727 if ((c->c_iflags & CALLOUT_LOCAL_ALLOC) || in callout_reset_tick_on()
752 if (c->c_iflags & CALLOUT_PENDING) { in callout_reset_tick_on()
753 if ((c->c_iflags & CALLOUT_PROCESSED) == 0) { in callout_reset_tick_on()
761 c->c_iflags &= ~ CALLOUT_PENDING; in callout_reset_tick_on()
817 if (c->c_iflags & CALLOUT_DIRECT) { in _callout_stop_safe()
827 if ((c->c_iflags & (CALLOUT_DFRMIGRATION | CALLOUT_PENDING)) == in _callout_stop_safe()
842 c->c_iflags &= ~CALLOUT_PENDING; in _callout_stop_safe()
943 c->c_iflags &= ~CALLOUT_DFRMIGRATION; in _callout_stop_safe()
957 c->c_iflags &= ~CALLOUT_DFRMIGRATION; in _callout_stop_safe()
979 if ((c->c_iflags & CALLOUT_PENDING) == 0) { in _callout_stop_safe()
992 c->c_iflags &= ~CALLOUT_PENDING; in _callout_stop_safe()
998 if ((c->c_iflags & CALLOUT_PROCESSED) == 0) { in _callout_stop_safe()
1017 c->c_iflags = CALLOUT_RETURNUNLOCKED; in callout_init()
1020 c->c_iflags = 0; in callout_init()
1037 c->c_iflags = flags & (CALLOUT_RETURNUNLOCKED | CALLOUT_SHAREDLOCK); in _callout_init_lock()