Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dpreempt.h45 #define SOFTIRQ_MASK (__IRQ_MASK(SOFTIRQ_BITS) << SOFTIRQ_SHIFT) macro
104 # define softirq_count() (current->softirq_disable_cnt & SOFTIRQ_MASK)
106 # define softirq_count() (preempt_count() & SOFTIRQ_MASK)
/linux-6.1.9/arch/sh/kernel/
Dirq.c97 (irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK) | in handle_one_irq()
98 (curctx->tinfo.preempt_count & SOFTIRQ_MASK); in handle_one_irq()
/linux-6.1.9/kernel/
Dsoftirq.c335 if (softirq_count() == (cnt & SOFTIRQ_MASK)) in __local_bh_disable_ip()
356 if (softirq_count() == (cnt & SOFTIRQ_MASK)) in __local_bh_enable()
/linux-6.1.9/kernel/rcu/
Dtree_exp.h748 if (!(preempt_count() & (PREEMPT_MASK | SOFTIRQ_MASK)) || in rcu_exp_handler()
831 bool preempt_bh_enabled = !(preempt_count() & (PREEMPT_MASK | SOFTIRQ_MASK)); in rcu_exp_handler()
Dtree_plugin.h629 !!(preempt_count() & (PREEMPT_MASK | SOFTIRQ_MASK)); in rcu_read_unlock_special()
723 (preempt_count() & (PREEMPT_MASK | SOFTIRQ_MASK))) { in rcu_flavor_sched_clock_irq()
Drcutorture.c421 if (preempt_count() & (SOFTIRQ_MASK | HARDIRQ_MASK)) in rcu_read_delay()