Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dww_mutex.h40 struct ww_mutex *contending_lock; member
132 ctx->contending_lock = NULL; in ww_acquire_init()
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()
/kernel/linux/linux-5.10/kernel/locking/
Dmutex.c332 if (ww_ctx->contending_lock) { in ww_mutex_lock_acquired()
337 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock != ww); in ww_mutex_lock_acquired()
344 ww_ctx->contending_lock = NULL; in ww_mutex_lock_acquired()
793 DEBUG_LOCKS_WARN_ON(ww_ctx->contending_lock); in __ww_mutex_kill()
794 ww_ctx->contending_lock = ww; in __ww_mutex_kill()
1179 ctx->contending_lock = lock; in ww_mutex_deadlock_injection()