Lines Matching refs:__cpc
48 cpc_t *__cpc = NULL; variable
62 extern cpc_t *__cpc; /* CPC handle for obsolete clients to share */ in __cpc_init()
65 if (__cpc == NULL && (__cpc = cpc_open(CPC_VER_CURRENT)) == NULL) { in __cpc_init()
107 if ((set = __cpc_eventtoset(__cpc, this, flags)) == NULL) { in cpc_bind_event()
121 ret = cpc_bind_curlwp(__cpc, set, flags); in cpc_bind_event()
123 (void) cpc_set_destroy(__cpc, set); in cpc_bind_event()
227 extern cpc_t *__cpc; in cpc_shared_bind_event()
248 if ((set = __cpc_eventtoset(__cpc, this, flags)) == NULL) { in cpc_shared_bind_event()
267 (void) cpc_set_destroy(__cpc, set); in cpc_shared_bind_event()
311 if ((set = __cpc_eventtoset(__cpc, event, flags)) == NULL) { in cpc_pctx_bind_event()
324 ret = cpc_bind_pctx(__cpc, pctx, lwpid, set, 0); in cpc_pctx_bind_event()
326 (void) cpc_set_destroy(__cpc, set); in cpc_pctx_bind_event()
336 return (__pctx_cpc(pctx, __cpc, CPC_SAMPLE, lwpid, event->ce_pic, in cpc_pctx_take_sample()
347 return (__pctx_cpc(pctx, __cpc, CPC_INVALIDATE, lwpid, 0, 0, 0, 0)); in cpc_pctx_invalidate()
357 return (__pctx_cpc(pctx, __cpc, CPC_RELE, lwpid, 0, 0, 0, 0)); in cpc_pctx_rele()