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

/solaris-userland-s11u3/components/net-snmp/sun/agent/modules/healthMonitor/
H A Dkr_vmstat.c38 static kstat_t **cpu_stat_list = NULL; variable
223 safe_zalloc((void **) &cpu_stat_list, ncpus * sizeof (kstat_t *), 1);
229 cpu_stat_list[ncpus++] = ksp;
267 if (kstat_read(kc, cpu_stat_list[i], (void *) &cs) == -1)
H A Dkr_iostat.c48 static kstat_t **cpu_stat_list = NULL; variable
494 safe_zalloc((void **)&cpu_stat_list, tmp_ncpus * sizeof (kstat_t *), 1);
502 cpu_stat_list[ncpus++] = ksp;
548 if (kstat_read(kc, cpu_stat_list[i], (void *)&cpu_stat_data[i]) == -1) {
549 /* ddlPrintf(DDL_ERROR, "cpu_stat_load - kstat_read() failed for cpu:%s\n", cpu_stat_list[i]->ks_name); */

Completed in 14 milliseconds