Home
last modified time | relevance | path

Searched refs:s_psets (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/stat/common/
H A Dwalkers.c79 if (old->s_psets[i].ps_id < new->s_psets[j].ps_id) { in pset_walk()
80 cb(&old->s_psets[i], NULL, data); in pset_walk()
83 } else if (old->s_psets[i].ps_id > new->s_psets[j].ps_id) { in pset_walk()
84 cb(NULL, &new->s_psets[j], data); in pset_walk()
88 cb(&old->s_psets[i], &new->s_psets[j], data); in pset_walk()
95 cb(&old->s_psets[i], NULL, data); in pset_walk()
101 cb(NULL, &new->s_psets[j], data); in pset_walk()
H A Dacquire.c141 ss->s_psets = calloc(pids_nr + 1, sizeof (struct pset_snapshot)); in acquire_psets()
142 if (ss->s_psets == NULL) in acquire_psets()
147 ps = &ss->s_psets[0]; in acquire_psets()
155 ps = &ss->s_psets[i]; in acquire_psets()
165 ps = &ss->s_psets[i]; in acquire_psets()
379 if (ss->s_psets) { in free_snapshot()
381 free(ss->s_psets[i].ps_cpus); in free_snapshot()
382 free(ss->s_psets); in free_snapshot()
H A Dstatcommon.h221 struct pset_snapshot *s_psets; member