Home
last modified time | relevance | path

Searched refs:SOFTIRQ_MASK (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/include/linux/
H A Dpreempt.h46 #define SOFTIRQ_MASK (__IRQ_MASK(SOFTIRQ_BITS) << SOFTIRQ_SHIFT) macro
111 # define softirq_count() (current->softirq_disable_cnt & SOFTIRQ_MASK)
114 # define softirq_count() (preempt_count() & SOFTIRQ_MASK)
115 # define irq_count() (preempt_count() & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_MASK))
/openbmc/linux/arch/sh/kernel/
H A Dirq.c97 (irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK) | in handle_one_irq()
98 (curctx->tinfo.preempt_count & SOFTIRQ_MASK); in handle_one_irq()
/openbmc/linux/kernel/
H A Dsoftirq.c320 if (softirq_count() == (cnt & SOFTIRQ_MASK)) in __local_bh_disable_ip()
341 if (softirq_count() == (cnt & SOFTIRQ_MASK)) in __local_bh_enable()
/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 Drcutorture.c426 if (preempt_count() & (SOFTIRQ_MASK | HARDIRQ_MASK)) in rcu_read_delay()