Lines Matching refs:state_mutex
542 mutex_unlock(&ctx->state_mutex);
544 mutex_lock(&ctx->state_mutex);
649 * This nests ctx->state_mutex, but we always lock
658 if (!mutex_trylock(&victim->state_mutex)) {
671 mutex_unlock(&victim->state_mutex);
689 mutex_unlock(&victim->state_mutex);
725 mutex_lock(&ctx->state_mutex);
742 * Should be called with ctx->state_mutex held.
775 * only be able to acquire the state_mutex once the context
861 mutex_lock(&ctx->state_mutex);
895 mutex_lock(&ctx->state_mutex);
897 mutex_unlock(&ctx->state_mutex);
1031 WARN_ON(!mutex_is_locked(&ctx->state_mutex));