Searched refs:debug_locks (Results 1 – 23 of 23) 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()
1389 if (expected == FAILURE && debug_locks) { in dotest()1395 if (debug_locks != expected) { in dotest()1406 lockclass_mask, debug_locks, expected); in dotest()2365 if (!debug_locks) { in locking_selftest()2483 debug_locks = 0; in locking_selftest()2492 debug_locks = 1; in locking_selftest()2498 debug_locks = 1; in locking_selftest()2504 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()
47 obj-y += bcd.o sort.o parser.o debug_locks.o random32.o \
11 extern int debug_locks __read_mostly;17 return xchg(&debug_locks, 0); in __debug_locks_off()
295 #define lockdep_depth(tsk) (debug_locks ? (tsk)->lockdep_depth : 0)298 WARN_ON(debug_locks && !lockdep_is_held(l)); \302 WARN_ON(debug_locks && !lockdep_is_held_type(l, 0)); \306 WARN_ON(debug_locks && !lockdep_is_held_type(l, 1)); \310 WARN_ON_ONCE(debug_locks && !lockdep_is_held(l)); \364 # define lockdep_reset() do { debug_locks = 1; } while (0)564 #define __lockdep_enabled (debug_locks && !this_cpu_read(lockdep_recursion))613 WARN_ONCE(debug_locks && !current->lockdep_recursion && \
283 WARN_ON_ONCE(debug_locks && in inode_to_wb()
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()
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()1211 if (!debug_locks) in is_dynamic_key()3615 if (unlikely(!debug_locks)) in validate_chain()4052 if (unlikely(!debug_locks)) in lockdep_hardirqs_on_prepare()4107 if (unlikely(!debug_locks)) in lockdep_hardirqs_on()4172 if (unlikely(!debug_locks)) in lockdep_hardirqs_off()4616 if (debug_locks) in lockdep_init_map_waits()4623 if (unlikely(!debug_locks)) in lockdep_init_map_waits()[all …]
74 if (likely(debug_locks)) { in debug_mutex_unlock()
348 debug_locks); in lockdep_stats_show()545 if (unlikely(!debug_locks)) in seq_header()
11 extern bool debug_locks;
12 bool debug_locks = true; variable
278 return rcu_scheduler_active != RCU_SCHEDULER_INACTIVE && debug_locks && in debug_lockdep_rcu_enabled()
65 WARN_ON(debug_locks && !lock_is_held(&rcu_lock_map)); in i915_gem_object_lookup_rcu()
30 rcu_scheduler_active = 1, debug_locks = 0
866 if (debug_locks && lockdep_is_held(&vma->vm->i915->drm.struct_mutex)) in i915_vma_pin_ww()
1628 WARN_ON_ONCE(!lockdep_sock_is_held(sk) && debug_locks); in sock_owned_by_me()
116 if (debug_locks) in lockdep_ovsl_is_held()
367 return !debug_locks || in xfs_isilocked()
267 if (unlikely(!debug_locks)) in module_assert_mutex_or_preempt()
1984 WARN_ON_ONCE(debug_locks && !(lockdep_is_held(&p->pi_lock) || in set_task_cpu()
622 if (debug_locks) in lockdep_nfnl_nft_mutex_not_held()