Searched refs:PREEMPT_ACTIVE (Results 1 – 4 of 4) sorted by relevance
51 #define PREEMPT_ACTIVE (__IRQ_MASK(PREEMPT_ACTIVE_BITS) << PREEMPT_ACTIVE_SHIFT) macro110 #define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE) != 0)117 ((preempt_count() & ~PREEMPT_ACTIVE) != PREEMPT_DISABLE_OFFSET)
583 #define INIT_PREEMPT_COUNT (PREEMPT_DISABLED + PREEMPT_ACTIVE)
106 if (preempt_count() & PREEMPT_ACTIVE) in __trace_sched_switch_state()
2769 if (prev->state && !(preempt_count() & PREEMPT_ACTIVE)) { in __schedule()2872 __preempt_count_add(PREEMPT_ACTIVE); in preempt_schedule_common()2874 __preempt_count_sub(PREEMPT_ACTIVE); in preempt_schedule_common()2927 __preempt_count_add(PREEMPT_ACTIVE); in preempt_schedule_context()2937 __preempt_count_sub(PREEMPT_ACTIVE); in preempt_schedule_context()2962 __preempt_count_add(PREEMPT_ACTIVE); in preempt_schedule_irq()2966 __preempt_count_sub(PREEMPT_ACTIVE); in preempt_schedule_irq()7284 int nested = (preempt_count() & ~PREEMPT_ACTIVE) + rcu_preempt_depth(); in preempt_count_equals()