Searched refs:kc (Results 1 - 5 of 5) sorted by relevance
/solaris-userland/components/net-snmp-57/sun/agent/modules/healthMonitor/ |
H A D | kr_vmstat.c | 36 static kstat_ctl_t *kc; /* libkstat cookie */ variable 80 if ((kc = kstat_open()) == NULL) 87 while (kstat_chain_update(kc) || all_stat_load()) { 103 /* kstat_close(kc); 104 kc = (kstat_ctl_t *)NULL;*/ 125 if ((kc = kstat_open()) == NULL) { 138 while (kstat_chain_update(kc) || all_stat_load()) 155 /* kstat_close(kc); 156 kc = (kstat_ctl_t *)NULL; 169 if ((kc 308 safe_kstat_read(kstat_ctl_t *kc, kstat_t *ksp, void *data) argument 317 safe_kstat_lookup(kstat_ctl_t *kc, char *ks_module, int ks_instance, char *ks_name) argument [all...] |
H A D | kr_nfsstat.c | 47 static kstat_ctl_t *kc = NULL; /* libkstat cookie */ variable 74 safe_kstat_read(kc, rpc_clts_client_kstat, NULL); 78 safe_kstat_read(kc, rpc_cots_client_kstat, NULL); 91 if (kc) 92 kstat_close(kc); 97 kc = (kstat_ctl_t *)NULL; 107 if ((kc = kstat_open()) == NULL) 111 rpc_clts_client_kstat = kstat_lookup(kc, "unix", 0, "rpc_clts_client"); 112 rpc_cots_client_kstat = kstat_lookup(kc, "unix", 0, "rpc_cots_client"); 221 safe_kstat_read(kstat_ctl_t *kc, kstat_ argument [all...] |
H A D | kr_memory.c | 29 extern kstat_ctl_t *kc; 65 if ((first_time) || (!kc)) 138 if ((first_time) || (!kc)) 153 for (ksp = kc->kc_chain; ksp != NULL; ksp = ksp->ks_next) { 158 if (kstat_read(kc, ksp, NULL) == -1)
|
H A D | kr_iostat.c | 36 kstat_ctl_t *kc; /* libkstat cookie */ variable 194 if ((kc = kstat_open()) == NULL) 223 ret=kstat_chain_update(kc); 253 if ((first_time) || (!kc)) 258 /* while (kstat_chain_update(kc) || cpu_stat_load(1)) { 285 if ((first_time) || (!kc)) 310 if ((first_time) || (!kc)) { 483 for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) { 486 if (kstat_read(kc, ksp, NULL) == -1) { 499 for (ksp = kc [all...] |
/solaris-userland/components/open-fabrics/libibverbs/ |
H A D | solaris_compatibility.c | 92 static kstat_ctl_t *kc = NULL; /* libkstat cookie */ variable 177 while ((kc = kstat_open()) == NULL) { 189 (void) kstat_close(kc); 1274 if ((ksp = kstat_lookup(kc, "cpu_info", i, NULL)) == NULL) { 1281 if ((kstat_read(kc, ksp, NULL) == -1)) { 1332 if ((ksp = kstat_lookup(kc, "cpu", i, "sys")) == NULL) { 1339 if (kstat_read(kc, ksp, NULL) == -1) {
|
Completed in 34 milliseconds