Lines Matching refs:ctx
609 kcpc_ctx_t *ctx;
687 ctx = cpu_ctx->ctx_ptr_array[cpu_ctx->cur_index];
705 ctx->kc_flags &= ~(KCPC_CTX_INVALID | KCPC_CTX_INVALID_STOPPED);
710 kcpc_program(ctx, B_FALSE, B_FALSE);
712 cp->cpu_cpc_ctx = ctx;
781 kcpc_ctx_t *ctx;
833 ctx = cpu_ctx->ctx_ptr_array[cpu_ctx->cur_index];
839 ASSERT(cp->cpu_cpc_ctx == ctx);
840 if (cp->cpu_cpc_ctx != ctx) {
849 kcpc_unprogram(ctx, B_FALSE);
851 ASSERT(ctx->kc_flags & KCPC_CTX_INVALID_STOPPED);
1188 kcpc_ctx_t *ctx;
1257 ctx = cpu_ctx->ctx_ptr_array[i];
1258 if (ctx == NULL)
1260 kcpc_free(ctx, 0);