Home
last modified time | relevance | path

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

/include/linux/
Dpreempt.h46 #define HARDIRQ_MASK (__IRQ_MASK(HARDIRQ_BITS) << HARDIRQ_SHIFT) macro
95 level += !!(pc & (NMI_MASK | HARDIRQ_MASK)); in interrupt_context_level()
96 level += !!(pc & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_OFFSET)); in interrupt_context_level()
108 #define hardirq_count() (preempt_count() & HARDIRQ_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)))