Lines Matching refs:kstat_cpu_information
388 struct kstat_cpu_records *kstat_cpu_information;
401 if (g_ss_state_info.kstat_cpu_information)
402 free(g_ss_state_info.kstat_cpu_information);
403 if ((g_ss_state_info.kstat_cpu_information =
407 kstat_cpu_information = g_ss_state_info.kstat_cpu_information;
415 kstat_cpu_information[i].cs_state = p_online(i, P_STATUS);
417 if (!(CPU_ONLINE(kstat_cpu_information[i].cs_state))) {
418 kstat_cpu_information[i].cs_id = ID_NO_CPU;
424 kstat_cpu_information[i].cs_id = i;
428 if ((kstat_cpu_information[i].cpu_info_ksp_ptr =
445 struct kstat_cpu_records *kstat_cpu_information = NULL;
455 * kstat_cpu_information, then go and get the cpu information.
457 if ((ss->snap_changed || !g_ss_state_info.kstat_cpu_information) &&
461 kstat_cpu_information = g_ss_state_info.kstat_cpu_information;
468 ss->s_cpus[i].cs_id = kstat_cpu_information[i].cs_id;
469 ss->s_cpus[i].cs_state = kstat_cpu_information[i].cs_state;
478 ksp = kstat_cpu_information[i].cpu_info_ksp_ptr;
533 struct kstat_cpu_records *kstat_cpu_information = NULL;
548 * kstat_cpu_information, then go and get the cpu information.
550 if (ss->snap_changed || !g_ss_state_info.kstat_cpu_information)
554 kstat_cpu_information = g_ss_state_info.kstat_cpu_information;
559 ss->s_cpus[i].cs_id = kstat_cpu_information[i].cs_id;
560 ss->s_cpus[i].cs_state = kstat_cpu_information[i].cs_state;
561 ksp = kstat_cpu_information[i].cpu_info_ksp_ptr;