Searched refs:ctx_lock (Results 1 – 1 of 1) sorted by relevance
164 spin_lock_irqsave(&(c)->ctx_lock, f); \171 spin_unlock_irqrestore(&(c)->ctx_lock, f); \176 spin_lock_irqsave(&(c)->ctx_lock, f); \182 spin_unlock_irqrestore(&(c)->ctx_lock, f); \188 spin_lock(&(c)->ctx_lock); \193 spin_unlock(&(c)->ctx_lock); \285 spinlock_t ctx_lock; /* context protection */ member598 spin_lock(&(x)->ctx_lock); in pfm_protect_ctx_ctxsw()605 spin_unlock(&(x)->ctx_lock); in pfm_unprotect_ctx_ctxsw()871 spin_lock_init(&ctx->ctx_lock); in pfm_context_alloc()