Lines Matching defs:new_total
205 int32_t old_total, new_total, removed_total;
234 if ((error = nvlist_lookup_int32(nvl, "new_total", &new_total)) != 0) {
238 gettext("POOL: unable to find 'new_total' in nvlist: %s\n"),
243 if (new_total >= old_total) {
250 gettext("POOL: 'old_total' (%d) is less than 'new_total' "
251 "(%d)\n"), old_total, new_total);
254 if ((removed_list = malloc((old_total - new_total + 1) * sizeof (int)))
285 if (nelem != new_total) {
288 "%2$d\n"), nelem, new_total);
294 for (j = 0; j < new_total; j++)
297 if (j == new_total) /* not found in new_cpu_list */
302 if (removed_total != (old_total - new_total)) {