Searched refs:ksp (Results 1 - 5 of 5) sorted by relevance
/solaris-userland-s11u3/components/net-snmp/sun/agent/modules/healthMonitor/ |
H A D | kr_memory.c | 39 kstat_named_value(kstat_t *ksp, char *name) argument 43 if (ksp == NULL) 46 knp = kstat_data_lookup(ksp, name); 81 *mem_avail = kstat_named_value(ksp, "physmem") / intfactor; */ 89 /* *mem_avail = kstat_named_value(ksp, "physmem") * intfactor; */ 135 kstat_t *ksp; local 153 for (ksp = kc->kc_chain; ksp != NULL; ksp = ksp [all...] |
H A D | kr_vmstat.c | 199 kstat_t *ksp; local 219 for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) 220 if (strncmp(ksp->ks_name, "cpu_stat", 8) == 0) 226 for (ksp = kc->kc_chain; ksp; ksp = ksp 308 safe_kstat_read(kstat_ctl_t *kc, kstat_t *ksp, void *data) argument 320 kstat_t *ksp = kstat_lookup(kc, ks_module, ks_instance, ks_name); local 331 safe_kstat_data_lookup(kstat_t *ksp, char *name) argument [all...] |
H A D | kr_iostat.c | 477 kstat_t *ksp; local 483 for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) { 484 if (strncmp(ksp->ks_name, "cpu_stat", 8) == 0) { 486 if (kstat_read(kc, ksp, NULL) == -1) { 487 /* ddlPrintf(DDL_ERROR, "cpu_stat_init - kstat_read() failed for cpu:%s\n", ksp->ks_name);*/ 499 for (ksp = kc->kc_chain; ksp; ks 619 kstat_t *ksp; local 770 kstat_t *ksp; local [all...] |
H A D | kr_nfsstat.c | 221 safe_kstat_read(kstat_ctl_t *kc, kstat_t *ksp, void *data) argument 223 kid_t kstat_chain_id = kstat_read(kc, ksp, data); 226 fail(1, "kstat_read(%x, '%s') failed", kc, ksp->ks_name);
|
/solaris-userland-s11u3/components/open-fabrics/libibverbs/ |
H A D | solaris_compatibility.c | 1303 kstat_t *ksp; local 1320 if ((ksp = kstat_lookup(kc, "cpu_info", i, NULL)) == NULL) { 1327 if ((kstat_read(kc, ksp, NULL) == -1)) { 1334 if ((knp = (kstat_named_t *)kstat_data_lookup(ksp, "brand")) 1345 if ((knp = (kstat_named_t *)kstat_data_lookup(ksp, "clock_MHz")) 1366 kstat_t *ksp; local 1378 if ((ksp = kstat_lookup(kc, "cpu", i, "sys")) == NULL) { 1385 if (kstat_read(kc, ksp, NULL) == -1) { 1393 kstat_data_lookup(ksp, "cpu_ticks_user")) == NULL) { 1403 kstat_data_lookup(ksp, "cpu_ticks_kerne [all...] |
Completed in 35 milliseconds