Lines Matching refs:DEBUG_LOCKS_WARN_ON
141 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in lockdep_lock()
150 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in lockdep_unlock()
152 if (debug_locks && DEBUG_LOCKS_WARN_ON(__owner != current)) in lockdep_unlock()
162 return DEBUG_LOCKS_WARN_ON(__owner != current); in lockdep_assert_locked()
232 DEBUG_LOCKS_WARN_ON(1); in hlock_class()
923 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in look_up_lock_class()
1282 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in register_lock_class()
1376 if (DEBUG_LOCKS_WARN_ON(class->subclass != subclass)) in register_lock_class()
2295 DEBUG_LOCKS_WARN_ON(entry->class->wait_type_inner < LD_WAIT_CONFIG)) in usage_skip()
2852 if (DEBUG_LOCKS_WARN_ON(ret == BFS_RNOMATCH)) in check_irq_usage()
2862 if (DEBUG_LOCKS_WARN_ON(ret == -1)) in check_irq_usage()
3643 if (DEBUG_LOCKS_WARN_ON(chain->depth != curr->lockdep_depth - (i - 1))) { in check_no_collision()
3651 if (DEBUG_LOCKS_WARN_ON(chain_hlocks[chain->base + j] != id)) { in check_no_collision()
3922 if (DEBUG_LOCKS_WARN_ON(!test_bit(hlock->class_idx, lock_classes_in_use))) in check_chain_key()
4339 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_hardirqs_on_prepare()
4345 if (DEBUG_LOCKS_WARN_ON(early_boot_irqs_disabled)) in lockdep_hardirqs_on_prepare()
4352 if (DEBUG_LOCKS_WARN_ON(lockdep_hardirq_context())) in lockdep_hardirqs_on_prepare()
4408 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_hardirqs_on()
4415 DEBUG_LOCKS_WARN_ON(current->hardirq_chain_key != in lockdep_hardirqs_on()
4450 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_hardirqs_off()
4483 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_softirqs_on()
4520 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lockdep_softirqs_off()
4536 DEBUG_LOCKS_WARN_ON(!softirq_count()); in lockdep_softirqs_off()
4642 DEBUG_LOCKS_WARN_ON(1); in mark_lock()
4871 if (DEBUG_LOCKS_WARN_ON(!name)) { in lockdep_init_map_type()
4885 if (DEBUG_LOCKS_WARN_ON(!key)) in lockdep_init_map_type()
4894 DEBUG_LOCKS_WARN_ON(1); in lockdep_init_map_type()
4905 if (DEBUG_LOCKS_WARN_ON(!lockdep_enabled())) in lockdep_init_map_type()
5037 if (DEBUG_LOCKS_WARN_ON(depth >= MAX_LOCK_DEPTH)) in __lock_acquire()
5055 if (DEBUG_LOCKS_WARN_ON(hlock->references < references)) in __lock_acquire()
5067 if (DEBUG_LOCKS_WARN_ON(!class)) in __lock_acquire()
5106 if (DEBUG_LOCKS_WARN_ON(!test_bit(class_idx, lock_classes_in_use))) in __lock_acquire()
5114 if (DEBUG_LOCKS_WARN_ON(chain_key != INITIAL_CHAIN_KEY)) in __lock_acquire()
5222 if (DEBUG_LOCKS_WARN_ON(!hlock->nest_lock)) in match_held_lock()
5274 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in reacquire_held_locks()
5319 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_set_class()
5345 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged)) in __lock_set_class()
5365 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_downgrade()
5385 if (DEBUG_LOCKS_WARN_ON(merged)) in __lock_downgrade()
5392 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth)) in __lock_downgrade()
5475 DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged); in __lock_release()
5593 if (DEBUG_LOCKS_WARN_ON(lockdep_hardirqs_enabled())) { in check_flags()
5597 if (DEBUG_LOCKS_WARN_ON(!lockdep_hardirqs_enabled())) { in check_flags()
5611 DEBUG_LOCKS_WARN_ON(current->softirqs_enabled); in check_flags()
5614 DEBUG_LOCKS_WARN_ON(!current->softirqs_enabled); in check_flags()
5929 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_contended()
5971 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_acquired()