Home
last modified time | relevance | path

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

/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); \
/linux/kernel/trace/
H A Dring_buffer.c4060 if (pc & NMI_MASK) in show_interrupt_level()
H A Dtrace.c2553 if (pc & NMI_MASK) in tracing_gen_ctx_irq_test()