Lines Matching defs:ctx
93 #define KCPC_CTX_FLAG_SET(ctx, flag) atomic_or_uint(&(ctx)->kc_flags, (flag)) argument
94 #define KCPC_CTX_FLAG_CLR(ctx, flag) atomic_and_uint(&(ctx)->kc_flags, ~(flag)) argument
173 kcpc_ctx_t *ctx; in kcpc_bind_cpu() local
265 kcpc_ctx_t *ctx; in kcpc_bind_thread() local
359 kcpc_configure_reqs(kcpc_ctx_t *ctx, kcpc_set_t *set, int *subcode) in kcpc_configure_reqs()
430 kcpc_ctx_t *ctx = set->ks_ctx; in kcpc_sample() local
502 kcpc_stop_hw(kcpc_ctx_t *ctx) in kcpc_stop_hw()
523 kcpc_ctx_t *ctx; in kcpc_unbind() local
633 kcpc_ctx_t *ctx = set->ks_ctx; in kcpc_restart() local
675 kcpc_ctx_t *ctx = t->t_cpc_ctx; in kcpc_enable() local
760 kcpc_ctx_t *ctx = (kcpc_ctx_t *)token; in kcpc_next_config() local
813 kcpc_ctx_t *ctx; in kcpc_ctx_alloc() local
839 kcpc_ctx_clone(kcpc_ctx_t *ctx, kcpc_ctx_t *cctx) in kcpc_ctx_clone()
893 kcpc_ctx_free(kcpc_ctx_t *ctx) in kcpc_ctx_free()
922 kcpc_ctx_t *ctx; in kcpc_overflow_intr() local
1059 kcpc_ctx_t *ctx; in kcpc_hw_overflow_intr() local
1166 kcpc_ctx_t *ctx = curthread->t_cpc_ctx; in kcpc_overflow_ast() local
1217 kcpc_save(kcpc_ctx_t *ctx) in kcpc_save()
1266 kcpc_restore(kcpc_ctx_t *ctx) in kcpc_restore()
1378 kcpc_ctx_t *ctx = t->t_cpc_ctx, *cctx; in kcpc_lwp_create() local
1464 kcpc_free(kcpc_ctx_t *ctx, int isexec) in kcpc_free()
1578 kcpc_ctx_t *ctx; in kcpc_invalidate_all() local
1596 kcpc_ctx_t *ctx = token; in kcpc_invalidate_config() local
1609 kcpc_ctx_t *ctx = curthread->t_cpc_ctx; in kcpc_passivate() local
1667 kcpc_assign_reqs(kcpc_set_t *set, kcpc_ctx_t *ctx) in kcpc_assign_reqs()
1815 kcpc_ctx_t *ctx = t->t_cpc_ctx; in kcpc_invalidate() local
1897 kcpc_ctx_t *ctx; in kcpc_cpu_ctx_create() local
2068 kcpc_program(kcpc_ctx_t *ctx, boolean_t for_thread, boolean_t cu_interpose) in kcpc_program()
2145 kcpc_unprogram(kcpc_ctx_t *ctx, boolean_t cu_interpose) in kcpc_unprogram()
2193 kcpc_ctx_t *ctx; in kcpc_read() local
2464 kcpc_remoteprogram_func(kcpc_ctx_t *ctx, uintptr_t arg) in kcpc_remoteprogram_func()
2479 kcpc_cpu_program(cpu_t *cp, kcpc_ctx_t *ctx) in kcpc_cpu_program()