Lines Matching refs:kc
61 static kstat_ctl_t *kc = NULL; variable
88 if (!kc) in open_kstat()
90 kc = kstat_open(); in open_kstat()
91 if (!kc) in open_kstat()
97 kcid = kc->kc_chain_id; in open_kstat()
118 nkcid = kstat_chain_update(kc); in open_kstat()
132 ks = kstat_lookup(kc, "unix", 0, "system_misc"); in open_kstat()
133 if (kstat_read(kc, ks, 0) == -1) { in open_kstat()
153 for (ks = kc->kc_chain; ks; in open_kstat()
158 nkcid = kstat_read(kc, ks, NULL); in open_kstat()
199 kc,
203 nkcid = kstat_read(kc, cpu_ks[cpu], &cpu_stat);