Home
last modified time | relevance | path

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

/linux/kernel/locking/
H A Dww_mutex.h225 DEBUG_LOCKS_WARN_ON(ww->ctx); in ww_mutex_lock_acquired()
230 DEBUG_LOCKS_WARN_ON(ww_ctx->done_acquire); in ww_mutex_lock_acquired()
237 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock != ww); in ww_mutex_lock_acquired()
243 DEBUG_LOCKS_WARN_ON(ww_ctx->acquired > 0); in ww_mutex_lock_acquired()
250 DEBUG_LOCKS_WARN_ON(ww_ctx->ww_class != ww->ww_class); in ww_mutex_lock_acquired()
483 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock); in __ww_mutex_kill()
629 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 Drtmutex_api.c536 DEBUG_LOCKS_WARN_ON(!RB_EMPTY_ROOT(&task->pi_waiters.rb_root)); in __mutex_lock_common()
537 DEBUG_LOCKS_WARN_ON(task->pi_blocked_on); in __mutex_lock_common()
H A Dlockdep_proc.c283 DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused); in lockdep_stats_show()
H A Dmutex.c41 # define MUTEX_WARN_ON(cond) DEBUG_LOCKS_WARN_ON(cond)
/linux/include/linux/
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 Dlocal_lock_internal.h47 DEBUG_LOCKS_WARN_ON(l->owner); in local_lock_acquire()
54 DEBUG_LOCKS_WARN_ON(l->owner); in local_trylock_acquire()
60 DEBUG_LOCKS_WARN_ON(l->owner != current); in local_lock_release()
H A Dhighmem-internal.h17 DEBUG_LOCKS_WARN_ON(current->kmap_ctrl.idx); in kmap_assert_nomap()
/linux/arch/x86/include/asm/
H A Ddesc.h328 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit()
345 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
/linux/arch/x86/kernel/
H A Dldt.c113 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
/linux/kernel/sched/
H A Dcore.c5977 if (DEBUG_LOCKS_WARN_ON((preempt_count() < 0))) in prev_balance()
5985 DEBUG_LOCKS_WARN_ON((preempt_count() & PREEMPT_MASK) >= in prev_balance()
6009 if (DEBUG_LOCKS_WARN_ON(val > preempt_count())) in __pick_next_task()
6014 if (DEBUG_LOCKS_WARN_ON((val < PREEMPT_MASK) && in __pick_next_task()
/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))
/linux/kernel/
H A Dfork.c2146 DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled); in copy_process()