Lines Matching refs:c_flags

371 		c->c_flags = flags;  in callout_init()
375 c->c_flags = flags | CALLOUT_BOUND; in callout_init()
399 KASSERTMSG((c->c_flags & CALLOUT_PENDING) == 0, in callout_destroy()
401 c, c->c_func, c->c_flags, __builtin_return_address(0)); in callout_destroy()
404 c, c->c_func, c->c_flags, __builtin_return_address(0)); in callout_destroy()
422 c, c->c_func, c->c_arg, c->c_flags, to_ticks); in callout_schedule_locked()
429 c->c_flags &= ~(CALLOUT_FIRED | CALLOUT_INVOKING); in callout_schedule_locked()
436 if ((c->c_flags & CALLOUT_PENDING) != 0) { in callout_schedule_locked()
449 if ((c->c_flags & CALLOUT_BOUND) != 0 || cc == occ || in callout_schedule_locked()
453 c->c_flags |= CALLOUT_PENDING; in callout_schedule_locked()
459 c->c_flags |= CALLOUT_PENDING; in callout_schedule_locked()
463 c, c->c_func, c->c_arg, c->c_flags, in callout_schedule_locked()
485 SDT_PROBE4(sdt, kernel, callout, setfunc, cs, func, arg, c->c_flags); in callout_reset()
527 if ((c->c_flags & CALLOUT_PENDING) != 0) in callout_stop()
529 expired = ((c->c_flags & CALLOUT_FIRED) != 0); in callout_stop()
530 c->c_flags &= ~(CALLOUT_PENDING|CALLOUT_FIRED); in callout_stop()
533 c, c->c_func, c->c_arg, c->c_flags, expired); in callout_stop()
563 c, c->c_func, c->c_arg, c->c_flags); in callout_halt()
564 if ((c->c_flags & CALLOUT_PENDING) != 0) in callout_halt()
566 c->c_flags &= ~(CALLOUT_PENDING|CALLOUT_FIRED); in callout_halt()
572 c, c->c_func, c->c_arg, c->c_flags, /*expired*/false); in callout_halt()
635 if ((c->c_flags & CALLOUT_PENDING) != 0) in callout_wait()
637 c->c_flags &= ~(CALLOUT_PENDING|CALLOUT_FIRED); in callout_wait()
641 c, c->c_func, c->c_arg, c->c_flags, /*expired*/true); in callout_wait()
665 KASSERT((c->c_flags & CALLOUT_PENDING) == 0); in callout_bind()
668 KASSERT((c->c_flags & CALLOUT_MPSAFE) != 0); in callout_bind()
672 c->c_flags |= CALLOUT_BOUND; in callout_bind()
697 SDT_PROBE4(sdt, kernel, callout, setfunc, cs, func, arg, c->c_flags); in callout_setfunc()
713 rv = ((c->c_flags & CALLOUT_FIRED) != 0); in callout_expired()
729 rv = ((c->c_flags & (CALLOUT_PENDING|CALLOUT_FIRED)) != 0); in callout_active()
745 rv = ((c->c_flags & CALLOUT_PENDING) != 0); in callout_pending()
761 rv = ((c->c_flags & CALLOUT_INVOKING) != 0); in callout_invoking()
776 c->c_flags &= ~CALLOUT_INVOKING; in callout_ack()
842 KASSERT((c->c_flags & CALLOUT_PENDING) != 0); in callout_softclock()
843 KASSERT((c->c_flags & CALLOUT_FIRED) == 0); in callout_softclock()
856 c->c_flags = (c->c_flags & ~CALLOUT_PENDING) | in callout_softclock()
858 mpsafe = (c->c_flags & CALLOUT_MPSAFE); in callout_softclock()
862 flags = c->c_flags; in callout_softclock()