Lines Matching refs:oldc
283 int oldc = pvd->vdev_children; in vdev_compact_children() local
288 for (int c = newc = 0; c < oldc; c++) in vdev_compact_children()
294 for (int c = newc = 0; c < oldc; c++) { in vdev_compact_children()
301 kmem_free(pvd->vdev_child, oldc * sizeof (vdev_t *)); in vdev_compact_children()
835 uint64_t oldc = vd->vdev_ms_count; in vdev_metaslab_init() local
859 ASSERT(oldc <= newc); in vdev_metaslab_init()
863 if (oldc != 0) { in vdev_metaslab_init()
864 bcopy(vd->vdev_ms, mspp, oldc * sizeof (*mspp)); in vdev_metaslab_init()
865 kmem_free(vd->vdev_ms, oldc * sizeof (*mspp)); in vdev_metaslab_init()
871 for (m = oldc; m < newc; m++) { in vdev_metaslab_init()
896 if (oldc == 0 && !vd->vdev_removing) in vdev_metaslab_init()