Home
last modified time | relevance | path

Searched refs:lockdep_depth (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/kernel/locking/
Dlockdep.c375 task->lockdep_depth = 0; /* no locks held yet */ in lockdep_init_task()
698 int i, depth = READ_ONCE(p->lockdep_depth); in lockdep_print_held_locks()
2389 for (i = 0; i < curr->lockdep_depth; i++) { in check_deadlock()
2554 int depth = curr->lockdep_depth; in check_prevs_add()
2573 int distance = curr->lockdep_depth - depth + 1; in check_prevs_add()
2643 for (i = curr->lockdep_depth - 1; i >= 0; i--) { in get_first_held_lock()
2672 int depth = curr->lockdep_depth; in print_chain_keys_held_locks()
2742 if (DEBUG_LOCKS_WARN_ON(chain->depth != curr->lockdep_depth - (i - 1))) { in check_no_collision()
2822 chain->depth = curr->lockdep_depth + 1 - i; in add_chain_cache()
3004 for (i = 0; i < curr->lockdep_depth; i++) { in check_chain_key()
[all …]
/Linux-v5.4/tools/include/linux/
Dlockdep.h28 int lockdep_depth; member
/Linux-v5.4/include/linux/
Dlockdep.h388 #define lockdep_depth(tsk) (debug_locks ? (tsk)->lockdep_depth : 0) macro
474 #define lockdep_depth(tsk) (0) macro
Dsched.h985 int lockdep_depth; member
/Linux-v5.4/init/
Dinit_task.c168 .lockdep_depth = 0, /* no locks held yet */
/Linux-v5.4/kernel/
Dworkqueue.c2278 if (unlikely(in_atomic() || lockdep_depth(current) > 0)) { in process_one_work()