Searched refs:debug_locks (Results 1 – 17 of 17) sorted by relevance
25 int debug_locks __read_mostly = 1;26 EXPORT_SYMBOL_GPL(debug_locks);41 if (debug_locks && __debug_locks_off()) { in debug_locks_off()
1449 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()
49 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()
53 obj-y += bcd.o sort.o parser.o debug_locks.o random32.o \
10 extern int debug_locks __read_mostly;16 return xchg(&debug_locks, 0); in __debug_locks_off()
239 WARN_ON_ONCE(debug_locks && in inode_to_wb()
118 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 …]
75 if (likely(debug_locks)) { in debug_mutex_unlock()
379 debug_locks); in lockdep_stats_show()576 if (unlikely(!debug_locks)) in seq_header()
139 WARN_ON_ONCE(debug_locks && p->lockdep_depth); in __set_task_frozen()
320 return rcu_scheduler_active != RCU_SCHEDULER_INACTIVE && READ_ONCE(debug_locks) && in debug_lockdep_rcu_enabled()
30 rcu_scheduler_active = 1, debug_locks = 0
1106 if (debug_locks) in netlbl_sk_lock_check()
1766 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()
119 if (debug_locks) in lockdep_ovsl_is_held()
3316 WARN_ON_ONCE(debug_locks && !(lockdep_is_held(&p->pi_lock) || in set_task_cpu()
1099 if (debug_locks) in lockdep_nfnl_nft_mutex_not_held()