Home
last modified time | relevance | path

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

/openbmc/linux/kernel/locking/
H A Dmutex-debug.c40 DEBUG_LOCKS_WARN_ON(list_empty(&lock->wait_list)); in debug_mutex_wake_waiter()
41 DEBUG_LOCKS_WARN_ON(waiter->magic != waiter); in debug_mutex_wake_waiter()
42 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in debug_mutex_wake_waiter()
47 DEBUG_LOCKS_WARN_ON(!list_empty(&waiter->list)); in debug_mutex_free_waiter()
63 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in debug_mutex_remove_waiter()
64 DEBUG_LOCKS_WARN_ON(waiter->task != task); in debug_mutex_remove_waiter()
65 DEBUG_LOCKS_WARN_ON(task->blocked_on != waiter); in debug_mutex_remove_waiter()
75 DEBUG_LOCKS_WARN_ON(lock->magic != lock); in debug_mutex_unlock()
76 DEBUG_LOCKS_WARN_ON(!lock->wait_list.prev && !lock->wait_list.next); in debug_mutex_unlock()
114 DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock)); in mutex_destroy()
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()
420 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock); in __ww_mutex_kill()
563 DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired); in __ww_mutex_unlock()
H A Dlockdep.c141 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in lockdep_lock()
232 DEBUG_LOCKS_WARN_ON(1); in hlock_class()
4643 DEBUG_LOCKS_WARN_ON(1); in mark_lock()
4886 if (DEBUG_LOCKS_WARN_ON(!key)) in lockdep_init_map_type()
4895 DEBUG_LOCKS_WARN_ON(1); in lockdep_init_map_type()
5068 if (DEBUG_LOCKS_WARN_ON(!class)) in __lock_acquire()
5320 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_set_class()
5366 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_downgrade()
5386 if (DEBUG_LOCKS_WARN_ON(merged)) in __lock_downgrade()
5930 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_contended()
[all …]
H A Drtmutex_common.h190 DEBUG_LOCKS_WARN_ON(rt_mutex_owner(lock) != current); in debug_rt_mutex_unlock()
196 DEBUG_LOCKS_WARN_ON(!rt_mutex_owner(lock)); in debug_rt_mutex_proxy_unlock()
H A Drtmutex_api.c487 DEBUG_LOCKS_WARN_ON(!RB_EMPTY_ROOT(&task->pi_waiters.rb_root)); in rt_mutex_debug_task_free()
488 DEBUG_LOCKS_WARN_ON(task->pi_blocked_on); in rt_mutex_debug_task_free()
H A Dlockdep_proc.c283 DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused); in lockdep_stats_show()
H A Dmutex.c40 # define MUTEX_WARN_ON(cond) DEBUG_LOCKS_WARN_ON(cond)
/openbmc/linux/include/linux/
H A Dww_mutex.h173 DEBUG_LOCKS_WARN_ON(ctx->done_acquire); in ww_acquire_done()
191 DEBUG_LOCKS_WARN_ON(ctx->acquired); in ww_acquire_fini()
297 DEBUG_LOCKS_WARN_ON(!ctx->contending_lock); in ww_mutex_lock_slow()
333 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 Dlocal_lock_internal.h30 DEBUG_LOCKS_WARN_ON(l->owner); in local_lock_acquire()
36 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()
/openbmc/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()
H A Dmmu_context.h84 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
/openbmc/linux/kernel/
H A Dsoftirq.c157 DEBUG_LOCKS_WARN_ON(this_cpu_read(softirq_ctrl.cnt)); in __local_bh_disable_ip()
185 DEBUG_LOCKS_WARN_ON(current->softirq_disable_cnt != in __local_bh_enable()
H A Dfork.c2359 DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled); in copy_process()
/openbmc/linux/arch/x86/kernel/
H A Dldt.c113 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
/openbmc/linux/kernel/sched/
H A Dcore.c5840 if (DEBUG_LOCKS_WARN_ON((preempt_count() < 0))) in preempt_count_add()
5848 DEBUG_LOCKS_WARN_ON((preempt_count() & PREEMPT_MASK) >= in preempt_count_add()
5872 if (DEBUG_LOCKS_WARN_ON(val > preempt_count())) in preempt_count_sub()
5877 if (DEBUG_LOCKS_WARN_ON((val < PREEMPT_MASK) && in preempt_count_sub()
/openbmc/linux/lib/
H A Dlocking-selftest.c1699 DEBUG_LOCKS_WARN_ON(1); in ww_test_fail_acquire()
/openbmc/linux/Documentation/locking/
H A Dlockdep-design.rst342 (DEBUG_LOCKS_WARN_ON(id >= MAX_LOCKDEP_KEYS))