Lines Matching refs:vdev_children

100 	for (int c = 0; c < vd->vdev_children; c++) {
138 return (pvd->vdev_min_asize / pvd->vdev_children);
148 for (int c = 0; c < vd->vdev_children; c++)
159 if (vdev < rvd->vdev_children) {
175 for (int c = 0; c < vd->vdev_children; c++)
191 for (int c = 0; c < vd->vdev_children; c++)
219 ASSERT(id >= pvd->vdev_children || pvd->vdev_child[id] == NULL);
221 oldsize = pvd->vdev_children * sizeof (vdev_t *);
222 pvd->vdev_children = MAX(pvd->vdev_children, id + 1);
223 newsize = pvd->vdev_children * sizeof (vdev_t *);
255 ASSERT(id < pvd->vdev_children);
261 for (c = 0; c < pvd->vdev_children; c++)
265 if (c == pvd->vdev_children) {
268 pvd->vdev_children = 0;
285 int oldc = pvd->vdev_children;
305 pvd->vdev_children = newc;
625 for (int c = 0; c < vd->vdev_children; c++)
768 for (int c = 0; c < vd->vdev_children; c++)
795 cvd->vdev_id = mvd->vdev_children;
816 ASSERT(mvd->vdev_children == 1);
844 ASSERT(mvd->vdev_children == 0);
1117 for (int c = 0; c < vd->vdev_children; c++)
1127 int children = vd->vdev_children;
1179 ASSERT(vd->vdev_children == 0);
1186 ASSERT(vd->vdev_children == 0);
1218 ASSERT(vd->vdev_children == 0);
1227 ASSERT(vd->vdev_children == 0);
1240 for (int c = 0; c < vd->vdev_children; c++) {
1251 if (vd->vdev_children == 0) {
1376 for (int c = 0; c < vd->vdev_children; c++)
1523 for (int c = 0; c < vd->vdev_children; c++)
1536 for (int c = 0; c < vd->vdev_children; c++)
1642 for (int c = 0; c < vd->vdev_children; c++)
1742 ASSERT0(vd->vdev_children);
1758 ASSERT0(vd->vdev_children);
1779 ASSERT0(vd->vdev_children);
1813 for (int c = 0; c < vd->vdev_children; c++)
1901 minref = vd->vdev_children; /* any kind of mirror */
1903 for (int c = 0; c < vd->vdev_children; c++) {
1946 for (int c = 0; c < vd->vdev_children; c++) {
1993 for (uint64_t i = 0; i < vd->vdev_children; i++) {
2128 if (vd->vdev_children == 0) {
2139 for (int c = 0; c < vd->vdev_children; c++) {
2164 for (int c = 0; c < vd->vdev_children; c++)
2623 for (int c = 0; c < vd->vdev_children; c++)
2768 for (int c = 0; c < rvd->vdev_children; c++) {
2797 for (int c = 0; c < vd->vdev_children; c++)
3062 for (c = 0; c < rvd->vdev_children; c++)
3139 if (vd->vdev_children > 0) {
3140 for (int c = 0; c < vd->vdev_children; c++) {
3333 vd->vdev_children > 1) {
3340 for (int c = 0; c < vd->vdev_children; c++) {
3362 for (int c = 0; c < nvd->vdev_children; c++)
3388 for (int c = 0; c < vd->vdev_children; c++)
3422 if (pvd->vdev_children == 1) {
3432 for (int c = 0; c < vd->vdev_children; c++) {