Lines Matching refs:ksd
1732 struct kstat_named *ksd;
1738 ksd = (struct kstat_named *)ksp->ks_data;
1739 ASSERT(ksd == (struct kstat_named *)&lgrp_kstat_data);
1748 ksd[stat].value.i64 = 0;
1750 ksd[stat + LGRP_NUM_CPUS].value.i64 = 0;
1751 ksd[stat + LGRP_NUM_PG_INSTALL].value.i64 = 0;
1752 ksd[stat + LGRP_NUM_PG_AVAIL].value.i64 = 0;
1753 ksd[stat + LGRP_NUM_PG_FREE].value.i64 = 0;
1754 ksd[stat + LGRP_LOADAVG].value.i64 = 0;
1760 ksd[stat].value.i64 = lgrp_stat_read(lgrpid, stat);
1766 ksd[stat + LGRP_NUM_CPUS].value.i64 = lgrp->lgrp_cpucnt;
1767 ksd[stat + LGRP_NUM_PG_INSTALL].value.i64 =
1769 ksd[stat + LGRP_NUM_PG_AVAIL].value.i64 =
1771 ksd[stat + LGRP_NUM_PG_FREE].value.i64 =
1773 ksd[stat + LGRP_LOADAVG].value.i64 = lgrp_sum_loadavgs(lgrp);
1774 ksd[stat + LGRP_LOADAVG_SCALE].value.i64 =