Home
last modified time | relevance | path

Searched refs:PREEMPT_ACTIVE (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/include/linux/
Dpreempt_mask.h51 #define PREEMPT_ACTIVE (__IRQ_MASK(PREEMPT_ACTIVE_BITS) << PREEMPT_ACTIVE_SHIFT) macro
110 #define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE) != 0)
117 ((preempt_count() & ~PREEMPT_ACTIVE) != PREEMPT_DISABLE_OFFSET)
Dsched.h583 #define INIT_PREEMPT_COUNT (PREEMPT_DISABLED + PREEMPT_ACTIVE)
/linux-4.1.27/include/trace/events/
Dsched.h106 if (preempt_count() & PREEMPT_ACTIVE) in __trace_sched_switch_state()
/linux-4.1.27/kernel/sched/
Dcore.c2769 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()