Lines Matching refs:preempt_count
2556 if (WARN_ONCE(preempt_count() != 2*PREEMPT_DISABLE_OFFSET, in finish_task_switch()
2558 current->comm, current->pid, preempt_count())) in finish_task_switch()
2932 if (DEBUG_LOCKS_WARN_ON((preempt_count() < 0))) in preempt_count_add()
2940 DEBUG_LOCKS_WARN_ON((preempt_count() & PREEMPT_MASK) >= in preempt_count_add()
2943 if (preempt_count() == val) { in preempt_count_add()
2960 if (DEBUG_LOCKS_WARN_ON(val > preempt_count())) in preempt_count_sub()
2966 !(preempt_count() & PREEMPT_MASK))) in preempt_count_sub()
2970 if (preempt_count() == val) in preempt_count_sub()
2988 prev->comm, prev->pid, preempt_count()); in __schedule_bug()
3331 BUG_ON(preempt_count() || !irqs_disabled()); in preempt_schedule_irq()
7542 int nested = preempt_count() + rcu_preempt_depth(); in preempt_count_equals()