Home
last modified time | relevance | path

Searched refs:debug_locks (Results 1 – 12 of 12) 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 Drhashtable.c51 return (debug_locks) ? lockdep_is_held(&ht->mutex) : 1; in lockdep_rht_mutex_is_held()
57 if (!debug_locks) in lockdep_rht_bucket_is_held()
/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 Dlockdep.h279 #define lockdep_depth(tsk) (debug_locks ? (tsk)->lockdep_depth : 0)
282 do { WARN_ON(debug_locks && !(cond)); } while (0)
285 do { WARN_ON_ONCE(debug_locks && !(cond)); } while (0)
370 # define lockdep_reset() do { debug_locks = 1; } while (0)
576 #define __lockdep_enabled (debug_locks && !this_cpu_read(lockdep_recursion))
646 WARN_ONCE(debug_locks && !current->lockdep_recursion && \
/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()
1306 if (!debug_locks) in is_dynamic_key()
3959 if (unlikely(!debug_locks)) in validate_chain()
4408 if (unlikely(!debug_locks)) in lockdep_hardirqs_on_prepare()
4463 if (unlikely(!debug_locks)) in lockdep_hardirqs_on()
4528 if (unlikely(!debug_locks)) in lockdep_hardirqs_off()
4649 if (unlikely(!debug_locks)) in lockdep_cleanup_dead_cpu()
5018 if (debug_locks) in lockdep_init_map_type()
[all …]
H A Dlockdep_proc.c379 debug_locks); in lockdep_stats_show()
576 if (unlikely(!debug_locks)) in seq_header()
/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.h1799 WARN_ON_ONCE(!lockdep_sock_is_held(sk) && debug_locks); in sock_owned_by_me()
1806 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.c17 #include <linux/debug_locks.h>
3383 WARN_ON_ONCE(debug_locks && !(lockdep_is_held(&p->pi_lock) || in set_task_cpu()
/linux/net/netfilter/
H A Dnf_tables_api.c1116 if (debug_locks) in lockdep_nfnl_nft_mutex_not_held()