Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
103 DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock)); in mutex_destroy()
H A Dmutex.c128 DEBUG_LOCKS_WARN_ON(flags & MUTEX_FLAG_PICKUP); in __mutex_trylock_or_owner()
249 DEBUG_LOCKS_WARN_ON(__owner_task(owner) != current); in __mutex_handoff()
250 DEBUG_LOCKS_WARN_ON(owner & MUTEX_FLAG_PICKUP); in __mutex_handoff()
332 DEBUG_LOCKS_WARN_ON(ww->ctx); in ww_mutex_lock_acquired()
337 DEBUG_LOCKS_WARN_ON(ww_ctx->done_acquire); in ww_mutex_lock_acquired()
344 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock != ww); in ww_mutex_lock_acquired()
350 DEBUG_LOCKS_WARN_ON(ww_ctx->acquired > 0); in ww_mutex_lock_acquired()
357 DEBUG_LOCKS_WARN_ON(ww_ctx->ww_class != ww->ww_class); in ww_mutex_lock_acquired()
781 DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired); in ww_mutex_unlock()
801 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock); in __ww_mutex_kill()
[all …]
H A 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()
H A Dlockdep.c109 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in lockdep_lock()
118 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in lockdep_unlock()
120 if (debug_locks && DEBUG_LOCKS_WARN_ON(__owner != current)) in lockdep_unlock()
130 return DEBUG_LOCKS_WARN_ON(__owner != current); in lockdep_assert_locked()
200 DEBUG_LOCKS_WARN_ON(1); in hlock_class()
885 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) in look_up_lock_class()
1242 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); in register_lock_class()
1336 if (DEBUG_LOCKS_WARN_ON(class->subclass != subclass)) in register_lock_class()
2788 if (DEBUG_LOCKS_WARN_ON(ret == BFS_RNOMATCH)) in check_irq_usage()
2798 if (DEBUG_LOCKS_WARN_ON(ret == -1)) in check_irq_usage()
[all …]
H A Dlockdep_proc.c281 DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused); in lockdep_stats_show()
/OK3568_Linux_fs/kernel/include/linux/
H A Dww_mutex.h162 DEBUG_LOCKS_WARN_ON(ctx->done_acquire); in ww_acquire_done()
180 DEBUG_LOCKS_WARN_ON(ctx->acquired); in ww_acquire_fini()
286 DEBUG_LOCKS_WARN_ON(!ctx->contending_lock); in ww_mutex_lock_slow()
322 DEBUG_LOCKS_WARN_ON(!ctx->contending_lock); in ww_mutex_lock_slow_interruptible()
H A Ddebug_locks.h26 #define DEBUG_LOCKS_WARN_ON(c) \ macro
41 # define SMP_DEBUG_LOCKS_WARN_ON(c) DEBUG_LOCKS_WARN_ON(c)
H A Dlocal_lock_internal.h28 DEBUG_LOCKS_WARN_ON(l->owner); in local_lock_acquire()
34 DEBUG_LOCKS_WARN_ON(l->owner != current); in local_lock_release()
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Ddebug_locks.h9 #define DEBUG_LOCKS_WARN_ON(x) WARN_ON(x) macro
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Ddesc.h307 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit()
324 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
H A Dmmu_context.h90 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dldt.c113 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dcore.c4453 if (DEBUG_LOCKS_WARN_ON((preempt_count() < 0))) in preempt_count_add()
4461 DEBUG_LOCKS_WARN_ON((preempt_count() & PREEMPT_MASK) >= in preempt_count_add()
4485 if (DEBUG_LOCKS_WARN_ON(val > preempt_count())) in preempt_count_sub()
4490 if (DEBUG_LOCKS_WARN_ON((val < PREEMPT_MASK) && in preempt_count_sub()
/OK3568_Linux_fs/kernel/lib/
H A Dlocking-selftest.c1628 DEBUG_LOCKS_WARN_ON(1); in ww_test_fail_acquire()
/OK3568_Linux_fs/kernel/kernel/
H A Dfork.c2028 DEBUG_LOCKS_WARN_ON(!p->softirqs_enabled); in copy_process()
/OK3568_Linux_fs/kernel/Documentation/locking/
H A Dlockdep-design.rst342 (DEBUG_LOCKS_WARN_ON(id >= MAX_LOCKDEP_KEYS))