Home
last modified time | relevance | path

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

/linux/kernel/locking/
H A Dlockdep.c458 task->lockdep_depth = 0; /* no locks held yet */ in lockdep_init_task()
788 int i, depth = READ_ONCE(p->lockdep_depth); in lockdep_print_held_locks()
3064 for (i = 0; i < curr->lockdep_depth; i++) { in check_deadlock()
3261 int depth = curr->lockdep_depth; in check_prevs_add()
3280 u16 distance = curr->lockdep_depth - depth + 1; in check_prevs_add()
3576 for (i = curr->lockdep_depth - 1; i >= 0; i--) { in get_first_held_lock()
3605 int depth = curr->lockdep_depth; in print_chain_keys_held_locks()
3679 if (DEBUG_LOCKS_WARN_ON(chain->depth != curr->lockdep_depth - (i - 1))) { in check_no_collision()
3760 chain->depth = curr->lockdep_depth + 1 - i; in add_chain_cache()
3943 for (i = 0; i < curr->lockdep_depth; i++) { in check_chain_key()
[all …]
/linux/include/linux/
H A Dlockdep.h276 #define lockdep_depth(tsk) (debug_locks ? (tsk)->lockdep_depth : 0) macro
300 lockdep_assert_once(!current->lockdep_depth)
379 #define lockdep_depth(tsk) (0) macro
H A Dsched.h1272 int lockdep_depth; member
/linux/kernel/
H A Dfreezer.c139 WARN_ON_ONCE(debug_locks && p->lockdep_depth); in __set_task_frozen()
H A Dworkqueue.c3235 lockdep_start_depth = lockdep_depth(current); in process_one_work()
3275 lockdep_depth(current) != lockdep_start_depth || in process_one_work()
3280 lockdep_start_depth, lockdep_depth(current), in process_one_work()
/linux/init/
H A Dinit_task.c206 .lockdep_depth = 0, /* no locks held yet */
/linux/net/core/
H A Ddev.c12203 if (lockdep_depth(current) > limit) in netif_close_many_and_unlock_cond()