Lines Matching refs:lockdep_depth
455 task->lockdep_depth = 0; /* no locks held yet */ in lockdep_init_task()
783 int i, depth = READ_ONCE(p->lockdep_depth); in lockdep_print_held_locks()
3033 for (i = 0; i < curr->lockdep_depth; i++) { in check_deadlock()
3230 int depth = curr->lockdep_depth; in check_prevs_add()
3249 u16 distance = curr->lockdep_depth - depth + 1; in check_prevs_add()
3545 for (i = curr->lockdep_depth - 1; i >= 0; i--) { in get_first_held_lock()
3574 int depth = curr->lockdep_depth; in print_chain_keys_held_locks()
3644 if (DEBUG_LOCKS_WARN_ON(chain->depth != curr->lockdep_depth - (i - 1))) { in check_no_collision()
3723 chain->depth = curr->lockdep_depth + 1 - i; in add_chain_cache()
3904 for (i = 0; i < curr->lockdep_depth; i++) { in check_chain_key()
3913 curr->lockdep_depth, i, in check_chain_key()
3939 curr->lockdep_depth, i, in check_chain_key()
4262 for (i = 0; i < curr->lockdep_depth; i++) { in mark_held_locks()
4614 unsigned int depth = curr->lockdep_depth; in separate_irq_context()
4787 for (depth = curr->lockdep_depth - 1; depth >= 0; depth--) { in check_wait_context()
4796 for (; depth < curr->lockdep_depth; depth++) { in check_wait_context()
5034 depth = curr->lockdep_depth; in __lock_acquire()
5145 curr->lockdep_depth++; in __lock_acquire()
5151 if (unlikely(curr->lockdep_depth >= MAX_LOCK_DEPTH)) { in __lock_acquire()
5155 curr->lockdep_depth, MAX_LOCK_DEPTH); in __lock_acquire()
5164 if (unlikely(curr->lockdep_depth > max_lockdep_depth)) in __lock_acquire()
5165 max_lockdep_depth = curr->lockdep_depth; in __lock_acquire()
5315 depth = curr->lockdep_depth; in __lock_set_class()
5336 curr->lockdep_depth = i; in __lock_set_class()
5346 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged)) in __lock_set_class()
5361 depth = curr->lockdep_depth; in __lock_downgrade()
5375 curr->lockdep_depth = i; in __lock_downgrade()
5393 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth)) in __lock_downgrade()
5415 depth = curr->lockdep_depth; in __lock_release()
5458 curr->lockdep_depth = i; in __lock_release()
5476 DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged); in __lock_release()
5492 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_is_held()
5515 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_pin_lock()
5542 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_repin_lock()
5562 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_unpin_lock()
5925 depth = curr->lockdep_depth; in __lock_contended()
5967 depth = curr->lockdep_depth; in __lock_acquired()
6564 for (i = 0; i < curr->lockdep_depth; i++) { in debug_check_no_locks_freed()
6598 if (unlikely(current->lockdep_depth > 0)) in debug_check_no_locks_held()
6616 if (!p->lockdep_depth) in debug_show_all_locks()
6648 if (unlikely(curr->lockdep_depth)) { in lockdep_sys_exit()