Searched refs:cpuip (Results 1 - 1 of 1) sorted by relevance
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | cpu.c | 102 cpu_node_t *cpuip; local 111 if ((cpuip = topo_mod_zalloc(mod, sizeof (cpu_node_t))) == NULL) 114 if ((cpuip->cn_kc = kstat_open()) == NULL) { 117 topo_mod_free(mod, cpuip, sizeof (cpu_node_t)); 121 cpuip->cn_ncpustats = sysconf(_SC_CPUID_MAX); 122 if ((cpuip->cn_cpustats = topo_mod_zalloc(mod, ( 123 cpuip->cn_ncpustats + 1) * sizeof (kstat_t *))) == NULL) { 124 (void) kstat_close(cpuip->cn_kc); 125 topo_mod_free(mod, cpuip, sizeof (cpu_node_t)); 132 topo_mod_free(mod, cpuip 147 cpu_node_t *cpuip; local 162 cpu_kstat_init(cpu_node_t *cpuip, int i) argument 181 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 219 cpu_node_t *cpuip = (cpu_node_t *)arg; local [all...] |
Completed in 19 milliseconds