Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/locking/
Dlockdep.c454 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()
3008 for (i = 0; i < curr->lockdep_depth; i++) { in check_deadlock()
3191 int depth = curr->lockdep_depth; in check_prevs_add()
3210 u16 distance = curr->lockdep_depth - depth + 1; in check_prevs_add()
3505 for (i = curr->lockdep_depth - 1; i >= 0; i--) { in get_first_held_lock()
3534 int depth = curr->lockdep_depth; in print_chain_keys_held_locks()
3604 if (DEBUG_LOCKS_WARN_ON(chain->depth != curr->lockdep_depth - (i - 1))) { in check_no_collision()
3683 chain->depth = curr->lockdep_depth + 1 - i; in add_chain_cache()
3864 for (i = 0; i < curr->lockdep_depth; i++) { in check_chain_key()
[all …]
/linux-5.19.10/include/linux/
Dlockdep.h310 #define lockdep_depth(tsk) (debug_locks ? (tsk)->lockdep_depth : 0) macro
334 lockdep_assert_once(!current->lockdep_depth)
402 #define lockdep_depth(tsk) (0) macro
Dsched.h1155 int lockdep_depth; member
/linux-5.19.10/init/
Dinit_task.c192 .lockdep_depth = 0, /* no locks held yet */
/linux-5.19.10/kernel/
Dworkqueue.c2298 if (unlikely(in_atomic() || lockdep_depth(current) > 0)) { in process_one_work()