Searched refs:debug_locks (Results 1 - 32 of 32) sorted by relevance

/linux-4.4.14/tools/lib/lockdep/uinclude/linux/
H A Ddebug_locks.h9 extern bool debug_locks;
/linux-4.4.14/lib/
H A Ddebug_locks.c2 * lib/debug_locks.c
15 #include <linux/debug_locks.h>
24 int debug_locks = 1; variable
25 EXPORT_SYMBOL_GPL(debug_locks); variable
H A Dlocking-selftest.c22 #include <linux/debug_locks.h>
981 if (expected == FAILURE && debug_locks) { dotest()
987 if (debug_locks != expected) { dotest()
999 printk(" lockclass mask: %x, debug_locks: %d, expected: %d\n", dotest()
1000 lockclass_mask, debug_locks, expected); dotest()
1800 if (!debug_locks) { locking_selftest()
1878 debug_locks = 0; locking_selftest()
1887 debug_locks = 1; locking_selftest()
1893 debug_locks = 1; locking_selftest()
1899 debug_locks = 1; locking_selftest()
H A DMakefile25 obj-y += bcd.o div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \
H A Drhashtable.c47 return (debug_locks) ? lockdep_is_held(&ht->mutex) : 1; lockdep_rht_mutex_is_held()
55 return (debug_locks) ? lockdep_is_held(lock) : 1; lockdep_rht_bucket_is_held()
/linux-4.4.14/include/linux/
H A Dmutex-debug.h6 #include <linux/debug_locks.h>
H A Ddebug_locks.h10 extern int debug_locks;
16 return xchg(&debug_locks, 0); __debug_locks_off()
H A Dlockdep.h23 #include <linux/debug_locks.h>
363 #define lockdep_depth(tsk) (debug_locks ? (tsk)->lockdep_depth : 0)
366 WARN_ON(debug_locks && !lockdep_is_held(l)); \
370 WARN_ON_ONCE(debug_locks && !lockdep_is_held(l)); \
415 # define lockdep_reset() do { debug_locks = 1; } while (0)
H A Dfreezer.h6 #include <linux/debug_locks.h>
H A Dbacking-dev.h357 WARN_ON_ONCE(debug_locks && inode_to_wb()
H A Dmm.h15 #include <linux/debug_locks.h>
/linux-4.4.14/tools/lib/lockdep/
H A Dcommon.c11 bool debug_locks = true; variable
/linux-4.4.14/kernel/locking/
H A Drtmutex-debug.c29 #include <linux/debug_locks.h>
75 if (!debug_locks || chwalk == RT_MUTEX_FULL_CHAINWALK || !act_waiter) debug_rt_mutex_deadlock()
89 if (!waiter->deadlock_lock || !debug_locks) debug_rt_mutex_print_deadlock()
H A Dmutex-debug.c23 #include <linux/debug_locks.h>
74 if (likely(debug_locks)) { debug_mutex_unlock()
H A Dlockdep_proc.c18 #include <linux/debug_locks.h>
345 seq_printf(m, " debug_locks: %11u\n", lockdep_stats_show()
346 debug_locks); lockdep_stats_show()
543 if (unlikely(!debug_locks)) seq_header()
H A Dlockdep.c39 #include <linux/debug_locks.h>
89 if (!debug_locks) { graph_lock()
100 if (debug_locks && !arch_spin_is_locked(&lockdep_lock)) { graph_unlock()
2149 if (unlikely(!debug_locks)) validate_chain()
2577 if (unlikely(!debug_locks || current->lockdep_recursion)) trace_hardirqs_on_caller()
2632 if (unlikely(!debug_locks || current->lockdep_recursion)) trace_hardirqs_off_caller()
2668 if (unlikely(!debug_locks || current->lockdep_recursion)) trace_softirqs_on()
2708 if (unlikely(!debug_locks || current->lockdep_recursion)) trace_softirqs_off()
2737 if (unlikely(!debug_locks)) __lockdep_trace_alloc()
3007 if (unlikely(!debug_locks)) lockdep_init_map()
3081 if (unlikely(!debug_locks)) __lock_acquire()
3213 if (unlikely(!debug_locks)) __lock_acquire()
3374 if (unlikely(!debug_locks)) __lock_release()
3470 if (unlikely(!debug_locks)) __lock_pin_lock()
3490 if (unlikely(!debug_locks)) __lock_unpin_lock()
3515 if (!debug_locks) check_flags()
3543 if (!debug_locks) check_flags()
3876 debug_locks = 1; lockdep_reset()
4116 if (unlikely(!debug_locks)) debug_check_no_locks_freed()
4166 if (unlikely(!debug_locks)) { debug_show_all_locks()
4225 if (unlikely(!debug_locks)) { debug_show_held_locks()
4267 printk("\n%srcu_scheduler_active = %d, debug_locks = %d\n", lockdep_rcu_suspicious()
4273 rcu_scheduler_active, debug_locks); lockdep_rcu_suspicious()
H A Dspinlock.c21 #include <linux/debug_locks.h>
H A Dspinlock_debug.c12 #include <linux/debug_locks.h>
H A Dqspinlock_paravirt.h7 #include <linux/debug_locks.h>
H A Dmutex.c27 #include <linux/debug_locks.h>
/linux-4.4.14/arch/microblaze/kernel/
H A Dtraps.c15 #include <linux/debug_locks.h>
/linux-4.4.14/arch/sh/kernel/
H A Ddumpstack.c13 #include <linux/debug_locks.h>
H A Dtraps_32.c22 #include <linux/debug_locks.h>
/linux-4.4.14/arch/s390/kernel/
H A Dmachine_kexec.c15 #include <linux/debug_locks.h>
H A Dipl.c19 #include <linux/debug_locks.h>
/linux-4.4.14/kernel/
H A Dpanic.c11 #include <linux/debug_locks.h>
H A Dmodule.c287 if (unlikely(!debug_locks)) module_assert_mutex_or_preempt()
H A Dworkqueue.c42 #include <linux/debug_locks.h>
/linux-4.4.14/kernel/rcu/
H A Dupdate.c107 if (debug_locks) rcu_read_lock_sched_held()
242 return rcu_scheduler_active && debug_locks && debug_lockdep_rcu_enabled()
/linux-4.4.14/init/
H A Dmain.c55 #include <linux/debug_locks.h>
/linux-4.4.14/net/openvswitch/
H A Ddatapath.c129 if (debug_locks) lockdep_ovsl_is_held()
/linux-4.4.14/kernel/sched/
H A Dcore.c40 #include <linux/debug_locks.h>
1288 WARN_ON_ONCE(debug_locks && !(lockdep_is_held(&p->pi_lock) || set_task_cpu()

Completed in 681 milliseconds