Lines Matching refs:newc
286 int newc;
290 for (int c = newc = 0; c < oldc; c++)
292 newc++;
294 newchild = kmem_alloc(newc * sizeof (vdev_t *), KM_SLEEP);
296 for (int c = newc = 0; c < oldc; c++) {
298 newchild[newc] = cvd;
299 cvd->vdev_id = newc++;
305 pvd->vdev_children = newc;
855 uint64_t newc = vd->vdev_asize >> vd->vdev_ms_shift;
878 ASSERT(oldc <= newc);
880 mspp = kmem_zalloc(newc * sizeof (*mspp), KM_SLEEP);
888 vd->vdev_ms_count = newc;
890 for (m = oldc; m < newc; m++) {