Lines Matching refs:acquired
333 DEBUG_LOCKS_WARN_ON(ww_ctx->acquired > 0); in ww_mutex_lock_acquired()
342 ww_ctx->acquired++; in ww_mutex_lock_acquired()
373 if (waiter->ww_ctx->acquired > 0 && in __ww_mutex_die()
413 if (ww_ctx->acquired > 0 && __ww_ctx_stamp_after(hold_ctx, ww_ctx)) { in __ww_mutex_wound()
520 if (ww_ctx->acquired > 0 && READ_ONCE(ww->ctx)) in ww_mutex_spin_on_owner()
763 DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired); in ww_mutex_unlock()
765 if (lock->ctx->acquired > 0) in ww_mutex_unlock()
766 lock->ctx->acquired--; in ww_mutex_unlock()
778 if (ww_ctx->acquired > 0) { in __ww_mutex_kill()
812 if (ctx->acquired == 0) in __ww_mutex_check_kill()
951 if (ww_ctx->acquired == 0) in __mutex_lock_common()
1014 goto acquired; in __mutex_lock_common()
1058 acquired: in __mutex_lock_common()
1193 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock()
1210 if (!ret && ctx && ctx->acquired > 1) in ww_mutex_lock_interruptible()