Lines Matching defs:nvroot
2355 nvlist_t *nvroot;
2360 nvroot = make_vdev_root("/dev/bogus", NULL, NULL, 0, 0, 0, 0, 0, 1);
2362 spa_create("ztest_bad_file", nvroot, NULL, NULL));
2363 nvlist_free(nvroot);
2368 nvroot = make_vdev_root("/dev/bogus", NULL, NULL, 0, 0, 0, 0, 2, 1);
2370 spa_create("ztest_bad_mirror", nvroot, NULL, NULL));
2371 nvlist_free(nvroot);
2375 * what's in the nvroot; we should fail with EEXIST.
2378 nvroot = make_vdev_root("/dev/bogus", NULL, NULL, 0, 0, 0, 0, 0, 1);
2379 VERIFY3U(EEXIST, ==, spa_create(zo->zo_pool, nvroot, NULL, NULL));
2380 nvlist_free(nvroot);
2395 nvlist_t *nvroot, *props;
2406 nvroot = make_vdev_root(NULL, NULL, name, ztest_opts.zo_vdev_size, 0,
2437 VERIFY0(spa_create(name, nvroot, props, NULL));
2438 fnvlist_free(nvroot);
2507 nvlist_t *nvroot;
2548 nvroot = make_vdev_root(NULL, NULL, NULL,
2553 error = spa_vdev_add(spa, nvroot);
2554 nvlist_free(nvroot);
2625 nvlist_t *nvroot = make_vdev_root(NULL, aux, NULL,
2627 error = spa_vdev_add(spa, nvroot);
2629 fatal(0, "spa_vdev_add(%p) = %d", nvroot, error);
2630 nvlist_free(nvroot);
5967 nvlist_t *nvroot, *props;
5981 nvroot = make_vdev_root(NULL, NULL, NULL, ztest_opts.zo_vdev_size, 0,
5990 VERIFY3U(0, ==, spa_create(ztest_opts.zo_pool, nvroot, props, NULL));
5991 nvlist_free(nvroot);