Home
last modified time | relevance | path

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

/linux-6.3-rc2/kernel/locking/
A Dmutex-debug.c39 DEBUG_LOCKS_WARN_ON(list_empty(&lock->wait_list)); in debug_mutex_wake_waiter()
40 DEBUG_LOCKS_WARN_ON(waiter->magic != waiter); in debug_mutex_wake_waiter()
41 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in debug_mutex_wake_waiter()
46 DEBUG_LOCKS_WARN_ON(!list_empty(&waiter->list)); in debug_mutex_free_waiter()
62 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in debug_mutex_remove_waiter()
63 DEBUG_LOCKS_WARN_ON(waiter->task != task); in debug_mutex_remove_waiter()
64 DEBUG_LOCKS_WARN_ON(task->blocked_on != waiter); in debug_mutex_remove_waiter()
74 DEBUG_LOCKS_WARN_ON(lock->magic != lock); in debug_mutex_unlock()
75 DEBUG_LOCKS_WARN_ON(!lock->wait_list.prev && !lock->wait_list.next); in debug_mutex_unlock()
102 DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock)); in mutex_destroy()
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()
A Dlockdep.c141 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in lockdep_lock()
232 DEBUG_LOCKS_WARN_ON(1); in hlock_class()
4600 DEBUG_LOCKS_WARN_ON(1); in mark_lock()
4834 if (DEBUG_LOCKS_WARN_ON(!key)) in lockdep_init_map_type()
4843 DEBUG_LOCKS_WARN_ON(1); in lockdep_init_map_type()
4988 if (DEBUG_LOCKS_WARN_ON(!class)) in __lock_acquire()
5235 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_set_class()
5281 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_downgrade()
5301 if (DEBUG_LOCKS_WARN_ON(merged)) in __lock_downgrade()
5817 if (DEBUG_LOCKS_WARN_ON(!depth)) in __lock_contended()
[all …]
A Drtmutex_common.h169 DEBUG_LOCKS_WARN_ON(rt_mutex_owner(lock) != current); in debug_rt_mutex_unlock()
175 DEBUG_LOCKS_WARN_ON(!rt_mutex_owner(lock)); in debug_rt_mutex_proxy_unlock()
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()
A Dlockdep_proc.c283 DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused); in lockdep_stats_show()
A Dmutex.c40 # define MUTEX_WARN_ON(cond) DEBUG_LOCKS_WARN_ON(cond)
/linux-6.3-rc2/include/linux/
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()
A Ddebug_locks.h24 #define DEBUG_LOCKS_WARN_ON(c) \ macro
39 # define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c)
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()
A Dhighmem-internal.h17 DEBUG_LOCKS_WARN_ON(current->kmap_ctrl.idx); in kmap_assert_nomap()
/linux-6.3-rc2/arch/x86/include/asm/
A Ddesc.h328 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit()
345 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
A Dmmu_context.h91 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
/linux-6.3-rc2/kernel/
A Dsoftirq.c172 DEBUG_LOCKS_WARN_ON(this_cpu_read(softirq_ctrl.cnt)); in __local_bh_disable_ip()
200 DEBUG_LOCKS_WARN_ON(current->softirq_disable_cnt != in __local_bh_enable()
A Dfork.c2127 DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled); in copy_process()
/linux-6.3-rc2/arch/x86/kernel/
A Dldt.c113 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
/linux-6.3-rc2/kernel/sched/
A Dcore.c5767 if (DEBUG_LOCKS_WARN_ON((preempt_count() < 0))) in preempt_count_add()
5775 DEBUG_LOCKS_WARN_ON((preempt_count() & PREEMPT_MASK) >= in preempt_count_add()
5799 if (DEBUG_LOCKS_WARN_ON(val > preempt_count())) in preempt_count_sub()
5804 if (DEBUG_LOCKS_WARN_ON((val < PREEMPT_MASK) && in preempt_count_sub()
/linux-6.3-rc2/lib/
A Dlocking-selftest.c1699 DEBUG_LOCKS_WARN_ON(1); in ww_test_fail_acquire()
/linux-6.3-rc2/Documentation/locking/
A Dlockdep-design.rst342 (DEBUG_LOCKS_WARN_ON(id >= MAX_LOCKDEP_KEYS))

Completed in 132 milliseconds