Home
last modified time | relevance | path

Searched refs:contending_lock (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/include/linux/
Dww_mutex.h34 struct ww_mutex *contending_lock; member
128 ctx->contending_lock = NULL; in ww_acquire_init()
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()
/linux-4.4.14/kernel/locking/
Dmutex.c126 if (ww_ctx->contending_lock) { in ww_mutex_lock_acquired()
131 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock != ww); in ww_mutex_lock_acquired()
138 ww_ctx->contending_lock = NULL; in ww_mutex_lock_acquired()
495 DEBUG_LOCKS_WARN_ON(ctx->contending_lock); in __ww_mutex_lock_check_stamp()
496 ctx->contending_lock = ww; in __ww_mutex_lock_check_stamp()
668 ctx->contending_lock = lock; in ww_mutex_deadlock_injection()