DEBUG_LOCKS_WARN_ON
DEBUG_LOCKS_WARN_ON(preemptible());
DEBUG_LOCKS_WARN_ON(preemptible());
DEBUG_LOCKS_WARN_ON(preemptible());
DEBUG_LOCKS_WARN_ON(preemptible());
# define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c)
DEBUG_LOCKS_WARN_ON(current->kmap_ctrl.idx);
DEBUG_LOCKS_WARN_ON(l->owner);
DEBUG_LOCKS_WARN_ON(l->owner);
DEBUG_LOCKS_WARN_ON(l->owner != current);
DEBUG_LOCKS_WARN_ON(ctx->done_acquire);
DEBUG_LOCKS_WARN_ON(ctx->acquired);
DEBUG_LOCKS_WARN_ON(!ctx->contending_lock);
DEBUG_LOCKS_WARN_ON(!ctx->contending_lock);
DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled);
DEBUG_LOCKS_WARN_ON(!irqs_disabled());
if (DEBUG_LOCKS_WARN_ON(class->subclass != subclass))
DEBUG_LOCKS_WARN_ON(!irqs_disabled());
DEBUG_LOCKS_WARN_ON(!irqs_disabled());
if (debug_locks && DEBUG_LOCKS_WARN_ON(__owner != current))
return DEBUG_LOCKS_WARN_ON(__owner != current);
DEBUG_LOCKS_WARN_ON(entry->class->wait_type_inner < LD_WAIT_CONFIG))
DEBUG_LOCKS_WARN_ON(1);
if (DEBUG_LOCKS_WARN_ON(ret == BFS_RNOMATCH))
if (DEBUG_LOCKS_WARN_ON(ret == -1))
if (DEBUG_LOCKS_WARN_ON(chain->depth != curr->lockdep_depth - (i - 1))) {
if (DEBUG_LOCKS_WARN_ON(chain_hlocks[chain->base + j] != id)) {
if (DEBUG_LOCKS_WARN_ON(!test_bit(hlock->class_idx, lock_classes_in_use)))
if (DEBUG_LOCKS_WARN_ON(!irqs_disabled()))
if (DEBUG_LOCKS_WARN_ON(early_boot_irqs_disabled))
if (DEBUG_LOCKS_WARN_ON(lockdep_hardirq_context()))
if (DEBUG_LOCKS_WARN_ON(!irqs_disabled()))
DEBUG_LOCKS_WARN_ON(current->hardirq_chain_key !=
if (DEBUG_LOCKS_WARN_ON(!irqs_disabled()))
if (DEBUG_LOCKS_WARN_ON(!irqs_disabled()))
if (DEBUG_LOCKS_WARN_ON(!irqs_disabled()))
DEBUG_LOCKS_WARN_ON(!softirq_count());
DEBUG_LOCKS_WARN_ON(1);
if (DEBUG_LOCKS_WARN_ON(!name)) {
if (DEBUG_LOCKS_WARN_ON(!key))
DEBUG_LOCKS_WARN_ON(1);
if (DEBUG_LOCKS_WARN_ON(!lockdep_enabled()))
if (DEBUG_LOCKS_WARN_ON(subclass >= MAX_LOCKDEP_SUBCLASSES))
if (DEBUG_LOCKS_WARN_ON(depth >= MAX_LOCK_DEPTH))
if (DEBUG_LOCKS_WARN_ON(hlock->references < references))
if (DEBUG_LOCKS_WARN_ON(!class))
if (DEBUG_LOCKS_WARN_ON(!test_bit(class_idx, lock_classes_in_use)))
if (DEBUG_LOCKS_WARN_ON(chain_key != INITIAL_CHAIN_KEY))
if (DEBUG_LOCKS_WARN_ON(!hlock->nest_lock))
if (DEBUG_LOCKS_WARN_ON(!irqs_disabled()))
if (DEBUG_LOCKS_WARN_ON(!depth))
if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged))
if (DEBUG_LOCKS_WARN_ON(!depth))
if (DEBUG_LOCKS_WARN_ON(merged))
if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth))
DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged);
if (DEBUG_LOCKS_WARN_ON(lockdep_hardirqs_enabled())) {
if (DEBUG_LOCKS_WARN_ON(!lockdep_hardirqs_enabled())) {
DEBUG_LOCKS_WARN_ON(current->softirqs_enabled);
DEBUG_LOCKS_WARN_ON(!current->softirqs_enabled);
if (DEBUG_LOCKS_WARN_ON(!depth))
if (DEBUG_LOCKS_WARN_ON(!depth))
if (DEBUG_LOCKS_WARN_ON(!irqs_disabled()))
DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused);
DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock));
DEBUG_LOCKS_WARN_ON(list_empty(&lock->wait_list));
DEBUG_LOCKS_WARN_ON(waiter->magic != waiter);
DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list));
DEBUG_LOCKS_WARN_ON(!list_empty(&waiter->list));
DEBUG_LOCKS_WARN_ON(__get_task_blocked_on(task));
DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list));
DEBUG_LOCKS_WARN_ON(waiter->task != task);
DEBUG_LOCKS_WARN_ON(blocked_on && blocked_on != lock);
DEBUG_LOCKS_WARN_ON(lock->magic != lock);
DEBUG_LOCKS_WARN_ON(!lock->wait_list.prev && !lock->wait_list.next);
# define MUTEX_WARN_ON(cond) DEBUG_LOCKS_WARN_ON(cond)
DEBUG_LOCKS_WARN_ON(!RB_EMPTY_ROOT(&task->pi_waiters.rb_root));
DEBUG_LOCKS_WARN_ON(task->pi_blocked_on);
DEBUG_LOCKS_WARN_ON(rt_mutex_owner(lock) != current);
DEBUG_LOCKS_WARN_ON(!rt_mutex_owner(lock));
DEBUG_LOCKS_WARN_ON(ww->ctx);
DEBUG_LOCKS_WARN_ON(ww_ctx->done_acquire);
DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock != ww);
DEBUG_LOCKS_WARN_ON(ww_ctx->acquired > 0);
DEBUG_LOCKS_WARN_ON(ww_ctx->ww_class != ww->ww_class);
DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock);
DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired);
if (DEBUG_LOCKS_WARN_ON((preempt_count() < 0)))
DEBUG_LOCKS_WARN_ON((preempt_count() & PREEMPT_MASK) >=
if (DEBUG_LOCKS_WARN_ON(val > preempt_count()))
if (DEBUG_LOCKS_WARN_ON((val < PREEMPT_MASK) &&
DEBUG_LOCKS_WARN_ON(this_cpu_read(softirq_ctrl.cnt));
DEBUG_LOCKS_WARN_ON(current->softirq_disable_cnt !=
DEBUG_LOCKS_WARN_ON(1);
DEBUG_LOCKS_WARN_ON(name_before != name_after);