Lines Matching refs:__cpc
50 cpc_t *__cpc = NULL; variable
64 extern cpc_t *__cpc; /* CPC handle for obsolete clients to share */ in __cpc_init()
67 if (__cpc == NULL && (__cpc = cpc_open(CPC_VER_CURRENT)) == NULL) { in __cpc_init()
109 if ((set = __cpc_eventtoset(__cpc, this, flags)) == NULL) { in cpc_bind_event()
123 ret = cpc_bind_curlwp(__cpc, set, flags); in cpc_bind_event()
125 (void) cpc_set_destroy(__cpc, set); in cpc_bind_event()
229 extern cpc_t *__cpc; in cpc_shared_bind_event()
250 if ((set = __cpc_eventtoset(__cpc, this, flags)) == NULL) { in cpc_shared_bind_event()
269 (void) cpc_set_destroy(__cpc, set); in cpc_shared_bind_event()
313 if ((set = __cpc_eventtoset(__cpc, event, flags)) == NULL) { in cpc_pctx_bind_event()
326 ret = cpc_bind_pctx(__cpc, pctx, lwpid, set, 0); in cpc_pctx_bind_event()
328 (void) cpc_set_destroy(__cpc, set); in cpc_pctx_bind_event()
338 return (__pctx_cpc(pctx, __cpc, CPC_SAMPLE, lwpid, event->ce_pic, in cpc_pctx_take_sample()
349 return (__pctx_cpc(pctx, __cpc, CPC_INVALIDATE, lwpid, 0, 0, 0, 0)); in cpc_pctx_invalidate()
359 return (__pctx_cpc(pctx, __cpc, CPC_RELE, lwpid, 0, 0, 0, 0)); in cpc_pctx_rele()