Lines Matching refs:DEBUG_LOCKS_WARN_ON
140 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in lockdep_lock()
149 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in lockdep_unlock()
151 if (debug_locks && DEBUG_LOCKS_WARN_ON(__owner != current)) in lockdep_unlock()
161 return DEBUG_LOCKS_WARN_ON(__owner != current); in lockdep_assert_locked()
231 DEBUG_LOCKS_WARN_ON(1); in hlock_class()
928 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in look_up_lock_class()
1287 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in register_lock_class()
1381 if (DEBUG_LOCKS_WARN_ON(class->subclass != subclass)) in register_lock_class()
2282 if (DEBUG_LOCKS_WARN_ON(entry->class->wait_type_inner < LD_WAIT_CONFIG)) in usage_skip()
2837 if (DEBUG_LOCKS_WARN_ON(ret == BFS_RNOMATCH)) in check_irq_usage()
2847 if (DEBUG_LOCKS_WARN_ON(ret == -1)) in check_irq_usage()
3606 if (DEBUG_LOCKS_WARN_ON(chain->depth != curr->lockdep_depth - (i - 1))) { in check_no_collision()
3614 if (DEBUG_LOCKS_WARN_ON(chain_hlocks[chain->base + j] != id)) { in check_no_collision()
3885 if (DEBUG_LOCKS_WARN_ON(!test_bit(hlock->class_idx, lock_classes_in_use))) in check_chain_key()
4302 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_hardirqs_on_prepare()
4308 if (DEBUG_LOCKS_WARN_ON(early_boot_irqs_disabled)) in lockdep_hardirqs_on_prepare()
4315 if (DEBUG_LOCKS_WARN_ON(lockdep_hardirq_context())) in lockdep_hardirqs_on_prepare()
4371 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_hardirqs_on()
4378 DEBUG_LOCKS_WARN_ON(current->hardirq_chain_key != in lockdep_hardirqs_on()
4413 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_hardirqs_off()
4446 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_softirqs_on()
4483 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_softirqs_off()
4499 DEBUG_LOCKS_WARN_ON(!softirq_count()); in lockdep_softirqs_off()
4599 DEBUG_LOCKS_WARN_ON(1); in mark_lock()
4819 if (DEBUG_LOCKS_WARN_ON(!name)) { in lockdep_init_map_type()
4833 if (DEBUG_LOCKS_WARN_ON(!key)) in lockdep_init_map_type()
4842 DEBUG_LOCKS_WARN_ON(1); in lockdep_init_map_type()
4853 if (DEBUG_LOCKS_WARN_ON(!lockdep_enabled())) in lockdep_init_map_type()
4958 if (DEBUG_LOCKS_WARN_ON(depth >= MAX_LOCK_DEPTH)) in __lock_acquire()
4975 if (DEBUG_LOCKS_WARN_ON(hlock->references < references)) in __lock_acquire()
4987 if (DEBUG_LOCKS_WARN_ON(!class)) in __lock_acquire()
5025 if (DEBUG_LOCKS_WARN_ON(!test_bit(class_idx, lock_classes_in_use))) in __lock_acquire()
5033 if (DEBUG_LOCKS_WARN_ON(chain_key != INITIAL_CHAIN_KEY)) in __lock_acquire()
5137 if (DEBUG_LOCKS_WARN_ON(!hlock->nest_lock)) in match_held_lock()
5189 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in reacquire_held_locks()
5234 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_set_class()
5260 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged)) in __lock_set_class()
5280 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_downgrade()
5300 if (DEBUG_LOCKS_WARN_ON(merged)) in __lock_downgrade()
5307 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth)) in __lock_downgrade()
5390 DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged); in __lock_release()
5508 if (DEBUG_LOCKS_WARN_ON(lockdep_hardirqs_enabled())) { in check_flags()
5512 if (DEBUG_LOCKS_WARN_ON(!lockdep_hardirqs_enabled())) { in check_flags()
5526 DEBUG_LOCKS_WARN_ON(current->softirqs_enabled); in check_flags()
5529 DEBUG_LOCKS_WARN_ON(!current->softirqs_enabled); in check_flags()
5816 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_contended()
5858 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_acquired()