Lines Matching refs: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);
217 ww_ctx->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)) {
324 if (ww_ctx->acquired > 0 && __ww_ctx_less(hold_ctx, ww_ctx)) {
343 * We just acquired @lock under @ww_ctx, if there are more important contexts
415 if (ww_ctx->acquired > 0) {
448 if (ctx->acquired == 0)
563 DEBUG_LOCKS_WARN_ON(!lock->ctx->acquired);
565 if (lock->ctx->acquired > 0)
566 lock->ctx->acquired--;