Searched defs:kc (Results 1 - 4 of 4) sorted by relevance
/solaris-userland-s11u3/components/net-snmp/sun/agent/modules/healthMonitor/ |
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_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_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-s11u3/components/open-fabrics/libibverbs/ |
H A D | solaris_compatibility.c | 92 static kstat_ctl_t *kc = NULL; /* libkstat cookie */ variable 219 while ((kc = kstat_open()) == NULL) { 231 (void) kstat_close(kc); 1320 if ((ksp = kstat_lookup(kc, "cpu_info", i, NULL)) == NULL) { 1327 if ((kstat_read(kc, ksp, NULL) == -1)) { 1378 if ((ksp = kstat_lookup(kc, "cpu", i, "sys")) == NULL) { 1385 if (kstat_read(kc, ksp, NULL) == -1) {
|
Completed in 19 milliseconds