Lines Matching refs:kc
67 kstat_ctl_t *kc; in read_platform_kstats() local
76 if ((kc = kstat_open()) == NULL) { in read_platform_kstats()
92 ksp = kstat_lookup(kc, UNIX, board, FHC_KSTAT_NAME); in read_platform_kstats()
95 if ((ksp != NULL) && (kstat_read(kc, ksp, NULL) == -1)) { in read_platform_kstats()
126 ksp = kstat_lookup(kc, UNIX, board, AC_KSTAT_NAME); in read_platform_kstats()
129 if ((ksp != NULL) && (kstat_read(kc, ksp, NULL) == -1)) { in read_platform_kstats()
187 ksp = kstat_lookup(kc, UNIX, board, SIMMSTAT_KSTAT_NAME); in read_platform_kstats()
190 if (kstat_read(kc, ksp, NULL) == -1) { in read_platform_kstats()
200 ksp = kstat_lookup(kc, UNIX, board, OVERTEMP_KSTAT_NAME); in read_platform_kstats()
203 if (kstat_read(kc, ksp, NULL) == -1) { in read_platform_kstats()
217 ksp = kstat_lookup(kc, UNIX, 0, SYSCTRL_KSTAT_NAME); in read_platform_kstats()
219 if ((ksp != NULL) && (kstat_read(kc, ksp, NULL) == -1)) { in read_platform_kstats()
291 ksp = kstat_lookup(kc, UNIX, 0, PSSHAD_KSTAT_NAME); in read_platform_kstats()
293 if ((ksp != NULL) && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats()
303 ksp = kstat_lookup(kc, UNIX, CLOCK_BOARD_INDEX, OVERTEMP_KSTAT_NAME); in read_platform_kstats()
306 if (kstat_read(kc, ksp, NULL) == -1) { in read_platform_kstats()
319 ksp = kstat_lookup(kc, UNIX, 0, RESETINFO_KSTAT_NAME); in read_platform_kstats()
323 } else if (kstat_read(kc, ksp, NULL) == -1) { in read_platform_kstats()
333 ksp = kstat_lookup(kc, UNIX, i, BDLIST_KSTAT_NAME); in read_platform_kstats()
339 if (kstat_read(kc, ksp, NULL) == -1) { in read_platform_kstats()
349 ksp = kstat_lookup(kc, UNIX, 0, FT_LIST_KSTAT_NAME); in read_platform_kstats()
354 if (kstat_read(kc, ksp, NULL) == -1) { in read_platform_kstats()
393 kstat_ctl_t *kc; in read_sun4u_kstats() local
398 if ((kc = kstat_open()) == NULL) { in read_sun4u_kstats()
402 kc = kc; in read_sun4u_kstats()