Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dpreempt.h47 #define HARDIRQ_MASK (__IRQ_MASK(HARDIRQ_BITS) << HARDIRQ_SHIFT) macro
96 level += !!(pc & (NMI_MASK | HARDIRQ_MASK)); in interrupt_context_level()
97 level += !!(pc & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_OFFSET)); in interrupt_context_level()
109 #define hardirq_count() (preempt_count() & HARDIRQ_MASK)
112 # define irq_count() ((preempt_count() & (NMI_MASK | HARDIRQ_MASK)) | softirq_count())
115 # define irq_count() (preempt_count() & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_MASK))
130 # define in_task() (!((preempt_count() & (NMI_MASK | HARDIRQ_MASK)) | in_serving_softirq()))
132 # define in_task() (!(preempt_count() & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_OFFSET)))
/linux-6.6.21/kernel/sched/
Dcputime.c74 if (pc & HARDIRQ_MASK) in irqtime_account_irq()
/linux-6.6.21/kernel/rcu/
Drcutorture.c426 if (preempt_count() & (SOFTIRQ_MASK | HARDIRQ_MASK)) in rcu_read_delay()
/linux-6.6.21/kernel/trace/
Dtrace.c2702 if (pc & HARDIRQ_MASK) in tracing_gen_ctx_irq_test()