Searched refs:debug_locks (Results 1 – 22 of 22) 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()
1412 if (expected == FAILURE && debug_locks) { in dotest()1418 if (debug_locks != expected) { in dotest()1429 lockclass_mask, debug_locks, expected); in dotest()2797 if (!debug_locks) { in locking_selftest()2926 debug_locks = 0; in locking_selftest()2935 debug_locks = 1; in locking_selftest()2941 debug_locks = 1; in locking_selftest()2947 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()
45 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()
307 #define lockdep_depth(tsk) (debug_locks ? (tsk)->lockdep_depth : 0)310 do { WARN_ON(debug_locks && !(cond)); } while (0)313 do { WARN_ON_ONCE(debug_locks && !(cond)); } while (0)386 # define lockdep_reset() do { debug_locks = 1; } while (0)597 #define __lockdep_enabled (debug_locks && !this_cpu_read(lockdep_recursion))657 WARN_ONCE(debug_locks && !current->lockdep_recursion && \
283 WARN_ON_ONCE(debug_locks && in inode_to_wb()
11 extern bool debug_locks;
12 bool debug_locks = true; variable
85 if (!debug_locks) in lockdep_enabled()121 if (debug_locks && DEBUG_LOCKS_WARN_ON(__owner != current)) in lockdep_unlock()146 if (!debug_locks) { in graph_lock()1215 if (!debug_locks) in is_dynamic_key()3796 if (unlikely(!debug_locks)) in validate_chain()4234 if (unlikely(!debug_locks)) in lockdep_hardirqs_on_prepare()4289 if (unlikely(!debug_locks)) in lockdep_hardirqs_on()4354 if (unlikely(!debug_locks)) in lockdep_hardirqs_off()4799 if (debug_locks) in lockdep_init_map_type()4806 if (unlikely(!debug_locks)) in lockdep_init_map_type()[all …]
73 if (likely(debug_locks)) { in debug_mutex_unlock()
350 debug_locks); in lockdep_stats_show()547 if (unlikely(!debug_locks)) in seq_header()
280 return rcu_scheduler_active != RCU_SCHEDULER_INACTIVE && READ_ONCE(debug_locks) && in debug_lockdep_rcu_enabled()
30 rcu_scheduler_active = 1, debug_locks = 0
110 WARN_ON(debug_locks && !lock_is_held(&rcu_lock_map)); in i915_gem_object_lookup_rcu()
878 if (debug_locks && !WARN_ON(!ww) && vma->resv) in i915_vma_pin_ww()
1697 WARN_ON_ONCE(!lockdep_sock_is_held(sk) && debug_locks); in sock_owned_by_me()
117 if (debug_locks) in lockdep_ovsl_is_held()
354 if (!debug_locks) in __xfs_rwsem_islocked()
262 if (unlikely(!debug_locks)) in module_assert_mutex_or_preempt()
3020 WARN_ON_ONCE(debug_locks && !(lockdep_is_held(&p->pi_lock) || in set_task_cpu()
688 if (debug_locks) in lockdep_nfnl_nft_mutex_not_held()