Lines Matching refs:zs_mirrors
228 (MAX(zs->zs_mirrors, 1) * (ztest_opts.zo_raidz_parity + 1) - 1)
459 uint64_t zs_mirrors; member
2861 leaves = MAX(zs->zs_mirrors + zs->zs_splits, 1) * ztest_opts.zo_raidz; in ztest_vdev_add_remove()
2913 "log" : NULL, ztest_opts.zo_raidz, zs->zs_mirrors, 1); in ztest_vdev_add_remove()
2956 if (zs->zs_mirrors < 2) { in ztest_vdev_class_add()
2967 leaves = MAX(zs->zs_mirrors + zs->zs_splits, 1) * ztest_opts.zo_raidz; in ztest_vdev_class_add()
2974 class, ztest_opts.zo_raidz, zs->zs_mirrors, 1); in ztest_vdev_class_add()
3128 if (zs->zs_mirrors < 3 || ztest_opts.zo_raidz > 1) { in ztest_split_pool()
3201 --zs->zs_mirrors; in ztest_split_pool()
3235 leaves = MAX(zs->zs_mirrors, 1) * ztest_opts.zo_raidz; in ztest_vdev_attach_detach()
3272 if (zs->zs_mirrors >= 1) { in ztest_vdev_attach_detach()
3274 ASSERT(oldvd->vdev_children >= zs->zs_mirrors); in ztest_vdev_attach_detach()
5672 leaves = MAX(zs->zs_mirrors, 1) * ztest_opts.zo_raidz; in ztest_fault_inject()
5673 mirror_save = zs->zs_mirrors; in ztest_fault_inject()
5881 if (mirror_save != zs->zs_mirrors) { in ztest_fault_inject()
7012 zs->zs_mirrors = ztest_opts.zo_mirrors; in ztest_init()
7014 NULL, ztest_opts.zo_raidz, zs->zs_mirrors, 1); in ztest_init()