Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dpreempt.h46 #define HARDIRQ_MASK (__IRQ_MASK(HARDIRQ_BITS) << HARDIRQ_SHIFT) macro
80 #define hardirq_count() (preempt_count() & HARDIRQ_MASK)
82 #define irq_count() (preempt_count() & (HARDIRQ_MASK | SOFTIRQ_MASK \
104 (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_OFFSET)))
/Linux-v5.10/kernel/events/
Dinternal.h212 rctx += !!(pc & (NMI_MASK | HARDIRQ_MASK)); in DEFINE_OUTPUT_COPY()
213 rctx += !!(pc & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_OFFSET)); in DEFINE_OUTPUT_COPY()
/Linux-v5.10/kernel/trace/
Dring_buffer.c3078 if (!(pc & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_OFFSET))) in trace_recursive_lock()
3082 pc & HARDIRQ_MASK ? RB_CTX_IRQ : RB_CTX_SOFTIRQ; in trace_recursive_lock()
Dtrace.c2596 ((pc & HARDIRQ_MASK) ? TRACE_FLAG_HARDIRQ : 0) | in tracing_generic_entry_update()
/Linux-v5.10/kernel/rcu/
Drcutorture.c357 if (preempt_count() & (SOFTIRQ_MASK | HARDIRQ_MASK)) in rcu_read_delay()