Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/locking/
Dlockdep.c455 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()
[all …]
/linux-6.6.21/include/linux/
Dlockdep.h315 #define lockdep_depth(tsk) (debug_locks ? (tsk)->lockdep_depth : 0) macro
339 lockdep_assert_once(!current->lockdep_depth)
417 #define lockdep_depth(tsk) (0) macro
Dsched.h1172 int lockdep_depth; member
/linux-6.6.21/kernel/
Dfreezer.c129 WARN_ON_ONCE(debug_locks && p->lockdep_depth); in __set_task_frozen()
Dworkqueue.c2637 if (unlikely(in_atomic() || lockdep_depth(current) > 0)) { in process_one_work()
/linux-6.6.21/init/
Dinit_task.c193 .lockdep_depth = 0, /* no locks held yet */