Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/locking/
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()
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()
Dlockdep.c140 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in lockdep_lock()
149 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in lockdep_unlock()
151 if (debug_locks && DEBUG_LOCKS_WARN_ON(__owner != current)) in lockdep_unlock()
161 return DEBUG_LOCKS_WARN_ON(__owner != current); in lockdep_assert_locked()
231 DEBUG_LOCKS_WARN_ON(1); in hlock_class()
928 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in look_up_lock_class()
1287 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in register_lock_class()
1381 if (DEBUG_LOCKS_WARN_ON(class->subclass != subclass)) in register_lock_class()
2282 if (DEBUG_LOCKS_WARN_ON(entry->class->wait_type_inner < LD_WAIT_CONFIG)) in usage_skip()
2837 if (DEBUG_LOCKS_WARN_ON(ret == BFS_RNOMATCH)) in check_irq_usage()
[all …]
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()
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()
Dlockdep_proc.c283 DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused); in lockdep_stats_show()
Dmutex.c40 # define MUTEX_WARN_ON(cond) DEBUG_LOCKS_WARN_ON(cond)
/linux-6.1.9/include/linux/
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()
Ddebug_locks.h24 #define DEBUG_LOCKS_WARN_ON(c) \ macro
39 # define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c)
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()
Dhighmem-internal.h17 DEBUG_LOCKS_WARN_ON(current->kmap_ctrl.idx); in kmap_assert_nomap()
/linux-6.1.9/arch/x86/include/asm/
Ddesc.h328 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit()
345 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
Dmmu_context.h90 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
/linux-6.1.9/kernel/
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()
Dfork.c2114 DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled); in copy_process()
/linux-6.1.9/arch/x86/kernel/
Dldt.c113 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
/linux-6.1.9/kernel/sched/
Dcore.c5696 if (DEBUG_LOCKS_WARN_ON((preempt_count() < 0))) in preempt_count_add()
5704 DEBUG_LOCKS_WARN_ON((preempt_count() & PREEMPT_MASK) >= in preempt_count_add()
5728 if (DEBUG_LOCKS_WARN_ON(val > preempt_count())) in preempt_count_sub()
5733 if (DEBUG_LOCKS_WARN_ON((val < PREEMPT_MASK) && in preempt_count_sub()
/linux-6.1.9/lib/
Dlocking-selftest.c1699 DEBUG_LOCKS_WARN_ON(1); in ww_test_fail_acquire()
/linux-6.1.9/Documentation/locking/
Dlockdep-design.rst342 (DEBUG_LOCKS_WARN_ON(id >= MAX_LOCKDEP_KEYS))