Home
last modified time | relevance | path

Searched refs:NMI_MASK (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/include/linux/
Dpreempt.h48 #define NMI_MASK (__IRQ_MASK(NMI_BITS) << NMI_SHIFT) macro
95 level += !!(pc & (NMI_MASK)); in interrupt_context_level()
96 level += !!(pc & (NMI_MASK | HARDIRQ_MASK)); in interrupt_context_level()
97 level += !!(pc & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_OFFSET)); in interrupt_context_level()
108 #define nmi_count() (preempt_count() & NMI_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)))
Dhardirq.h111 BUG_ON(in_nmi() == NMI_MASK); \
/linux-6.6.21/kernel/trace/
Dtrace.c2700 if (pc & NMI_MASK) in tracing_gen_ctx_irq_test()