Lines Matching refs:pg_t
511 if ((pg->pghw_kstat = kstat_create("pg", ((pg_t *)pg)->pg_id, in pghw_kstat_create()
533 if ((pg->pghw_cu_kstat = kstat_create("pg_hw_perf", ((pg_t *)pg)->pg_id, in pghw_kstat_create()
559 pgsp->pg_id.value.ui32 = ((pg_t *)pg)->pg_id; in pghw_kstat_update()
560 pgsp->pg_ncpus.value.ui32 = GROUP_SIZE(&((pg_t *)pg)->pg_cpus); in pghw_kstat_update()
562 kstat_named_setstr(&pgsp->pg_class, ((pg_t *)pg)->pg_class->pgc_name); in pghw_kstat_update()
564 kstat_named_setstr(&pgsp->pg_policy, pg_policy_name((pg_t *)pg)); in pghw_kstat_update()
586 pgsp->pg_id.value.i32 = ((pg_t *)pg)->pg_id; in pghw_cu_kstat_update()
589 pgsp->pg_ncpus.value.ui32 = GROUP_SIZE(&((pg_t *)pg)->pg_cpus); in pghw_cu_kstat_update()
622 (void) group2intlist(&(((pg_t *)pg)->pg_cpus), in pghw_cu_kstat_update()
673 uint_t ncpus = GROUP_SIZE(&((pg_t *)pg)->pg_cpus); in pghw_cpulist_alloc()
737 pg_t *pg = (pg_t *)pghw; in pghw_parent_id()
742 pg_t *parent = (pg_t *)cmt->cmt_parent; in pghw_parent_id()