Home
last modified time | relevance | path

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

/Linux-v5.10/lib/
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()
Dlocking-selftest.c1389 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()
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()
DMakefile47 obj-y += bcd.o sort.o parser.o debug_locks.o random32.o \
/Linux-v5.10/include/linux/
Ddebug_locks.h11 extern int debug_locks __read_mostly;
17 return xchg(&debug_locks, 0); in __debug_locks_off()
Dlockdep.h295 #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 && \
Dbacking-dev.h283 WARN_ON_ONCE(debug_locks && in inode_to_wb()
/Linux-v5.10/kernel/locking/
Drtmutex-debug.c77 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()
Dlockdep.c84 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 …]
Dmutex-debug.c74 if (likely(debug_locks)) { in debug_mutex_unlock()
Dlockdep_proc.c348 debug_locks); in lockdep_stats_show()
545 if (unlikely(!debug_locks)) in seq_header()
/Linux-v5.10/tools/include/linux/
Ddebug_locks.h11 extern bool debug_locks;
/Linux-v5.10/tools/lib/lockdep/
Dcommon.c12 bool debug_locks = true; variable
/Linux-v5.10/kernel/rcu/
Dupdate.c278 return rcu_scheduler_active != RCU_SCHEDULER_INACTIVE && debug_locks && in debug_lockdep_rcu_enabled()
/Linux-v5.10/drivers/gpu/drm/i915/gem/
Di915_gem_object.h65 WARN_ON(debug_locks && !lock_is_held(&rcu_lock_map)); in i915_gem_object_lookup_rcu()
/Linux-v5.10/Documentation/RCU/
Dlockdep-splat.rst30 rcu_scheduler_active = 1, debug_locks = 0
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_vma.c866 if (debug_locks && lockdep_is_held(&vma->vm->i915->drm.struct_mutex)) in i915_vma_pin_ww()
/Linux-v5.10/include/net/
Dsock.h1628 WARN_ON_ONCE(!lockdep_sock_is_held(sk) && debug_locks); in sock_owned_by_me()
/Linux-v5.10/net/openvswitch/
Ddatapath.c116 if (debug_locks) in lockdep_ovsl_is_held()
/Linux-v5.10/fs/xfs/
Dxfs_inode.c367 return !debug_locks || in xfs_isilocked()
/Linux-v5.10/kernel/
Dmodule.c267 if (unlikely(!debug_locks)) in module_assert_mutex_or_preempt()
/Linux-v5.10/kernel/sched/
Dcore.c1984 WARN_ON_ONCE(debug_locks && !(lockdep_is_held(&p->pi_lock) || in set_task_cpu()
/Linux-v5.10/net/netfilter/
Dnf_tables_api.c622 if (debug_locks) in lockdep_nfnl_nft_mutex_not_held()