Searched refs:cpu_cpc_ctx (Results 1 – 4 of 4) sorted by relevance
222 if (cp->cpu_cpc_ctx != NULL && !CU_CPC_ON(cp)) { in kcpc_bind_cpu()514 ASSERT(cp != NULL && cp->cpu_cpc_ctx == ctx); in kcpc_stop_hw()966 ctx = curthread->t_cpu->cpu_cpc_ctx; in kcpc_overflow_intr()1045 return (curthread->t_cpu->cpu_cpc_ctx); in kcpc_overflow_intr()1091 ctx = curthread->t_cpu->cpu_cpc_ctx; in kcpc_hw_overflow_intr()1340 if ((cp->cpu_cpc_ctx == NULL) || in kcpc_idle_save()1341 (cp->cpu_cpc_ctx->kc_flags & KCPC_CTX_INVALID)) { in kcpc_idle_save()1346 pcbe_ops->pcbe_program(cp->cpu_cpc_ctx); in kcpc_idle_save()1364 if ((cp->cpu_cpc_ctx == NULL) || in kcpc_idle_restore()1365 (cp->cpu_cpc_ctx->kc_flags & KCPC_CTX_INVALID)) { in kcpc_idle_restore()[all …]
654 if ((CPU->cpu_cpc_ctx != NULL) && in cu_cpc_program()655 !(CPU->cpu_cpc_ctx->kc_flags & KCPC_CTX_INVALID_STOPPED)) { in cu_cpc_program()712 cp->cpu_cpc_ctx = ctx; in cu_cpc_program()754 if (CPU->cpu_cpc_ctx != NULL && in cu_cpc_program_xcall()755 !(CPU->cpu_cpc_ctx->kc_flags & KCPC_CTX_INVALID_STOPPED)) { in cu_cpc_program_xcall()839 ASSERT(cp->cpu_cpc_ctx == ctx); in cu_cpc_unprogram()840 if (cp->cpu_cpc_ctx != ctx) { in cu_cpc_unprogram()857 cp->cpu_cpc_ctx = NULL; in cu_cpc_unprogram()
389 if (pp->dcpc_enabled && (c->cpu_cpc_ctx != NULL)) { in dcpc_populate_set()390 oset = c->cpu_cpc_ctx->kc_set; in dcpc_populate_set()496 octx = c->cpu_cpc_ctx; in dcpc_program_cpu_event()539 ctx = c->cpu_cpc_ctx; in dcpc_disable_cpu()685 if (c->cpu_cpc_ctx != NULL) in dcpc_program_event()838 kcpc_cpu_program(c, c->cpu_cpc_ctx); in dcpc_enable()
168 kcpc_ctx_t *cpu_cpc_ctx; /* performance counter context */ member