Home
last modified time | relevance | path

Searched refs:sbag (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dsa_libpool.c76 sa_libpool_update(statistic_bag_t *sbag, int flags) in sa_libpool_update() argument
85 sbag->sb_changed = changed; in sa_libpool_update()
87 if (strcmp(sbag->sb_type, PSET_TYPE_NAME) == 0) { in sa_libpool_update()
89 ((pset_statistic_bag_t *)sbag->bag)->pset_sb_changed = in sa_libpool_update()
92 ((pset_statistic_bag_t *)sbag->bag)->pset_sb_changed = in sa_libpool_update()
94 update_pset(sbag); in sa_libpool_update()
95 } else if (strcmp(sbag->sb_type, POOL_TYPE_NAME) == 0) { in sa_libpool_update()
98 die(gettext(ERR_UNSUPP_STYPE), sbag->sb_type); in sa_libpool_update()
137 update_pset(statistic_bag_t *sbag) in update_pset() argument
143 ud.ud_bag = (void *) sbag->bag; in update_pset()
[all …]
H A Dsa_kstat.c84 sa_kstat_update(statistic_bag_t *sbag, int flags) in sa_kstat_update() argument
101 if (strcmp(sbag->sb_type, PSET_TYPE_NAME) == 0) { in sa_kstat_update()
102 update_pset_stats(sbag, cpu_list); in sa_kstat_update()
103 } else if (strcmp(sbag->sb_type, POOL_TYPE_NAME) == 0) { in sa_kstat_update()
106 die(gettext(ERR_UNSUPP_STYPE), sbag->sb_type); in sa_kstat_update()
311 update_pset_stats(statistic_bag_t *sbag, sdata_t *list) in update_pset_stats() argument
314 pset_statistic_bag_t *bag = (pset_statistic_bag_t *)sbag->bag; in update_pset_stats()
H A Dpoolstat.c428 sa_update(statistic_bag_t *sbag, int flags) in sa_update() argument
430 sa_libpool_update(sbag, flags); in sa_update()
431 sa_kstat_update(sbag, flags); in sa_update()
825 statistic_bag_t *sbag; in prt_resource_stats_by_type() local
830 sbag = pset_sbag; in prt_resource_stats_by_type()
844 if (pool_value_get_string(pv_name, &sbag->sb_name) == -1) in prt_resource_stats_by_type()
846 sa_update(sbag, 0); in prt_resource_stats_by_type()
868 statistic_bag_t *sbag; in update_resource_stats() local
872 sbag = pset_sbag; in update_resource_stats()
884 if (pool_value_get_string(pv_name, &sbag->sb_name) == -1) in update_resource_stats()
[all …]
H A Dpoolstat.h99 extern void sa_libpool_update(statistic_bag_t *sbag, int flags);
101 extern void sa_kstat_update(statistic_bag_t *sbag, int flags);