/linux-4.4.14/tools/lib/lockdep/uinclude/linux/ |
H A D | debug_locks.h | 9 extern bool debug_locks;
|
/linux-4.4.14/lib/ |
H A D | debug_locks.c | 2 * 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 D | locking-selftest.c | 22 #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 D | Makefile | 25 obj-y += bcd.o div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \
|
H A D | rhashtable.c | 47 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 D | mutex-debug.h | 6 #include <linux/debug_locks.h>
|
H A D | debug_locks.h | 10 extern int debug_locks; 16 return xchg(&debug_locks, 0); __debug_locks_off()
|
H A D | lockdep.h | 23 #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 D | freezer.h | 6 #include <linux/debug_locks.h>
|
H A D | backing-dev.h | 357 WARN_ON_ONCE(debug_locks && inode_to_wb()
|
H A D | mm.h | 15 #include <linux/debug_locks.h>
|
/linux-4.4.14/tools/lib/lockdep/ |
H A D | common.c | 11 bool debug_locks = true; variable
|
/linux-4.4.14/kernel/locking/ |
H A D | rtmutex-debug.c | 29 #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 D | mutex-debug.c | 23 #include <linux/debug_locks.h> 74 if (likely(debug_locks)) { debug_mutex_unlock()
|
H A D | lockdep_proc.c | 18 #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 D | lockdep.c | 39 #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 D | spinlock.c | 21 #include <linux/debug_locks.h>
|
H A D | spinlock_debug.c | 12 #include <linux/debug_locks.h>
|
H A D | qspinlock_paravirt.h | 7 #include <linux/debug_locks.h>
|
H A D | mutex.c | 27 #include <linux/debug_locks.h>
|
/linux-4.4.14/arch/microblaze/kernel/ |
H A D | traps.c | 15 #include <linux/debug_locks.h>
|
/linux-4.4.14/arch/sh/kernel/ |
H A D | dumpstack.c | 13 #include <linux/debug_locks.h>
|
H A D | traps_32.c | 22 #include <linux/debug_locks.h>
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | machine_kexec.c | 15 #include <linux/debug_locks.h>
|
H A D | ipl.c | 19 #include <linux/debug_locks.h>
|
/linux-4.4.14/kernel/ |
H A D | panic.c | 11 #include <linux/debug_locks.h>
|
H A D | module.c | 287 if (unlikely(!debug_locks)) module_assert_mutex_or_preempt()
|
H A D | workqueue.c | 42 #include <linux/debug_locks.h>
|
/linux-4.4.14/kernel/rcu/ |
H A D | update.c | 107 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 D | main.c | 55 #include <linux/debug_locks.h>
|
/linux-4.4.14/net/openvswitch/ |
H A D | datapath.c | 129 if (debug_locks) lockdep_ovsl_is_held()
|
/linux-4.4.14/kernel/sched/ |
H A D | core.c | 40 #include <linux/debug_locks.h> 1288 WARN_ON_ONCE(debug_locks && !(lockdep_is_held(&p->pi_lock) || set_task_cpu()
|