Home
last modified time | relevance | path

Searched refs:PREEMPT_MASK (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/linux/
H A Dpreempt.h45 #define PREEMPT_MASK (__IRQ_MASK(PREEMPT_BITS) << PREEMPT_SHIFT) macro
/openbmc/linux/kernel/rcu/
H A Dtree_exp.h762 if (!(preempt_count() & (PREEMPT_MASK | SOFTIRQ_MASK)) || in rcu_exp_handler()
877 bool preempt_bh_enabled = !(preempt_count() & (PREEMPT_MASK | SOFTIRQ_MASK)); in rcu_exp_handler()
H A Dtree_plugin.h631 !!(preempt_count() & (PREEMPT_MASK | SOFTIRQ_MASK)); in rcu_read_unlock_special()
725 (preempt_count() & (PREEMPT_MASK | SOFTIRQ_MASK))) { in rcu_flavor_sched_clock_irq()
H A Dtree.c2439 if (IS_ENABLED(CONFIG_PREEMPT_COUNT) && (!(preempt_count() & PREEMPT_MASK))) { in rcu_core()
/openbmc/linux/kernel/sched/
H A Dcore.c5848 DEBUG_LOCKS_WARN_ON((preempt_count() & PREEMPT_MASK) >= in preempt_count_add()
5849 PREEMPT_MASK - 10); in preempt_count_add()
5877 if (DEBUG_LOCKS_WARN_ON((val < PREEMPT_MASK) && in preempt_count_sub()
5878 !(preempt_count() & PREEMPT_MASK))) in preempt_count_sub()