Lines Matching refs:lockdep_depth

454 	task->lockdep_depth = 0; /* no locks held yet */  in lockdep_init_task()
780 int i, depth = READ_ONCE(p->lockdep_depth); in lockdep_print_held_locks()
3010 for (i = 0; i < curr->lockdep_depth; i++) { in check_deadlock()
3193 int depth = curr->lockdep_depth; in check_prevs_add()
3212 u16 distance = curr->lockdep_depth - depth + 1; in check_prevs_add()
3507 for (i = curr->lockdep_depth - 1; i >= 0; i--) { in get_first_held_lock()
3536 int depth = curr->lockdep_depth; in print_chain_keys_held_locks()
3606 if (DEBUG_LOCKS_WARN_ON(chain->depth != curr->lockdep_depth - (i - 1))) { in check_no_collision()
3685 chain->depth = curr->lockdep_depth + 1 - i; in add_chain_cache()
3866 for (i = 0; i < curr->lockdep_depth; i++) { in check_chain_key()
3875 curr->lockdep_depth, i, in check_chain_key()
3901 curr->lockdep_depth, i, in check_chain_key()
4224 for (i = 0; i < curr->lockdep_depth; i++) { in mark_held_locks()
4570 unsigned int depth = curr->lockdep_depth; in separate_irq_context()
4743 for (depth = curr->lockdep_depth - 1; depth >= 0; depth--) { in check_wait_context()
4752 for (; depth < curr->lockdep_depth; depth++) { in check_wait_context()
4954 depth = curr->lockdep_depth; in __lock_acquire()
5059 curr->lockdep_depth++; in __lock_acquire()
5065 if (unlikely(curr->lockdep_depth >= MAX_LOCK_DEPTH)) { in __lock_acquire()
5069 curr->lockdep_depth, MAX_LOCK_DEPTH); in __lock_acquire()
5078 if (unlikely(curr->lockdep_depth > max_lockdep_depth)) in __lock_acquire()
5079 max_lockdep_depth = curr->lockdep_depth; in __lock_acquire()
5229 depth = curr->lockdep_depth; in __lock_set_class()
5250 curr->lockdep_depth = i; in __lock_set_class()
5260 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged)) in __lock_set_class()
5275 depth = curr->lockdep_depth; in __lock_downgrade()
5289 curr->lockdep_depth = i; in __lock_downgrade()
5307 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth)) in __lock_downgrade()
5329 depth = curr->lockdep_depth; in __lock_release()
5372 curr->lockdep_depth = i; in __lock_release()
5390 DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - merged); in __lock_release()
5406 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_is_held()
5429 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_pin_lock()
5456 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_repin_lock()
5476 for (i = 0; i < curr->lockdep_depth; i++) { in __lock_unpin_lock()
5811 depth = curr->lockdep_depth; in __lock_contended()
5853 depth = curr->lockdep_depth; in __lock_acquired()
6450 for (i = 0; i < curr->lockdep_depth; i++) { in debug_check_no_locks_freed()
6484 if (unlikely(current->lockdep_depth > 0)) in debug_check_no_locks_held()
6502 if (!p->lockdep_depth) in debug_show_all_locks()
6534 if (unlikely(curr->lockdep_depth)) { in lockdep_sys_exit()