Home
last modified time | relevance | path

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

/development/ndk/platforms/android-3/include/linux/
Dpreempt.h18 #define add_preempt_count(val) do { preempt_count() += (val); } while (0)
19 #define sub_preempt_count(val) do { preempt_count() -= (val); } while (0)
24 #define preempt_count() (current_thread_info()->preempt_count) macro
Dhardirq.h50 #define hardirq_count() (preempt_count() & HARDIRQ_MASK)
51 #define softirq_count() (preempt_count() & SOFTIRQ_MASK)
52 #define irq_count() (preempt_count() & (HARDIRQ_MASK | SOFTIRQ_MASK))
58 #define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE) != 0)