Lines Matching refs:zs_usage_t
172 typedef struct zs_usage zs_usage_t;
200 zs_usage_t *zs_usage_read(zs_ctl_t *);
203 zs_usage_t *zs_usage_compute(zs_usage_t *, zs_usage_t *, zs_usage_t *, int);
204 void zs_usage_free(zs_usage_t *);
209 int zs_usage_set_add(zs_usage_set_t *, zs_usage_t *);
211 zs_usage_t *zs_usage_set_compute(zs_usage_set_t *, int);
214 void zs_resource_property(zs_usage_t *, int, int, zs_property_t *);
216 uint64_t zs_resource_total_uint64(zs_usage_t *, int);
217 uint64_t zs_resource_used_uint64(zs_usage_t *, int, int);
219 void zs_resource_total_time(zs_usage_t *, int, timestruc_t *);
220 void zs_resource_used_time(zs_usage_t *, int, int, timestruc_t *);
222 uint_t zs_resource_used_pct(zs_usage_t *, int, int);
226 int zs_zone_list(zs_usage_t *, zs_zone_t **, int);
227 zs_zone_t *zs_zone_first(zs_usage_t *);
228 zs_zone_t *zs_zone_next(zs_usage_t *, zs_zone_t *);
238 int zs_pset_list(zs_usage_t *, zs_pset_t **, int);
239 zs_pset_t *zs_pset_first(zs_usage_t *);
240 zs_pset_t *zs_pset_next(zs_usage_t *, zs_pset_t *);