Home
last modified time | relevance | path

Searched refs:DEBUG_LOCKS_WARN_ON (Results 1 – 12 of 12) sorted by relevance

/linux/kernel/locking/
H A Dww_mutex.h190 DEBUG_LOCKS_WARN_ON(ww->ctx); in ww_mutex_lock_acquired()
195 DEBUG_LOCKS_WARN_ON(ww_ctx->done_acquire); in ww_mutex_lock_acquired()
202 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock != ww); in ww_mutex_lock_acquired()
208 DEBUG_LOCKS_WARN_ON(ww_ctx->acquired > 0); in ww_mutex_lock_acquired()
215 DEBUG_LOCKS_WARN_ON(ww_ctx->ww_class != ww->ww_class); in ww_mutex_lock_acquired()
444 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock); in __ww_mutex_kill()
588 DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired); in __ww_mutex_unlock()
H A Dlockdep.c143 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in lockdep_lock()
152 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in lockdep_unlock()
154 if (debug_locks && DEBUG_LOCKS_WARN_ON(__owner != current)) in lockdep_unlock()
165 return DEBUG_LOCKS_WARN_ON(__owner != current); in lockdep_assert_locked()
238 DEBUG_LOCKS_WARN_ON(1); in hlock_class()
930 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in look_up_lock_class()
1292 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in register_lock_class()
1390 if (DEBUG_LOCKS_WARN_ON(class->subclass != subclass)) in register_lock_class()
2283 DEBUG_LOCKS_WARN_ON(entry->class->wait_type_inner < LD_WAIT_CONFIG)) in usage_skip()
2844 if (DEBUG_LOCKS_WARN_ON(ret == BFS_RNOMATCH)) in check_irq_usage()
[all …]
H A Dlockdep_proc.c283 DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused); in lockdep_stats_show()
/linux/include/linux/
H A Dww_mutex.h186 DEBUG_LOCKS_WARN_ON(ctx->done_acquire); in ww_acquire_done()
205 DEBUG_LOCKS_WARN_ON(ctx->acquired); in ww_acquire_fini()
311 DEBUG_LOCKS_WARN_ON(!ctx->contending_lock); in ww_mutex_lock_slow()
347 DEBUG_LOCKS_WARN_ON(!ctx->contending_lock); in ww_mutex_lock_slow_interruptible()
H A Ddebug_locks.h24 #define DEBUG_LOCKS_WARN_ON(c) \ macro
39 # define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c)
H A Dhighmem-internal.h17 DEBUG_LOCKS_WARN_ON(current->kmap_ctrl.idx); in kmap_assert_nomap()
/linux/kernel/
H A Dsoftirq.c176 DEBUG_LOCKS_WARN_ON(this_cpu_read(softirq_ctrl.cnt)); in __local_bh_disable_ip()
223 DEBUG_LOCKS_WARN_ON(current->softirq_disable_cnt != in __local_bh_enable()
H A Dfork.c2084 DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled); in copy_process()
/linux/arch/x86/kernel/
H A Dldt.c113 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
/linux/kernel/sched/
H A Dcore.c5723 if (DEBUG_LOCKS_WARN_ON((preempt_count() < 0))) in preempt_count_add()
5731 DEBUG_LOCKS_WARN_ON((preempt_count() & PREEMPT_MASK) >= in preempt_count_add()
5755 if (DEBUG_LOCKS_WARN_ON(val > preempt_count())) in preempt_count_sub()
5760 if (DEBUG_LOCKS_WARN_ON((val < PREEMPT_MASK) && in preempt_count_sub()
/linux/Documentation/translations/it_IT/locking/
H A Dlockdep-design.rst344 (DEBUG_LOCKS_WARN_ON(id >= MAX_LOCKDEP_KEYS))
/linux/Documentation/locking/
H A Dlockdep-design.rst342 (DEBUG_LOCKS_WARN_ON(id >= MAX_LOCKDEP_KEYS))