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

/linux-4.1.27/tools/lib/lockdep/uinclude/linux/
H A Dlockdep.h20 int lockdep_depth; member in struct:task_struct
/linux-4.1.27/kernel/locking/
H A Dlockdep.c575 int i, depth = curr->lockdep_depth; lockdep_print_held_locks()
1773 for (i = 0; i < curr->lockdep_depth; i++) { check_deadlock()
1931 int depth = curr->lockdep_depth; check_prevs_add()
1951 int distance = curr->lockdep_depth - depth + 1; check_prevs_add()
2078 for (i = curr->lockdep_depth - 1; i >= 0; i--) {
2084 chain->depth = curr->lockdep_depth + 1 - i;
2174 for (i = 0; i < curr->lockdep_depth; i++) { check_chain_key()
2183 curr->lockdep_depth, i, check_chain_key()
2208 curr->lockdep_depth, i, check_chain_key()
2524 for (i = 0; i < curr->lockdep_depth; i++) { mark_held_locks()
2845 unsigned int depth = curr->lockdep_depth; separate_irq_context()
3119 depth = curr->lockdep_depth; __lock_acquire()
3209 curr->lockdep_depth++; __lock_acquire()
3215 if (unlikely(curr->lockdep_depth >= MAX_LOCK_DEPTH)) { __lock_acquire()
3219 curr->lockdep_depth, MAX_LOCK_DEPTH); __lock_acquire()
3228 if (unlikely(curr->lockdep_depth > max_lockdep_depth)) __lock_acquire()
3229 max_lockdep_depth = curr->lockdep_depth; __lock_acquire()
3277 if (curr->lockdep_depth <= 0) check_unlock()
3329 depth = curr->lockdep_depth; __lock_set_class()
3356 curr->lockdep_depth = i; __lock_set_class()
3373 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth)) __lock_set_class()
3396 depth = curr->lockdep_depth; lock_release_non_nested()
3440 curr->lockdep_depth = i; lock_release_non_nested()
3457 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - 1)) lock_release_non_nested()
3477 depth = curr->lockdep_depth - 1; lock_release_nested()
3485 curr->lockdep_depth--; lock_release_nested()
3536 for (i = 0; i < curr->lockdep_depth; i++) { __lock_is_held()
3717 depth = curr->lockdep_depth; __lock_contended()
3770 depth = curr->lockdep_depth; __lock_acquired()
3873 current->lockdep_depth = 0; lockdep_reset()
4124 for (i = 0; i < curr->lockdep_depth; i++) { debug_check_no_locks_freed()
4158 if (unlikely(current->lockdep_depth > 0)) debug_check_no_locks_held()
4207 if (p->lockdep_depth) do_each_thread()
4241 if (unlikely(curr->lockdep_depth)) { lockdep_sys_exit()
/linux-4.1.27/include/linux/
H A Dlockdep.h359 #define lockdep_depth(tsk) (debug_locks ? (tsk)->lockdep_depth : 0) macro
416 #define lockdep_depth(tsk) (0) macro
H A Dsched.h1545 int lockdep_depth; member in struct:task_struct
/linux-4.1.27/kernel/
H A Dfork.c1400 p->lockdep_depth = 0; /* no locks held yet */ copy_process()
H A Dworkqueue.c2085 if (unlikely(in_atomic() || lockdep_depth(current) > 0)) {

Completed in 306 milliseconds