Lines Matching refs:sbag
78 sa_libpool_update(statistic_bag_t *sbag, int flags)
87 sbag->sb_changed = changed;
89 if (strcmp(sbag->sb_type, PSET_TYPE_NAME) == 0) {
91 ((pset_statistic_bag_t *)sbag->bag)->pset_sb_changed =
94 ((pset_statistic_bag_t *)sbag->bag)->pset_sb_changed =
96 update_pset(sbag);
97 } else if (strcmp(sbag->sb_type, POOL_TYPE_NAME) == 0) {
100 die(gettext(ERR_UNSUPP_STYPE), sbag->sb_type);
135 * Update statistic data for the procssor set with the name 'sbag->name'.
136 * Use 'sbag->bag' to store the data.
139 update_pset(statistic_bag_t *sbag)
145 ud.ud_bag = (void *) sbag->bag;
146 if ((pset_reso = pool_get_resource(conf, PSET_TYPE_NAME, sbag->sb_name))
148 die(gettext(ERR_STATS_RES_N), sbag->sb_name, get_errstr());
150 die(gettext(ERR_STATS_RES_N), sbag->sb_name, get_errstr());
155 die(gettext(ERR_STATS_RES_N), sbag->sb_name, get_errstr());