Lines Matching defs:nvroot
2351 nvlist_t *nvroot;
2356 nvroot = make_vdev_root("/dev/bogus", NULL, NULL, 0, 0, 0, 0, 0, 1);
2358 spa_create("ztest_bad_file", nvroot, NULL, NULL));
2359 nvlist_free(nvroot);
2364 nvroot = make_vdev_root("/dev/bogus", NULL, NULL, 0, 0, 0, 0, 2, 1);
2366 spa_create("ztest_bad_mirror", nvroot, NULL, NULL));
2367 nvlist_free(nvroot);
2371 * what's in the nvroot; we should fail with EEXIST.
2374 nvroot = make_vdev_root("/dev/bogus", NULL, NULL, 0, 0, 0, 0, 0, 1);
2375 VERIFY3U(EEXIST, ==, spa_create(zo->zo_pool, nvroot, NULL, NULL));
2376 nvlist_free(nvroot);
2391 nvlist_t *nvroot, *props;
2402 nvroot = make_vdev_root(NULL, NULL, name, ztest_opts.zo_vdev_size, 0,
2433 VERIFY0(spa_create(name, nvroot, props, NULL));
2434 fnvlist_free(nvroot);
2503 nvlist_t *nvroot;
2544 nvroot = make_vdev_root(NULL, NULL, NULL,
2549 error = spa_vdev_add(spa, nvroot);
2550 nvlist_free(nvroot);
2621 nvlist_t *nvroot = make_vdev_root(NULL, aux, NULL,
2623 error = spa_vdev_add(spa, nvroot);
2625 fatal(0, "spa_vdev_add(%p) = %d", nvroot, error);
2626 nvlist_free(nvroot);
5923 nvlist_t *nvroot, *props;
5937 nvroot = make_vdev_root(NULL, NULL, NULL, ztest_opts.zo_vdev_size, 0,
5946 VERIFY3U(0, ==, spa_create(ztest_opts.zo_pool, nvroot, props, NULL));
5947 nvlist_free(nvroot);