Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/pools/poolstat/
H A Dsa_libpool.c78 sa_libpool_update(statistic_bag_t *sbag, int flags) in sa_libpool_update() argument
87 sbag->sb_changed = changed; in sa_libpool_update()
89 if (strcmp(sbag->sb_type, PSET_TYPE_NAME) == 0) { in sa_libpool_update()
91 ((pset_statistic_bag_t *)sbag->bag)->pset_sb_changed = in sa_libpool_update()
94 ((pset_statistic_bag_t *)sbag->bag)->pset_sb_changed = in sa_libpool_update()
96 update_pset(sbag); in sa_libpool_update()
97 } else if (strcmp(sbag->sb_type, POOL_TYPE_NAME) == 0) { in sa_libpool_update()
100 die(gettext(ERR_UNSUPP_STYPE), sbag->sb_type); in sa_libpool_update()
139 update_pset(statistic_bag_t *sbag) in update_pset() argument
145 ud.ud_bag = (void *) sbag->bag; in update_pset()
[all …]
H A Dsa_kstat.c86 sa_kstat_update(statistic_bag_t *sbag, int flags) in sa_kstat_update() argument
103 if (strcmp(sbag->sb_type, PSET_TYPE_NAME) == 0) { in sa_kstat_update()
104 update_pset_stats(sbag, cpu_list); in sa_kstat_update()
105 } else if (strcmp(sbag->sb_type, POOL_TYPE_NAME) == 0) { in sa_kstat_update()
108 die(gettext(ERR_UNSUPP_STYPE), sbag->sb_type); in sa_kstat_update()
313 update_pset_stats(statistic_bag_t *sbag, sdata_t *list) in update_pset_stats() argument
316 pset_statistic_bag_t *bag = (pset_statistic_bag_t *)sbag->bag; in update_pset_stats()
H A Dpoolstat.c427 sa_update(statistic_bag_t *sbag, int flags) in sa_update() argument
429 sa_libpool_update(sbag, flags); in sa_update()
430 sa_kstat_update(sbag, flags); in sa_update()
824 statistic_bag_t *sbag; in prt_resource_stats_by_type() local
829 sbag = pset_sbag; in prt_resource_stats_by_type()
843 if (pool_value_get_string(pv_name, &sbag->sb_name) == -1) in prt_resource_stats_by_type()
845 sa_update(sbag, 0); in prt_resource_stats_by_type()
867 statistic_bag_t *sbag; in update_resource_stats() local
871 sbag = pset_sbag; in update_resource_stats()
883 if (pool_value_get_string(pv_name, &sbag->sb_name) == -1) in update_resource_stats()
[all …]
H A Dpoolstat.h101 extern void sa_libpool_update(statistic_bag_t *sbag, int flags);
103 extern void sa_kstat_update(statistic_bag_t *sbag, int flags);