Lines Matching full:acquired
177 * Associate the ww_mutex @ww with the context @ww_ctx under which we acquired
208 DEBUG_LOCKS_WARN_ON(ww_ctx->acquired > 0); in ww_mutex_lock_acquired()
217 ww_ctx->acquired++; in ww_mutex_lock_acquired()
272 * Among waiters with context, only the first one can have other locks acquired
273 * already (ctx->acquired > 0), because __ww_mutex_add_waiter() and
283 if (waiter->ww_ctx->acquired > 0 && __ww_ctx_less(waiter->ww_ctx, ww_ctx)) { in __ww_mutex_die()
324 if (ww_ctx->acquired > 0 && __ww_ctx_less(hold_ctx, ww_ctx)) { in __ww_mutex_wound()
343 * We just acquired @lock under @ww_ctx, if there are more important contexts
415 if (ww_ctx->acquired > 0) { in __ww_mutex_kill()
448 if (ctx->acquired == 0) in __ww_mutex_check_kill()
563 DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired); in __ww_mutex_unlock()
565 if (lock->ctx->acquired > 0) in __ww_mutex_unlock()
566 lock->ctx->acquired--; in __ww_mutex_unlock()