Home
last modified time | relevance | path

Searched refs:debug_locks (Results 1 – 17 of 17) sorted by relevance

/linux-4.1.27/lib/
Ddebug_locks.c24 int debug_locks = 1; variable
25 EXPORT_SYMBOL_GPL(debug_locks);
Dlocking-selftest.c981 if (expected == FAILURE && debug_locks) { in dotest()
987 if (debug_locks != expected) { in dotest()
1000 lockclass_mask, debug_locks, expected); in dotest()
1800 if (!debug_locks) { in locking_selftest()
1878 debug_locks = 0; in locking_selftest()
1887 debug_locks = 1; in locking_selftest()
1893 debug_locks = 1; in locking_selftest()
1899 debug_locks = 1; in locking_selftest()
Drhashtable.c47 return (debug_locks) ? lockdep_is_held(&ht->mutex) : 1; in lockdep_rht_mutex_is_held()
55 return (debug_locks) ? lockdep_is_held(lock) : 1; in lockdep_rht_bucket_is_held()
DMakefile25 obj-y += bcd.o div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \
/linux-4.1.27/include/linux/
Ddebug_locks.h10 extern int debug_locks;
16 return xchg(&debug_locks, 0); in __debug_locks_off()
Dlockdep.h359 #define lockdep_depth(tsk) (debug_locks ? (tsk)->lockdep_depth : 0)
362 WARN_ON(debug_locks && !lockdep_is_held(l)); \
366 WARN_ON_ONCE(debug_locks && !lockdep_is_held(l)); \
408 # define lockdep_reset() do { debug_locks = 1; } while (0)
Drcupdate.h510 if (debug_locks) in rcu_read_lock_sched_held()
/linux-4.1.27/kernel/locking/
Drtmutex-debug.c75 if (!debug_locks || chwalk == RT_MUTEX_FULL_CHAINWALK || !act_waiter) in debug_rt_mutex_deadlock()
89 if (!waiter->deadlock_lock || !debug_locks) in debug_rt_mutex_print_deadlock()
Dlockdep.c89 if (!debug_locks) { in graph_lock()
100 if (debug_locks && !arch_spin_is_locked(&lockdep_lock)) { in graph_unlock()
2149 if (unlikely(!debug_locks)) in validate_chain()
2577 if (unlikely(!debug_locks || current->lockdep_recursion)) in trace_hardirqs_on_caller()
2632 if (unlikely(!debug_locks || current->lockdep_recursion)) in trace_hardirqs_off_caller()
2668 if (unlikely(!debug_locks || current->lockdep_recursion)) in trace_softirqs_on()
2708 if (unlikely(!debug_locks || current->lockdep_recursion)) in trace_softirqs_off()
2737 if (unlikely(!debug_locks)) in __lockdep_trace_alloc()
3007 if (unlikely(!debug_locks)) in lockdep_init_map()
3081 if (unlikely(!debug_locks)) in __lock_acquire()
[all …]
Dmutex-debug.c74 if (likely(debug_locks)) { in debug_mutex_unlock()
Dlockdep_proc.c346 debug_locks); in lockdep_stats_show()
543 if (unlikely(!debug_locks)) in seq_header()
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/
Ddebug_locks.h9 extern bool debug_locks;
/linux-4.1.27/tools/lib/lockdep/
Dcommon.c11 bool debug_locks = true; variable
/linux-4.1.27/Documentation/RCU/
Dlockdep-splat.txt25 rcu_scheduler_active = 1, debug_locks = 0
/linux-4.1.27/kernel/rcu/
Dupdate.c193 return rcu_scheduler_active && debug_locks && in debug_lockdep_rcu_enabled()
/linux-4.1.27/net/openvswitch/
Ddatapath.c130 if (debug_locks) in lockdep_ovsl_is_held()
/linux-4.1.27/kernel/sched/
Dcore.c1041 WARN_ON_ONCE(debug_locks && !(lockdep_is_held(&p->pi_lock) || in set_task_cpu()