Home
last modified time | relevance | path

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

/include/linux/
Dpreempt.h47 #define NMI_MASK (__IRQ_MASK(NMI_BITS) << NMI_SHIFT) macro
94 level += !!(pc & (NMI_MASK)); in interrupt_context_level()
95 level += !!(pc & (NMI_MASK | HARDIRQ_MASK)); in interrupt_context_level()
96 level += !!(pc & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_OFFSET)); in interrupt_context_level()
107 #define nmi_count() (preempt_count() & NMI_MASK)
111 # define irq_count() ((preempt_count() & (NMI_MASK | HARDIRQ_MASK)) | softirq_count())
114 # define irq_count() (preempt_count() & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_MASK))
129 # define in_task() (!((preempt_count() & (NMI_MASK | HARDIRQ_MASK)) | in_serving_softirq()))
131 # define in_task() (!(preempt_count() & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_OFFSET)))
Dhardirq.h119 BUG_ON(in_nmi() == NMI_MASK); \