Lines Matching refs:pgsp
553 struct pghw_kstat *pgsp = &pghw_kstat;
559 pgsp->pg_id.value.ui32 = ((pg_t *)pg)->pg_id;
560 pgsp->pg_ncpus.value.ui32 = GROUP_SIZE(&((pg_t *)pg)->pg_cpus);
561 pgsp->pg_instance_id.value.ui32 = pg->pghw_instance;
562 kstat_named_setstr(&pgsp->pg_class, ((pg_t *)pg)->pg_class->pgc_name);
563 kstat_named_setstr(&pgsp->pg_hw, pghw_type_string(pg->pghw_hw));
564 kstat_named_setstr(&pgsp->pg_policy, pg_policy_name((pg_t *)pg));
571 struct pghw_cu_kstat *pgsp = &pghw_cu_kstat;
586 pgsp->pg_id.value.i32 = ((pg_t *)pg)->pg_id;
587 pgsp->pg_parent_id.value.i32 = (int)pghw_parent_id(pg);
589 pgsp->pg_ncpus.value.ui32 = GROUP_SIZE(&((pg_t *)pg)->pg_cpus);
632 pgsp->pg_generation.value.ui32 = pg->pghw_kstat_gen;
634 kstat_named_setstr(&pgsp->pg_cpus, pg->pghw_cpulist);
636 kstat_named_setstr(&pgsp->pg_cpus, "");
638 kstat_named_setstr(&pgsp->pg_relationship,
642 pgsp->pg_hw_util.value.ui64 = hw_util->pghw_util;
643 pgsp->pg_hw_util_time_running.value.ui64 =
645 pgsp->pg_hw_util_time_stopped.value.ui64 =
647 pgsp->pg_hw_util_rate.value.ui64 = hw_util->pghw_rate;
648 pgsp->pg_hw_util_rate_max.value.ui64 = hw_util->pghw_rate_max;
650 pgsp->pg_hw_util.value.ui64 = 0;
651 pgsp->pg_hw_util_time_running.value.ui64 = 0;
652 pgsp->pg_hw_util_time_stopped.value.ui64 = 0;
653 pgsp->pg_hw_util_rate.value.ui64 = 0;
654 pgsp->pg_hw_util_rate_max.value.ui64 = 0;