Lines Matching refs:nvroot
544 get_replication(nvlist_t *nvroot, boolean_t fatal) in get_replication() argument
557 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in get_replication()
806 nvlist_t *nvroot; in check_replication() local
809 &nvroot) == 0); in check_replication()
810 if ((current = get_replication(nvroot, B_FALSE)) == NULL) in check_replication()
990 nvlist_t *nvroot; in is_spare() local
1013 &nvroot) == 0); in is_spare()
1014 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in is_spare()
1163 nvlist_t *nvroot, *nv, **top, **spares, **l2cache; in construct_spec() local
1337 verify(nvlist_alloc(&nvroot, NV_UNIQUE_NAME, 0) == 0); in construct_spec()
1338 verify(nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, in construct_spec()
1340 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in construct_spec()
1343 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in construct_spec()
1346 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in construct_spec()
1361 return (nvroot); in construct_spec()