Lines Matching refs:DEBUG_LOCKS_WARN_ON

143 	DEBUG_LOCKS_WARN_ON(!irqs_disabled());  in lockdep_lock()
152 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in lockdep_unlock()
154 if (debug_locks && DEBUG_LOCKS_WARN_ON(__owner != current)) in lockdep_unlock()
165 return DEBUG_LOCKS_WARN_ON(__owner != current); in lockdep_assert_locked()
238 DEBUG_LOCKS_WARN_ON(1); in hlock_class()
930 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in look_up_lock_class()
1292 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in register_lock_class()
1390 if (DEBUG_LOCKS_WARN_ON(class->subclass != subclass)) in register_lock_class()
2283 DEBUG_LOCKS_WARN_ON(entry->class->wait_type_inner < LD_WAIT_CONFIG)) in usage_skip()
2844 if (DEBUG_LOCKS_WARN_ON(ret == BFS_RNOMATCH)) in check_irq_usage()
2854 if (DEBUG_LOCKS_WARN_ON(ret == -1)) in check_irq_usage()
3679 if (DEBUG_LOCKS_WARN_ON(chain->depth != curr->lockdep_depth - (i - 1))) { in check_no_collision()
3687 if (DEBUG_LOCKS_WARN_ON(chain_hlocks[chain->base + j] != id)) { in check_no_collision()
3962 if (DEBUG_LOCKS_WARN_ON(!test_bit(hlock->class_idx, lock_classes_in_use))) in check_chain_key()
4391 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_hardirqs_on_prepare()
4397 if (DEBUG_LOCKS_WARN_ON(early_boot_irqs_disabled)) in lockdep_hardirqs_on_prepare()
4404 if (DEBUG_LOCKS_WARN_ON(lockdep_hardirq_context())) in lockdep_hardirqs_on_prepare()
4460 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_hardirqs_on()
4467 DEBUG_LOCKS_WARN_ON(current->hardirq_chain_key != in lockdep_hardirqs_on()
4502 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_hardirqs_off()
4535 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_softirqs_on()
4572 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_softirqs_off()
4588 DEBUG_LOCKS_WARN_ON(!softirq_count()); in lockdep_softirqs_off()
4718 DEBUG_LOCKS_WARN_ON(1); in mark_lock()
4953 if (DEBUG_LOCKS_WARN_ON(!name)) { in lockdep_init_map_type()
4967 if (DEBUG_LOCKS_WARN_ON(!key)) in lockdep_init_map_type()
4976 DEBUG_LOCKS_WARN_ON(1); in lockdep_init_map_type()
4987 if (DEBUG_LOCKS_WARN_ON(!lockdep_enabled())) in lockdep_init_map_type()
5103 if (DEBUG_LOCKS_WARN_ON(subclass >= MAX_LOCKDEP_SUBCLASSES)) in __lock_acquire()
5138 if (DEBUG_LOCKS_WARN_ON(depth >= MAX_LOCK_DEPTH)) in __lock_acquire()
5156 if (DEBUG_LOCKS_WARN_ON(hlock->references < references)) in __lock_acquire()
5168 if (DEBUG_LOCKS_WARN_ON(!class)) in __lock_acquire()
5207 if (DEBUG_LOCKS_WARN_ON(!test_bit(class_idx, lock_classes_in_use))) in __lock_acquire()
5215 if (DEBUG_LOCKS_WARN_ON(chain_key != INITIAL_CHAIN_KEY)) in __lock_acquire()
5329 if (DEBUG_LOCKS_WARN_ON(!hlock->nest_lock)) in match_held_lock()
5381 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in reacquire_held_locks()
5426 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_set_class()
5452 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged)) in __lock_set_class()
5472 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_downgrade()
5492 if (DEBUG_LOCKS_WARN_ON(merged)) in __lock_downgrade()
5499 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth)) in __lock_downgrade()
5582 DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged); in __lock_release()
5700 if (DEBUG_LOCKS_WARN_ON(lockdep_hardirqs_enabled())) { in check_flags()
5704 if (DEBUG_LOCKS_WARN_ON(!lockdep_hardirqs_enabled())) { in check_flags()
5718 DEBUG_LOCKS_WARN_ON(current->softirqs_enabled); in check_flags()
5721 DEBUG_LOCKS_WARN_ON(!current->softirqs_enabled); in check_flags()
6049 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_contended()
6094 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_acquired()