Home
last modified time | relevance | path

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

/external/kernel-headers/original/linux/
Dhardirq.h58 #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())
Dpreempt.h16 # 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
/external/kernel-headers/original/asm-x86/
Dthread_info_32.h33 int preempt_count; /* 0 => preemptable, <0 => BUG */ member
76 .preempt_count = 1, \
/external/kernel-headers/original/asm-arm/
Dthread_info.h53 int preempt_count; /* 0 => preemptable, <0 => bug */ member
73 .preempt_count = 1, \