Home
last modified time | relevance | path

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

/linux/lib/
H A Ddebug_locks.c25 int debug_locks __read_mostly = 1;
26 EXPORT_SYMBOL_GPL(debug_locks);
41 if (debug_locks && __debug_locks_off()) { in debug_locks_off()
H A Dlocking-selftest.c1449 if (expected == FAILURE && debug_locks) { in dotest()
1455 if (debug_locks != expected) { in dotest()
1466 lockclass_mask, debug_locks, expected); in dotest()
2834 if (!debug_locks) { in locking_selftest()
2964 debug_locks = 0; in locking_selftest()
2973 debug_locks = 1; in locking_selftest()
2979 debug_locks = 1; in locking_selftest()
2985 debug_locks = 1; in locking_selftest()
H A Drhashtable.c49 return (debug_locks) ? lockdep_is_held(&ht->mutex) : 1; in lockdep_rht_mutex_is_held()
55 if (!debug_locks) in lockdep_rht_bucket_is_held()
H A DMakefile53 obj-y += bcd.o sort.o parser.o debug_locks.o random32.o \
/linux/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 Dbacking-dev.h239 WARN_ON_ONCE(debug_locks && in inode_to_wb()
/linux/kernel/locking/
H A Dlockdep.c118 if (!debug_locks) in lockdep_enabled()
154 if (debug_locks && DEBUG_LOCKS_WARN_ON(__owner != current)) in lockdep_unlock()
182 if (!debug_locks) { in graph_lock()
1262 if (!debug_locks) in is_dynamic_key()
3915 if (unlikely(!debug_locks)) in validate_chain()
4364 if (unlikely(!debug_locks)) in lockdep_hardirqs_on_prepare()
4419 if (unlikely(!debug_locks)) in lockdep_hardirqs_on()
4484 if (unlikely(!debug_locks)) in lockdep_hardirqs_off()
4605 if (unlikely(!debug_locks)) in lockdep_cleanup_dead_cpu()
4974 if (debug_locks) in lockdep_init_map_type()
[all …]
H A Dmutex-debug.c75 if (likely(debug_locks)) { in debug_mutex_unlock()
H A Dlockdep_proc.c379 debug_locks); in lockdep_stats_show()
576 if (unlikely(!debug_locks)) in seq_header()
/linux/kernel/
H A Dfreezer.c139 WARN_ON_ONCE(debug_locks && p->lockdep_depth); in __set_task_frozen()
/linux/kernel/rcu/
H A Dupdate.c320 return rcu_scheduler_active != RCU_SCHEDULER_INACTIVE && READ_ONCE(debug_locks) && in debug_lockdep_rcu_enabled()
/linux/Documentation/RCU/
H A Dlockdep-splat.rst30 rcu_scheduler_active = 1, debug_locks = 0
/linux/net/netlabel/
H A Dnetlabel_kapi.c1106 if (debug_locks) in netlbl_sk_lock_check()
/linux/include/net/
H A Dsock.h1766 WARN_ON_ONCE(!lockdep_sock_is_held(sk) && debug_locks); in sock_owned_by_me()
1773 WARN_ON_ONCE(lockdep_sock_is_held(sk) && debug_locks); in sock_not_owned_by_me()
/linux/net/openvswitch/
H A Ddatapath.c119 if (debug_locks) in lockdep_ovsl_is_held()
/linux/kernel/sched/
H A Dcore.c3316 WARN_ON_ONCE(debug_locks && !(lockdep_is_held(&p->pi_lock) || in set_task_cpu()
/linux/net/netfilter/
H A Dnf_tables_api.c1099 if (debug_locks) in lockdep_nfnl_nft_mutex_not_held()