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