Lines Matching refs:lockdep_depth
560 int i, depth = READ_ONCE(p->lockdep_depth); in lockdep_print_held_locks()
1780 for (i = 0; i < curr->lockdep_depth; i++) { in check_deadlock()
1941 int depth = curr->lockdep_depth; in check_prevs_add()
1966 int distance = curr->lockdep_depth - depth + 1; in check_prevs_add()
2035 for (i = curr->lockdep_depth - 1; i >= 0; i--) { in get_first_held_lock()
2064 int depth = curr->lockdep_depth; in print_chain_keys_held_locks()
2133 if (DEBUG_LOCKS_WARN_ON(chain->depth != curr->lockdep_depth - (i - 1))) { in check_no_collision()
2261 chain->depth = curr->lockdep_depth + 1 - i; in add_chain_cache()
2448 for (i = 0; i < curr->lockdep_depth; i++) { in check_chain_key()
2457 curr->lockdep_depth, i, in check_chain_key()
2481 curr->lockdep_depth, i, in check_chain_key()
2793 for (i = 0; i < curr->lockdep_depth; i++) { in mark_held_locks()
3040 unsigned int depth = curr->lockdep_depth; in separate_irq_context()
3317 depth = curr->lockdep_depth; in __lock_acquire()
3415 curr->lockdep_depth++; in __lock_acquire()
3421 if (unlikely(curr->lockdep_depth >= MAX_LOCK_DEPTH)) { in __lock_acquire()
3425 curr->lockdep_depth, MAX_LOCK_DEPTH); in __lock_acquire()
3434 if (unlikely(curr->lockdep_depth > max_lockdep_depth)) in __lock_acquire()
3435 max_lockdep_depth = curr->lockdep_depth; in __lock_acquire()
3570 depth = curr->lockdep_depth; in __lock_set_class()
3586 curr->lockdep_depth = i; in __lock_set_class()
3596 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth)) in __lock_set_class()
3608 depth = curr->lockdep_depth; in __lock_downgrade()
3620 curr->lockdep_depth = i; in __lock_downgrade()
3634 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth)) in __lock_downgrade()
3657 depth = curr->lockdep_depth; in __lock_release()
3696 curr->lockdep_depth = i; in __lock_release()
3706 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - 1)) in __lock_release()
3717 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_is_held()
3740 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_pin_lock()
3767 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_repin_lock()
3787 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_unpin_lock()
4039 depth = curr->lockdep_depth; in __lock_contended()
4081 depth = curr->lockdep_depth; in __lock_acquired()
4173 current->lockdep_depth = 0; in lockdep_reset()
4389 for (i = 0; i < curr->lockdep_depth; i++) { in debug_check_no_locks_freed()
4423 if (unlikely(current->lockdep_depth > 0)) in debug_check_no_locks_held()
4441 if (!p->lockdep_depth) in debug_show_all_locks()
4473 if (unlikely(curr->lockdep_depth)) { in lockdep_sys_exit()