Home
last modified time | relevance | path

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

/linux-4.4.14/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 != ti->task); in mutex_remove_waiter()
65 DEBUG_LOCKS_WARN_ON(ti->task->blocked_on != waiter); in mutex_remove_waiter()
75 DEBUG_LOCKS_WARN_ON(lock->magic != lock); in debug_mutex_unlock()
78 DEBUG_LOCKS_WARN_ON(!lock->owner); in debug_mutex_unlock()
80 DEBUG_LOCKS_WARN_ON(lock->owner != current); in debug_mutex_unlock()
[all …]
Drtmutex-debug.c60 DEBUG_LOCKS_WARN_ON(!RB_EMPTY_ROOT(&task->pi_waiters)); in rt_mutex_debug_task_free()
61 DEBUG_LOCKS_WARN_ON(task->pi_blocked_on); in rt_mutex_debug_task_free()
142 DEBUG_LOCKS_WARN_ON(rt_mutex_owner(lock) != current); in debug_rt_mutex_unlock()
152 DEBUG_LOCKS_WARN_ON(!rt_mutex_owner(lock)); in debug_rt_mutex_proxy_unlock()
Dlockdep.c105 return DEBUG_LOCKS_WARN_ON(1); in graph_unlock()
146 DEBUG_LOCKS_WARN_ON(1); in hlock_class()
719 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in look_up_lock_class()
748 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in register_lock_class()
840 if (DEBUG_LOCKS_WARN_ON(class->subclass != subclass)) in register_lock_class()
1037 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in __bfs()
2030 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in lookup_chain_cache()
2192 if (DEBUG_LOCKS_WARN_ON(id >= MAX_LOCKDEP_KEYS)) in check_chain_key()
2595 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in trace_hardirqs_on_caller()
2601 if (DEBUG_LOCKS_WARN_ON(unlikely(early_boot_irqs_disabled))) in trace_hardirqs_on_caller()
[all …]
Dmutex-debug.h44 DEBUG_LOCKS_WARN_ON(in_interrupt()); \
47 DEBUG_LOCKS_WARN_ON(l->magic != l); \
Dmutex.c119 DEBUG_LOCKS_WARN_ON(ww->ctx); in ww_mutex_lock_acquired()
124 DEBUG_LOCKS_WARN_ON(ww_ctx->done_acquire); in ww_mutex_lock_acquired()
131 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock != ww); in ww_mutex_lock_acquired()
137 DEBUG_LOCKS_WARN_ON(ww_ctx->acquired > 0); in ww_mutex_lock_acquired()
144 DEBUG_LOCKS_WARN_ON(ww_ctx->ww_class != ww->ww_class); in ww_mutex_lock_acquired()
461 DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired); in ww_mutex_unlock()
495 DEBUG_LOCKS_WARN_ON(ctx->contending_lock); in __ww_mutex_lock_check_stamp()
Dlockdep_proc.c266 DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused); in lockdep_stats_show()
/linux-4.4.14/include/linux/
Dww_mutex.h158 DEBUG_LOCKS_WARN_ON(ctx->done_acquire); in ww_acquire_done()
175 DEBUG_LOCKS_WARN_ON(ctx->acquired); in ww_acquire_fini()
299 DEBUG_LOCKS_WARN_ON(!ctx->contending_lock); in ww_mutex_lock_slow()
335 DEBUG_LOCKS_WARN_ON(!ctx->contending_lock); in ww_mutex_lock_slow_interruptible()
Ddebug_locks.h24 #define DEBUG_LOCKS_WARN_ON(c) \ macro
37 # define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c)
/linux-4.4.14/tools/lib/lockdep/uinclude/linux/
Ddebug_locks.h7 #define DEBUG_LOCKS_WARN_ON(x) (x) macro
/linux-4.4.14/arch/x86/include/asm/
Dmmu_context.h96 DEBUG_LOCKS_WARN_ON(preemptible()); in load_mm_ldt()
/linux-4.4.14/kernel/
Dfork.c1311 DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled); in copy_process()
1312 DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled); in copy_process()
/linux-4.4.14/Documentation/locking/
Dlockdep-design.txt231 (DEBUG_LOCKS_WARN_ON(id >= MAX_LOCKDEP_KEYS))
/linux-4.4.14/kernel/sched/
Dcore.c2932 if (DEBUG_LOCKS_WARN_ON((preempt_count() < 0))) in preempt_count_add()
2940 DEBUG_LOCKS_WARN_ON((preempt_count() & PREEMPT_MASK) >= in preempt_count_add()
2960 if (DEBUG_LOCKS_WARN_ON(val > preempt_count())) in preempt_count_sub()
2965 if (DEBUG_LOCKS_WARN_ON((val < PREEMPT_MASK) && in preempt_count_sub()
/linux-4.4.14/lib/
Dlocking-selftest.c1164 DEBUG_LOCKS_WARN_ON(1); in ww_test_fail_acquire()