Lines Matching defs:nvroot
543 get_replication(nvlist_t *nvroot, boolean_t fatal)
558 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN,
806 nvlist_t *nvroot;
809 &nvroot) == 0);
810 if ((current = get_replication(nvroot, B_FALSE)) == NULL)
990 nvlist_t *nvroot;
1013 &nvroot) == 0);
1014 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
1163 nvlist_t *nvroot, *nv, **top, **spares, **l2cache;
1335 * Finally, create nvroot and add all top-level vdevs to it.
1337 verify(nvlist_alloc(&nvroot, NV_UNIQUE_NAME, 0) == 0);
1338 verify(nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE,
1340 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN,
1343 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
1346 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE,
1361 return (nvroot);