Searched refs:DEBUG_LOCKS_WARN_ON (Results 1 - 13 of 13) sorted by relevance

/linux-4.4.14/tools/lib/lockdep/uinclude/linux/
H A Ddebug_locks.h7 #define DEBUG_LOCKS_WARN_ON(x) (x) macro
/linux-4.4.14/kernel/locking/
H A Dmutex-debug.c40 DEBUG_LOCKS_WARN_ON(list_empty(&lock->wait_list)); debug_mutex_wake_waiter()
41 DEBUG_LOCKS_WARN_ON(waiter->magic != waiter); debug_mutex_wake_waiter()
42 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); debug_mutex_wake_waiter()
47 DEBUG_LOCKS_WARN_ON(!list_empty(&waiter->list)); debug_mutex_free_waiter()
63 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); mutex_remove_waiter()
64 DEBUG_LOCKS_WARN_ON(waiter->task != ti->task); mutex_remove_waiter()
65 DEBUG_LOCKS_WARN_ON(ti->task->blocked_on != waiter); mutex_remove_waiter()
75 DEBUG_LOCKS_WARN_ON(lock->magic != lock); debug_mutex_unlock()
78 DEBUG_LOCKS_WARN_ON(!lock->owner); debug_mutex_unlock()
80 DEBUG_LOCKS_WARN_ON(lock->owner != current); debug_mutex_unlock()
82 DEBUG_LOCKS_WARN_ON(!lock->wait_list.prev && !lock->wait_list.next); debug_mutex_unlock()
116 DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock)); mutex_destroy()
H A Drtmutex-debug.c60 DEBUG_LOCKS_WARN_ON(!RB_EMPTY_ROOT(&task->pi_waiters)); rt_mutex_debug_task_free()
61 DEBUG_LOCKS_WARN_ON(task->pi_blocked_on); rt_mutex_debug_task_free()
142 DEBUG_LOCKS_WARN_ON(rt_mutex_owner(lock) != current); debug_rt_mutex_unlock()
152 DEBUG_LOCKS_WARN_ON(!rt_mutex_owner(lock)); debug_rt_mutex_proxy_unlock()
H A Dmutex-debug.h44 DEBUG_LOCKS_WARN_ON(in_interrupt()); \
47 DEBUG_LOCKS_WARN_ON(l->magic != l); \
H A Dlockdep.c105 return DEBUG_LOCKS_WARN_ON(1); graph_unlock()
146 DEBUG_LOCKS_WARN_ON(1); hlock_class()
719 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) look_up_lock_class()
748 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); register_lock_class()
840 if (DEBUG_LOCKS_WARN_ON(class->subclass != subclass))
1037 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); __bfs()
2030 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) lookup_chain_cache()
2192 if (DEBUG_LOCKS_WARN_ON(id >= MAX_LOCKDEP_KEYS)) check_chain_key()
2595 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) trace_hardirqs_on_caller()
2601 if (DEBUG_LOCKS_WARN_ON(unlikely(early_boot_irqs_disabled))) trace_hardirqs_on_caller()
2608 if (DEBUG_LOCKS_WARN_ON(current->hardirq_context)) trace_hardirqs_on_caller()
2639 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) trace_hardirqs_off_caller()
2675 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) trace_softirqs_on()
2714 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) trace_softirqs_off()
2728 DEBUG_LOCKS_WARN_ON(!softirq_count()); trace_softirqs_off()
2755 if (DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags))) __lockdep_trace_alloc()
2982 if (DEBUG_LOCKS_WARN_ON(!name)) { lockdep_init_map()
2992 if (DEBUG_LOCKS_WARN_ON(!key)) lockdep_init_map()
3002 DEBUG_LOCKS_WARN_ON(1); lockdep_init_map()
3013 if (DEBUG_LOCKS_WARN_ON(current->lockdep_recursion)) lockdep_init_map()
3089 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) __lock_acquire()
3123 if (DEBUG_LOCKS_WARN_ON(depth >= MAX_LOCK_DEPTH)) __lock_acquire()
3145 if (DEBUG_LOCKS_WARN_ON(!class)) __lock_acquire()
3183 if (DEBUG_LOCKS_WARN_ON(id >= MAX_LOCKDEP_KEYS)) __lock_acquire()
3191 if (DEBUG_LOCKS_WARN_ON(chain_key != 0)) __lock_acquire()
3289 if (DEBUG_LOCKS_WARN_ON(!hlock->nest_lock)) match_held_lock()
3315 if (DEBUG_LOCKS_WARN_ON(!depth)) __lock_set_class()
3354 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth)) __lock_set_class()
3382 if (DEBUG_LOCKS_WARN_ON(depth <= 0)) __lock_release()
3444 if (DEBUG_LOCKS_WARN_ON(curr->lockdep_depth != depth - 1)) __lock_release()
3519 if (DEBUG_LOCKS_WARN_ON(current->hardirqs_enabled)) { check_flags()
3523 if (DEBUG_LOCKS_WARN_ON(!current->hardirqs_enabled)) { check_flags()
3536 DEBUG_LOCKS_WARN_ON(current->softirqs_enabled); check_flags()
3539 DEBUG_LOCKS_WARN_ON(!current->softirqs_enabled); check_flags()
3719 if (DEBUG_LOCKS_WARN_ON(!depth)) __lock_contended()
3772 if (DEBUG_LOCKS_WARN_ON(!depth)) __lock_acquired()
H A Dmutex.c119 DEBUG_LOCKS_WARN_ON(ww->ctx); ww_mutex_lock_acquired()
124 DEBUG_LOCKS_WARN_ON(ww_ctx->done_acquire); ww_mutex_lock_acquired()
131 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock != ww); ww_mutex_lock_acquired()
137 DEBUG_LOCKS_WARN_ON(ww_ctx->acquired > 0); ww_mutex_lock_acquired()
144 DEBUG_LOCKS_WARN_ON(ww_ctx->ww_class != ww->ww_class); ww_mutex_lock_acquired()
461 DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired); ww_mutex_unlock()
495 DEBUG_LOCKS_WARN_ON(ctx->contending_lock); __ww_mutex_lock_check_stamp()
H A Dlockdep_proc.c266 DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused); lockdep_stats_show()
/linux-4.4.14/include/linux/
H A Ddebug_locks.h24 #define DEBUG_LOCKS_WARN_ON(c) \ macro
30 WARN(1, "DEBUG_LOCKS_WARN_ON(%s)", #c); \
37 # define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c)
H A Dww_mutex.h158 DEBUG_LOCKS_WARN_ON(ctx->done_acquire); ww_acquire_done()
175 DEBUG_LOCKS_WARN_ON(ctx->acquired); ww_acquire_fini()
299 DEBUG_LOCKS_WARN_ON(!ctx->contending_lock); ww_mutex_lock_slow()
335 DEBUG_LOCKS_WARN_ON(!ctx->contending_lock); ww_mutex_lock_slow_interruptible()
/linux-4.4.14/arch/x86/include/asm/
H A Dmmu_context.h96 DEBUG_LOCKS_WARN_ON(preemptible()); load_mm_ldt()
/linux-4.4.14/kernel/
H A Dfork.c1311 DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled); copy_process()
1312 DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled); copy_process()
/linux-4.4.14/lib/
H A Dlocking-selftest.c1164 DEBUG_LOCKS_WARN_ON(1); ww_test_fail_acquire()
/linux-4.4.14/kernel/sched/
H A Dcore.c2932 if (DEBUG_LOCKS_WARN_ON((preempt_count() < 0))) preempt_count_add()
2940 DEBUG_LOCKS_WARN_ON((preempt_count() & PREEMPT_MASK) >= preempt_count_add()
2960 if (DEBUG_LOCKS_WARN_ON(val > preempt_count())) preempt_count_sub()
2965 if (DEBUG_LOCKS_WARN_ON((val < PREEMPT_MASK) && preempt_count_sub()

Completed in 320 milliseconds