Lines Matching refs:lockdep_depth
425 task->lockdep_depth = 0; /* no locks held yet */ in lockdep_init_task()
751 int i, depth = READ_ONCE(p->lockdep_depth); in lockdep_print_held_locks()
2781 for (i = 0; i < curr->lockdep_depth; i++) { in check_deadlock()
2970 int depth = curr->lockdep_depth; in check_prevs_add()
2989 u16 distance = curr->lockdep_depth - depth + 1; in check_prevs_add()
3284 for (i = curr->lockdep_depth - 1; i >= 0; i--) { in get_first_held_lock()
3313 int depth = curr->lockdep_depth; in print_chain_keys_held_locks()
3383 if (DEBUG_LOCKS_WARN_ON(chain->depth != curr->lockdep_depth - (i - 1))) { in check_no_collision()
3462 chain->depth = curr->lockdep_depth + 1 - i; in add_chain_cache()
3643 for (i = 0; i < curr->lockdep_depth; i++) { in check_chain_key()
3652 curr->lockdep_depth, i, in check_chain_key()
3678 curr->lockdep_depth, i, in check_chain_key()
4000 for (i = 0; i < curr->lockdep_depth; i++) { in mark_held_locks()
4347 unsigned int depth = curr->lockdep_depth; in separate_irq_context()
4511 if (!curr->lockdep_depth || !next_inner || next->trylock) in check_wait_context()
4520 for (depth = curr->lockdep_depth - 1; depth >= 0; depth--) { in check_wait_context()
4529 for (; depth < curr->lockdep_depth; depth++) { in check_wait_context()
4731 depth = curr->lockdep_depth; in __lock_acquire()
4836 curr->lockdep_depth++; in __lock_acquire()
4842 if (unlikely(curr->lockdep_depth >= MAX_LOCK_DEPTH)) { in __lock_acquire()
4846 curr->lockdep_depth, MAX_LOCK_DEPTH); in __lock_acquire()
4855 if (unlikely(curr->lockdep_depth > max_lockdep_depth)) in __lock_acquire()
4856 max_lockdep_depth = curr->lockdep_depth; in __lock_acquire()
5006 depth = curr->lockdep_depth; in __lock_set_class()
5026 curr->lockdep_depth = i; in __lock_set_class()
5036 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged)) in __lock_set_class()
5051 depth = curr->lockdep_depth; in __lock_downgrade()
5065 curr->lockdep_depth = i; in __lock_downgrade()
5083 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth)) in __lock_downgrade()
5105 depth = curr->lockdep_depth; in __lock_release()
5148 curr->lockdep_depth = i; in __lock_release()
5166 DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged); in __lock_release()
5182 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_is_held()
5205 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_pin_lock()
5232 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_repin_lock()
5252 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_unpin_lock()
5576 depth = curr->lockdep_depth; in __lock_contended()
5618 depth = curr->lockdep_depth; in __lock_acquired()
6210 for (i = 0; i < curr->lockdep_depth; i++) { in debug_check_no_locks_freed()
6244 if (unlikely(current->lockdep_depth > 0)) in debug_check_no_locks_held()
6262 if (!p->lockdep_depth) in debug_show_all_locks()
6294 if (unlikely(curr->lockdep_depth)) { in lockdep_sys_exit()