Searched refs:cs_ksp (Results 1 – 2 of 2) sorted by relevance
682 cstate->cs_ksp = kstat_create("cstate", cp->cpu_id, in cpu_idle_init()688 if (cstate->cs_ksp == NULL) { in cpu_idle_init()691 cstate->cs_ksp->ks_data = &cpu_idle_kstat; in cpu_idle_init()692 cstate->cs_ksp->ks_lock = &cpu_idle_mutex; in cpu_idle_init()693 cstate->cs_ksp->ks_update = cpu_idle_kstat_update; in cpu_idle_init()694 cstate->cs_ksp->ks_data_size += MAXNAMELEN; in cpu_idle_init()695 cstate->cs_ksp->ks_private = cstate; in cpu_idle_init()696 kstat_install(cstate->cs_ksp); in cpu_idle_init()754 if (cstate->cs_ksp != NULL) in cpu_idle_fini()755 kstat_delete(cstate->cs_ksp); in cpu_idle_fini()[all …]
174 kstat_t *cs_ksp; member