Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libzonestat/common/
H A Dzonestat.h187 typedef struct zs_pset_zone zs_pset_zone_t; typedef
249 int zs_pset_zone_list(zs_pset_t *, zs_pset_zone_t **, int);
250 zs_pset_zone_t *zs_pset_zone_first(zs_pset_t *);
251 zs_pset_zone_t *zs_pset_zone_next(zs_pset_t *, zs_pset_zone_t *);
252 zs_zone_t *zs_pset_zone_get_zone(zs_pset_zone_t *);
253 zs_pset_t *zs_pset_zone_get_pset(zs_pset_zone_t *);
254 void zs_pset_zone_property(zs_pset_zone_t *, int, zs_property_t *);
255 void zs_pset_zone_used_time(zs_pset_zone_t *, timestruc_t *);
256 uint64_t zs_pset_zone_used_cpus(zs_pset_zone_t *);
257 uint_t zs_pset_zone_used_pct(zs_pset_zone_t *, int);
H A Dlibzonestat.c349 zs_pset_zone_add_usage(zs_pset_zone_t *old, zs_pset_zone_t *new, int func) in zs_pset_zone_add_usage()
364 zs_pset_zone_t *puold, *punew, *pures; in zs_usage_compute_pset_usage()
388 pures = (zs_pset_zone_t *)malloc( in zs_usage_compute_pset_usage()
389 sizeof (zs_pset_zone_t)); in zs_usage_compute_pset_usage()
453 pures = (zs_pset_zone_t *)malloc( in zs_usage_compute_pset_usage()
454 sizeof (zs_pset_zone_t)); in zs_usage_compute_pset_usage()
503 pures = (zs_pset_zone_t *)calloc(sizeof (zs_pset_zone_t), 1); in zs_usage_compute_pset_usage()
580 sizeof (zs_pset_zone_t), in zs_usage_compute_psets()
581 offsetof(zs_pset_zone_t, zspz_next)); in zs_usage_compute_psets()
625 sizeof (zs_pset_zone_t), in zs_usage_compute_psets()
[all …]
/illumos-gate/usr/src/cmd/zonestat/zonestat/
H A Dzonestat.c188 zs_pset_zone_t **g_pz_list;
1236 zs_pset_zone_t *zonea = *(zs_pset_zone_t **)a; in zonestat_pz_compare_usage()
1237 zs_pset_zone_t *zoneb = *(zs_pset_zone_t **)b; in zonestat_pz_compare_usage()
1709 zs_pset_zone_t *pz; in zonestat_print_pset()
1798 g_pz_list = (zs_pset_zone_t **)malloc( in zonestat_print_pset()
1799 sizeof (zs_pset_zone_t *) * num); in zonestat_print_pset()
1815 qsort(g_pz_list, num, sizeof (zs_pset_zone_t *), in zonestat_print_pset()
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c3701 zs_pset_zone_t *pusage; in zsd_usage_cache_update()
3713 sizeof (zs_pset_zone_t) * ctl->zsctl_npset_usages; in zsd_usage_cache_update()
3854 pusage = (zs_pset_zone_t *)next; in zsd_usage_cache_update()
3855 next += sizeof (zs_pset_zone_t); in zsd_usage_cache_update()
4209 zs_pset_zone_t *pz, *cpz, *foundpz; in zsd_usage_filter()
4285 cpz = (zs_pset_zone_t *)(csize + cstart); in zsd_usage_filter()
4291 csize += sizeof (zs_pset_zone_t); in zsd_usage_filter()
4293 cpz = (zs_pset_zone_t *)(csize + cstart); in zsd_usage_filter()
4298 pz = (zs_pset_zone_t *)(start + size); in zsd_usage_filter()
4299 size += sizeof (zs_pset_zone_t); in zsd_usage_filter()