Home
last modified time | relevance | path

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

/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_locke
[all...]
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()
428 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock); in __ww_mutex_kill()
572 DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired); in __ww_mutex_unlock()
H A Drtmutex_api.c493 DEBUG_LOCKS_WARN_ON(!RB_EMPTY_ROOT(&task->pi_waiters.rb_root)); in rt_mutex_debug_task_free()
494 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()
/linux/include/linux/
H A Dww_mutex.h186 DEBUG_LOCKS_WARN_ON(ctx->done_acquire); in ww_acquire_done()
205 DEBUG_LOCKS_WARN_ON(ctx->acquired); in ww_acquire_fini()
311 DEBUG_LOCKS_WARN_ON(!ctx->contending_lock); in ww_mutex_lock_slow()
347 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()
/linux/arch/x86/include/asm/
H A Ddesc.h329 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit()
346 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
/linux/kernel/
H A Dsoftirq.c158 DEBUG_LOCKS_WARN_ON(this_cpu_read(softirq_ctrl.cnt)); in __local_bh_disable_ip()
186 DEBUG_LOCKS_WARN_ON(current->softirq_disable_cnt != in __local_bh_enable()
H A Dfork.c2265 DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled); in copy_process()
/linux/arch/x86/kernel/
H A Dldt.c113 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
/linux/lib/
H A Dlocking-selftest.c1699 DEBUG_LOCKS_WARN_ON(1); in ww_test_fail_acquire()
2732 DEBUG_LOCKS_WARN_ON(name_before != name_after); in test_lockdep_set_subclass_name()
/linux/kernel/sched/
H A Dcore.c5852 if (DEBUG_LOCKS_WARN_ON((preempt_count() < 0))) in preempt_count_add()
5860 DEBUG_LOCKS_WARN_ON((preempt_count() & PREEMPT_MASK) >= in preempt_count_add()
5884 if (DEBUG_LOCKS_WARN_ON(val > preempt_count())) in preempt_count_sub()
5889 if (DEBUG_LOCKS_WARN_ON((val < PREEMPT_MASK) && in preempt_count_sub()
/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))