Lines Matching refs:pghw_cu_kstat
167 struct pghw_cu_kstat {
179 } pghw_cu_kstat = {
301 if (pg->pghw_cu_kstat != NULL) {
302 kstat_delete(pg->pghw_cu_kstat);
303 pg->pghw_cu_kstat = NULL;
533 if ((pg->pghw_cu_kstat = kstat_create("pg_hw_perf", ((pg_t *)pg)->pg_id,
536 sizeof (pghw_cu_kstat) / sizeof (kstat_named_t),
538 pg->pghw_cu_kstat->ks_lock = &pghw_kstat_lock;
539 pg->pghw_cu_kstat->ks_data = &pghw_cu_kstat;
540 pg->pghw_cu_kstat->ks_update = pghw_cu_kstat_update;
541 pg->pghw_cu_kstat->ks_private = pg;
542 pg->pghw_cu_kstat->ks_data_size += strlen(sharing) + 1;
544 pg->pghw_cu_kstat->ks_data_size += PGHW_KSTAT_STR_LEN_MAX;
545 pg->pghw_cu_kstat->ks_data_size += pg_cpulist_maxlen;
546 kstat_install(pg->pghw_cu_kstat);
571 struct pghw_cu_kstat *pgsp = &pghw_cu_kstat;