Searched refs:cpuip (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dcpu.c80 cpu_node_t *cpuip; local
89 if ((cpuip = topo_mod_zalloc(mod, sizeof (cpu_node_t))) == NULL)
92 if ((cpuip->cn_kc = kstat_open()) == NULL) {
95 topo_mod_free(mod, cpuip, sizeof (cpu_node_t));
99 cpuip->cn_ncpustats = sysconf(_SC_CPUID_MAX);
100 if ((cpuip->cn_cpustats = topo_mod_zalloc(mod, (
101 cpuip->cn_ncpustats + 1) * sizeof (kstat_t *))) == NULL) {
102 (void) kstat_close(cpuip->cn_kc);
103 topo_mod_free(mod, cpuip, sizeof (cpu_node_t));
110 topo_mod_free(mod, cpuip
125 cpu_node_t *cpuip; local
140 cpu_kstat_init(cpu_node_t *cpuip, int i) argument
159 cpu_create(topo_mod_t *mod, tnode_t *rnode, const char *name, topo_instance_t min, topo_instance_t max, cpu_node_t *cpuip) argument
197 cpu_node_t *cpuip = (cpu_node_t *)arg; local
[all...]

Completed in 53 milliseconds