Lines Matching refs:cctx
80 static void kcpc_ctx_clone(kcpc_ctx_t *ctx, kcpc_ctx_t *cctx);
835 * Copy set from ctx to the child context, cctx, if it has CPC_BIND_LWP_INHERIT
839 kcpc_ctx_clone(kcpc_ctx_t *ctx, kcpc_ctx_t *cctx)
852 cctx->kc_set = cks;
859 cks->ks_ctx = cctx;
882 if (kcpc_configure_reqs(cctx, cks, &code) != 0)
883 kcpc_invalidate_config(cctx);
1378 kcpc_ctx_t *ctx = t->t_cpc_ctx, *cctx;
1389 cctx = kcpc_ctx_alloc(KM_SLEEP);
1390 kcpc_ctx_clone(ctx, cctx);
1397 KCPC_CTX_FLAG_SET(cctx, ctx->kc_flags);
1398 cctx->kc_thread = ct;
1399 cctx->kc_cpuid = -1;
1400 ct->t_cpc_set = cctx->kc_set;
1401 ct->t_cpc_ctx = cctx;
1403 if (cctx->kc_flags & KCPC_CTX_SIGOVF) {
1404 kcpc_set_t *ks = cctx->kc_set;
1426 installctx(ct, cctx, kcpc_save, kcpc_restore,