Home
last modified time | relevance | path

Searched refs:cpc_t (Results 1 – 13 of 13) sorted by relevance

/titanic_44/usr/src/lib/libcpc/common/
H A Dlibcpc.h49 typedef struct __cpc cpc_t; typedef
62 extern cpc_t *cpc_open(int ver);
63 extern int cpc_close(cpc_t *cpc);
68 extern uint_t cpc_npic(cpc_t *cpc);
69 extern uint_t cpc_caps(cpc_t *cpc);
70 extern const char *cpc_cciname(cpc_t *cpc);
71 extern const char *cpc_cpuref(cpc_t *cpc);
80 extern int cpc_seterrhndlr(cpc_t *cpc, cpc_errhndlr_t *fn);
82 extern cpc_set_t *cpc_set_create(cpc_t *cpc);
83 extern int cpc_set_destroy(cpc_t *cpc, cpc_set_t *set);
[all …]
H A Dlibcpc.c55 static void cpc_err(cpc_t *cpc, const char *fn, int subcode, ...);
56 static int cpc_set_valid(cpc_t *cpc, cpc_set_t *set);
57 static int cpc_lock(cpc_t *cpc);
58 static void cpc_unlock(cpc_t *cpc, int blocked);
59 static int cpc_valid_event(cpc_t *cpc, uint_t pic, const char *ev);
60 static int cpc_valid_attr(cpc_t *cpc, char *attr);
61 static void cpc_invalidate_pctx(cpc_t *cpc, pctx_t *pctx);
63 cpc_t *
66 cpc_t *cpc; in cpc_open()
99 if ((cpc = malloc(sizeof (cpc_t))) == NULL) { in cpc_open()
[all …]
H A Dobsoleted.c50 cpc_t *__cpc = NULL;
64 extern cpc_t *__cpc; /* CPC handle for obsolete clients to share */ in __cpc_init()
229 extern cpc_t *__cpc; in cpc_shared_bind_event()
H A Dlibcpc_impl.h109 extern cpc_t *__cpc;
156 extern cpc_set_t *__cpc_eventtoset(cpc_t *cpc, cpc_event_t *event, int flags);
/titanic_44/usr/src/cmd/cpc/common/
H A Dcpucmds.h42 extern cpc_set_t *cpc_strtoset(cpc_t *cpc, const char *spec, int smt);
44 extern int capabilities(cpc_t *cpc, FILE *);
45 extern int smt_limited_cpc_hw(cpc_t *cpc);
54 extern cpc_setgrp_t *cpc_setgrp_new(cpc_t *cpc, int smt);
H A Dcaps.c119 allpics_equal(cpc_t *cpc) in allpics_equal()
154 capabilities(cpc_t *cpc, FILE *fp) in capabilities()
251 smt_limited_cpc_hw(cpc_t *cpc) in smt_limited_cpc_hw()
H A Dstrtoset.c89 static cpc_t *cpc;
315 cpc_count_attrs(cpc_t *cpc) in cpc_count_attrs()
339 cpc_strtoset(cpc_t *cpcin, const char *spec, int smt) in cpc_strtoset()
H A Dsetgrp.c62 cpc_t *cpc; /* library handle */
68 cpc_setgrp_new(cpc_t *cpc, int smt) in cpc_setgrp_new()
H A Dcpustat.c86 static cpc_t *cpc;
H A Dcputrack.c63 static cpc_t *cpc;
/titanic_44/usr/src/lib/libpctx/common/
H A Dlibpctx.c69 cpc_t *cpc;
72 static void (*pctx_cpc_callback)(cpc_t *cpc, struct __pctx *pctx);
870 __pctx_cpc(pctx_t *pctx, cpc_t *cpc, in __pctx_cpc()
/titanic_44/usr/src/lib/libcpc/sparc/
H A Devent_ultra.c451 __cpc_eventtoset(cpc_t *cpc, cpc_event_t *event, int iflags) in __cpc_eventtoset()
/titanic_44/usr/src/lib/libcpc/i386/
H A Devent_pentium.c691 __cpc_eventtoset(cpc_t *cpc, cpc_event_t *event, int iflags) in __cpc_eventtoset()