Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A 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)))
H A Dhardirq.h111 BUG_ON(in_nmi() == NMI_MASK); \
/openbmc/linux/kernel/trace/
H A Dtrace.c2698 if (pc & NMI_MASK) in tracing_gen_ctx_irq_test()