Searched refs:preempt_count (Results 1 – 4 of 4) sorted by relevance
58 #define hardirq_count() (preempt_count() & HARDIRQ_MASK)59 #define softirq_count() (preempt_count() & SOFTIRQ_MASK)60 #define irq_count() (preempt_count() & (HARDIRQ_MASK | SOFTIRQ_MASK))71 # define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE) != kernel_locked())73 # define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE) != 0)77 # define preemptible() (preempt_count() == 0 && !irqs_disabled())
16 # define add_preempt_count(val) do { preempt_count() += (val); } while (0)17 # define sub_preempt_count(val) do { preempt_count() -= (val); } while (0)23 #define preempt_count() (current_thread_info()->preempt_count) macro
33 int preempt_count; /* 0 => preemptable, <0 => BUG */ member76 .preempt_count = 1, \
53 int preempt_count; /* 0 => preemptable, <0 => bug */ member73 .preempt_count = 1, \