Searched refs:zs_pset_t (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/lib/libzonestat/common/ |
H A D | zonestat.h | 186 typedef struct zs_pset zs_pset_t; typedef 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 *); 241 void zs_pset_property(zs_pset_t *, int, zs_property_t *); 242 void zs_pset_total_time(zs_pset_t *, timestruc_t *); 243 uint64_t zs_pset_total_cpus(zs_pset_t *); 244 void zs_pset_used_time(zs_pset_t *, int, timestruc_t *); 245 uint64_t zs_pset_used_cpus(zs_pset_t *, int); 246 uint_t zs_pset_used_pct(zs_pset_t *, int); [all …]
|
H A D | libzonestat.c | 141 list_create(&u->zsu_pset_list, sizeof (zs_pset_t), in zs_usage_alloc() 142 offsetof(zs_pset_t, zsp_next)); in zs_usage_alloc() 362 zs_pset_t *pres, zs_pset_t *pold, zs_pset_t *pnew, int func) in zs_usage_compute_pset_usage() 524 zs_pset_add_usage(zs_pset_t *old, zs_pset_t *new, int func) in zs_pset_add_usage() 554 zs_pset_t *pold, *pnew, *pres; in zs_usage_compute_psets() 574 pres = (zs_pset_t *)malloc(sizeof (zs_pset_t)); in zs_usage_compute_psets() 619 pres = (zs_pset_t *)calloc(sizeof (zs_pset_t), 1); in zs_usage_compute_psets() 664 pres = (zs_pset_t *)calloc(sizeof (zs_pset_t), 1); in zs_usage_compute_psets() 943 zs_pset_name(zs_pset_t *pset, char *name, size_t len) in zs_pset_name() 949 zs_pset_id(zs_pset_t *pset) in zs_pset_id() [all …]
|
/titanic_41/usr/src/cmd/zonestat/zonestat/ |
H A D | zonestat.c | 190 zs_pset_t **g_pset_list; 1205 zs_pset_t *pseta = *(zs_pset_t **)a; in zonestat_pset_compare() 1206 zs_pset_t *psetb = *(zs_pset_t **)b; in zonestat_pset_compare() 1707 zonestat_print_pset(int report_fmt, zs_pset_t *pset, char *cputype) in zonestat_print_pset() 1995 zs_pset_t *pset; in zonestat_print_psets() 2005 g_pset_list = (zs_pset_t **)malloc( in zonestat_print_psets() 2006 sizeof (zs_pset_t *) * num); in zonestat_print_psets() 2012 qsort(g_pset_list, num, sizeof (zs_pset_t *), zonestat_pset_compare); in zonestat_print_psets()
|
/titanic_41/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 3705 zs_pset_t *pset = NULL; in zsd_usage_cache_update() 3718 sizeof (zs_pset_t) * ctl->zsctl_npsets + in zsd_usage_cache_update() 3835 pset = (zs_pset_t *)next; in zsd_usage_cache_update() 3836 next += sizeof (zs_pset_t); in zsd_usage_cache_update() 4232 zs_pset_t *pset, *cpset; in zsd_usage_filter() 4303 pset = (zs_pset_t *)(start + size); in zsd_usage_filter() 4305 cpset = (zs_pset_t *)(cstart + csize); in zsd_usage_filter() 4307 csize += sizeof (zs_pset_t); in zsd_usage_filter() 4320 size += sizeof (zs_pset_t); in zsd_usage_filter() 4338 cpset = (zs_pset_t *)(cstart + csize); in zsd_usage_filter()
|