Lines Matching refs:pghw_kstat
112 struct pghw_kstat {
119 } pghw_kstat = {
278 if (pg->pghw_kstat != NULL)
279 kstat_delete(pg->pghw_kstat);
511 if ((pg->pghw_kstat = kstat_create("pg", ((pg_t *)pg)->pg_id,
514 sizeof (pghw_kstat) / sizeof (kstat_named_t),
517 pg->pghw_kstat->ks_data_size += PG_CLASS_NAME_MAX;
518 pg->pghw_kstat->ks_data_size += PGHW_KSTAT_STR_LEN_MAX;
519 pg->pghw_kstat->ks_data_size += PGHW_KSTAT_STR_LEN_MAX;
520 pg->pghw_kstat->ks_lock = &pghw_kstat_lock;
521 pg->pghw_kstat->ks_data = &pghw_kstat;
522 pg->pghw_kstat->ks_update = pghw_kstat_update;
523 pg->pghw_kstat->ks_private = pg;
524 kstat_install(pg->pghw_kstat);
553 struct pghw_kstat *pgsp = &pghw_kstat;