Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/lib/
H A Ddebug_locks.c3 * lib/debug_locks.c
16 #include <linux/debug_locks.h>
25 int debug_locks __read_mostly = 1;
26 EXPORT_SYMBOL_GPL(debug_locks); variable
41 if (debug_locks && __debug_locks_off()) { in debug_locks_off()
H A Dlocking-selftest.c23 #include <linux/debug_locks.h>
1390 if (expected == FAILURE && debug_locks) { in dotest()
1396 if (debug_locks != expected) { in dotest()
1406 pr_cont(" lockclass mask: %x, debug_locks: %d, expected: %d\n", in dotest()
1407 lockclass_mask, debug_locks, expected); in dotest()
2366 if (!debug_locks) { in locking_selftest()
2484 debug_locks = 0; in locking_selftest()
2493 debug_locks = 1; in locking_selftest()
2499 debug_locks = 1; in locking_selftest()
2505 debug_locks in locking_selftest()
[all...]
/kernel/linux/linux-6.6/lib/
H A Ddebug_locks.c3 * lib/debug_locks.c
16 #include <linux/debug_locks.h>
25 int debug_locks __read_mostly = 1;
26 EXPORT_SYMBOL_GPL(debug_locks); variable
41 if (debug_locks && __debug_locks_off()) { in debug_locks_off()
H A Dlocking-selftest.c24 #include <linux/debug_locks.h>
1449 if (expected == FAILURE && debug_locks) { in dotest()
1455 if (debug_locks != expected) { in dotest()
1465 pr_cont(" lockclass mask: %x, debug_locks: %d, expected: %d\n", in dotest()
1466 lockclass_mask, debug_locks, expected); in dotest()
2797 if (!debug_locks) { in locking_selftest()
2925 debug_locks = 0; in locking_selftest()
2934 debug_locks = 1; in locking_selftest()
2940 debug_locks = 1; in locking_selftest()
2946 debug_locks in locking_selftest()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dlockdep.h27 #include <linux/debug_locks.h>
306 #define lockdep_depth(tsk) (debug_locks ? (tsk)->lockdep_depth : 0)
309 WARN_ON(debug_locks && !lockdep_is_held(l)); \
313 WARN_ON(debug_locks && !lockdep_is_held_type(l, 0)); \
317 WARN_ON(debug_locks && !lockdep_is_held_type(l, 1)); \
321 WARN_ON_ONCE(debug_locks && !lockdep_is_held(l)); \
377 # define lockdep_reset() do { debug_locks = 1; } while (0)
577 #define __lockdep_enabled (debug_locks && !this_cpu_read(lockdep_recursion))
626 WARN_ONCE(debug_locks && !current->lockdep_recursion && \
H A Ddebug_locks.h11 extern int debug_locks __read_mostly;
17 return xchg(&debug_locks, 0); in __debug_locks_off()
H A Dmutex.h21 #include <linux/debug_locks.h>
H A Dfreezer.h7 #include <linux/debug_locks.h>
/kernel/linux/linux-6.6/include/linux/
H A Ddebug_locks.h10 extern int debug_locks __read_mostly;
16 return xchg(&debug_locks, 0); in __debug_locks_off()
H A Dlockdep.h23 #include <linux/debug_locks.h>
315 #define lockdep_depth(tsk) (debug_locks ? (tsk)->lockdep_depth : 0)
318 do { WARN_ON(debug_locks && !(cond)); } while (0)
321 do { WARN_ON_ONCE(debug_locks && !(cond)); } while (0)
405 # define lockdep_reset() do { debug_locks = 1; } while (0)
611 #define __lockdep_enabled (debug_locks && !this_cpu_read(lockdep_recursion))
678 WARN_ONCE(debug_locks && !current->lockdep_recursion && \
H A Dfreezer.h7 #include <linux/debug_locks.h>
/kernel/linux/linux-5.10/kernel/locking/
H A Drtmutex-debug.c31 #include <linux/debug_locks.h>
77 if (!debug_locks || chwalk == RT_MUTEX_FULL_CHAINWALK || !act_waiter) in debug_rt_mutex_deadlock()
91 if (!waiter->deadlock_lock || !debug_locks) in debug_rt_mutex_print_deadlock()
H A Dmutex-debug.c23 #include <linux/debug_locks.h>
74 if (likely(debug_locks)) { in debug_mutex_unlock()
H A Dlockdep.c43 #include <linux/debug_locks.h>
84 if (!debug_locks) in lockdep_enabled()
120 if (debug_locks && DEBUG_LOCKS_WARN_ON(__owner != current)) in lockdep_unlock()
145 if (!debug_locks) { in graph_lock()
1212 if (!debug_locks) in is_dynamic_key()
3736 if (unlikely(!debug_locks)) in validate_chain()
4174 if (unlikely(!debug_locks)) in lockdep_hardirqs_on_prepare()
4229 if (unlikely(!debug_locks)) in lockdep_hardirqs_on()
4294 if (unlikely(!debug_locks)) in lockdep_hardirqs_off()
4739 if (debug_locks) in lockdep_init_map_type()
[all...]
H A Dlockdep_proc.c19 #include <linux/debug_locks.h>
374 seq_printf(m, " debug_locks: %11u\n", in lockdep_stats_show()
375 debug_locks); in lockdep_stats_show()
572 if (unlikely(!debug_locks)) in seq_header()
/kernel/linux/linux-6.6/kernel/locking/
H A Dmutex-debug.c21 #include <linux/debug_locks.h>
73 if (likely(debug_locks)) { in debug_mutex_unlock()
H A Dlockdep.c43 #include <linux/debug_locks.h>
116 if (!debug_locks) in lockdep_enabled()
152 if (debug_locks && DEBUG_LOCKS_WARN_ON(__owner != current)) in lockdep_unlock()
177 if (!debug_locks) { in graph_lock()
1252 if (!debug_locks) in is_dynamic_key()
3876 if (unlikely(!debug_locks)) in validate_chain()
4313 if (unlikely(!debug_locks)) in lockdep_hardirqs_on_prepare()
4368 if (unlikely(!debug_locks)) in lockdep_hardirqs_on()
4433 if (unlikely(!debug_locks)) in lockdep_hardirqs_off()
4893 if (debug_locks) in lockdep_init_map_type()
[all...]
H A Dlockdep_proc.c19 #include <linux/debug_locks.h>
376 seq_printf(m, " debug_locks: %11u\n", in lockdep_stats_show()
377 debug_locks); in lockdep_stats_show()
574 if (unlikely(!debug_locks)) in seq_header()
/kernel/linux/linux-5.10/tools/include/linux/
H A Ddebug_locks.h11 extern bool debug_locks;
/kernel/linux/linux-5.10/tools/lib/lockdep/
H A Dcommon.c12 bool debug_locks = true; variable
/kernel/linux/linux-5.10/arch/microblaze/kernel/
H A Dtraps.c16 #include <linux/debug_locks.h>
/kernel/linux/linux-6.6/arch/microblaze/kernel/
H A Dtraps.c16 #include <linux/debug_locks.h>
/kernel/linux/linux-5.10/arch/sh/kernel/
H A Ddumpstack.c10 #include <linux/debug_locks.h>
/kernel/linux/linux-6.6/arch/sh/kernel/
H A Ddumpstack.c10 #include <linux/debug_locks.h>
/kernel/linux/linux-6.6/kernel/
H A Dfreezer.c129 WARN_ON_ONCE(debug_locks && p->lockdep_depth); in __set_task_frozen()

Completed in 27 milliseconds

1234