Lines Matching defs:nvroot
250 nvlist_t *nvroot;
350 ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0);
351 verify(nvlist_lookup_uint64_array(nvroot,
1099 zpool_create(libzfs_handle_t *hdl, const char *pool, nvlist_t *nvroot,
1114 if (zcmd_write_conf_nvlist(hdl, &zc, nvroot) != 0)
1275 zpool_add(zpool_handle_t *zhp, nvlist_t *nvroot)
1289 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
1298 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE,
1305 if (zcmd_write_conf_nvlist(hdl, &zc, nvroot) != 0)
1868 nvlist_t *nvroot;
1873 ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0);
1874 (void) nvlist_lookup_uint64_array(nvroot,
2128 nvlist_t *search, *nvroot, *ret;
2134 &nvroot) == 0);
2140 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log);
2164 nvlist_t *nvroot, *search, *ret;
2183 &nvroot) == 0);
2189 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log);
2594 * Attach new_disk (fully described by nvroot) to old_disk.
2599 const char *old_disk, const char *new_disk, nvlist_t *nvroot, int replacing)
2635 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN,
2665 if (zcmd_write_conf_nvlist(hdl, &zc, nvroot) != 0)
3891 nvlist_t *nvroot;
3894 ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0);
3897 start_block = find_start_block(nvroot);
4016 nvlist_t *config, *nvroot;
4063 &nvroot) != 0) {
4070 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN,