Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/locking/
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 mutex_remove_waiter()
64 DEBUG_LOCKS_WARN_ON(waiter->task != task); in mutex_remove_waiter()
65 DEBUG_LOCKS_WARN_ON(task->blocked_on != waiter); in 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()
103 DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock)); in mutex_destroy()
Drtmutex-debug.c62 DEBUG_LOCKS_WARN_ON(!RB_EMPTY_ROOT(&task->pi_waiters.rb_root)); in rt_mutex_debug_task_free()
63 DEBUG_LOCKS_WARN_ON(task->pi_blocked_on); in rt_mutex_debug_task_free()
145 DEBUG_LOCKS_WARN_ON(rt_mutex_owner(lock) != current); in debug_rt_mutex_unlock()
155 DEBUG_LOCKS_WARN_ON(!rt_mutex_owner(lock)); in debug_rt_mutex_proxy_unlock()
Dmutex.c126 DEBUG_LOCKS_WARN_ON(flags & MUTEX_FLAG_PICKUP); in __mutex_trylock_or_owner()
232 DEBUG_LOCKS_WARN_ON(__owner_task(owner) != current); in __mutex_handoff()
233 DEBUG_LOCKS_WARN_ON(owner & MUTEX_FLAG_PICKUP); in __mutex_handoff()
315 DEBUG_LOCKS_WARN_ON(ww->ctx); in ww_mutex_lock_acquired()
320 DEBUG_LOCKS_WARN_ON(ww_ctx->done_acquire); in ww_mutex_lock_acquired()
327 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock != ww); in ww_mutex_lock_acquired()
333 DEBUG_LOCKS_WARN_ON(ww_ctx->acquired > 0); in ww_mutex_lock_acquired()
340 DEBUG_LOCKS_WARN_ON(ww_ctx->ww_class != ww->ww_class); in ww_mutex_lock_acquired()
763 DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired); in ww_mutex_unlock()
783 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock); in __ww_mutex_kill()
[all …]
Dlockdep.c115 return DEBUG_LOCKS_WARN_ON(1); in graph_unlock()
167 DEBUG_LOCKS_WARN_ON(1); in hlock_class()
831 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in look_up_lock_class()
1183 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in register_lock_class()
1271 if (DEBUG_LOCKS_WARN_ON(class->subclass != subclass)) in register_lock_class()
1495 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in __bfs()
2280 if (DEBUG_LOCKS_WARN_ON(ret == 1)) in check_irq_usage()
2290 if (DEBUG_LOCKS_WARN_ON(ret == -1)) in check_irq_usage()
2742 if (DEBUG_LOCKS_WARN_ON(chain->depth != curr->lockdep_depth - (i - 1))) { in check_no_collision()
2750 if (DEBUG_LOCKS_WARN_ON(chain_hlocks[chain->base + j] != id)) { in check_no_collision()
[all …]
Dlockdep_proc.c249 DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused); in lockdep_stats_show()
/Linux-v5.4/include/linux/
Dww_mutex.h170 DEBUG_LOCKS_WARN_ON(ctx->done_acquire); in ww_acquire_done()
187 DEBUG_LOCKS_WARN_ON(ctx->acquired); in ww_acquire_fini()
293 DEBUG_LOCKS_WARN_ON(!ctx->contending_lock); in ww_mutex_lock_slow()
329 DEBUG_LOCKS_WARN_ON(!ctx->contending_lock); in ww_mutex_lock_slow_interruptible()
Ddebug_locks.h25 #define DEBUG_LOCKS_WARN_ON(c) \ macro
38 # define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c)
/Linux-v5.4/tools/include/linux/
Ddebug_locks.h9 #define DEBUG_LOCKS_WARN_ON(x) WARN_ON(x) macro
/Linux-v5.4/arch/x86/include/asm/
Ddesc.h312 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit()
329 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
Dmmu_context.h177 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
/Linux-v5.4/kernel/
Dfork.c1872 DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled); in copy_process()
1873 DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled); in copy_process()
/Linux-v5.4/kernel/sched/
Dcore.c3778 if (DEBUG_LOCKS_WARN_ON((preempt_count() < 0))) in preempt_count_add()
3786 DEBUG_LOCKS_WARN_ON((preempt_count() & PREEMPT_MASK) >= in preempt_count_add()
3810 if (DEBUG_LOCKS_WARN_ON(val > preempt_count())) in preempt_count_sub()
3815 if (DEBUG_LOCKS_WARN_ON((val < PREEMPT_MASK) && in preempt_count_sub()
/Linux-v5.4/Documentation/locking/
Dlockdep-design.rst339 (DEBUG_LOCKS_WARN_ON(id >= MAX_LOCKDEP_KEYS))
/Linux-v5.4/lib/
Dlocking-selftest.c1338 DEBUG_LOCKS_WARN_ON(1); in ww_test_fail_acquire()