Searched refs:ninstances (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/kvmstat/
H A Dkvmstat.c124 int ninstances = 0, i; local
159 ninstances++;
182 ninstances++;
190 sorted = (void *)alloca(ninstances * sizeof (kstat_instance_t *));
191 ninstances = 0;
199 sorted[ninstances++] = ksi;
203 if (ninstances == 0) {
208 qsort(sorted, ninstances, sizeof (kstat_instance_t *),
213 for (i = 0; i < ninstances; i++) {
215 ksi->ksi_next = i < ninstances
[all...]

Completed in 55 milliseconds