Lines Matching refs:nvroot
545 get_replication(nvlist_t *nvroot, boolean_t fatal) in get_replication() argument
560 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in get_replication()
809 nvlist_t *nvroot; in check_replication() local
812 &nvroot) == 0); in check_replication()
813 if ((current = get_replication(nvroot, B_FALSE)) == NULL) in check_replication()
993 nvlist_t *nvroot; in is_spare() local
1016 &nvroot) == 0); in is_spare()
1017 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in is_spare()
1166 nvlist_t *nvroot, *nv, **top, **spares, **l2cache; in construct_spec() local
1340 verify(nvlist_alloc(&nvroot, NV_UNIQUE_NAME, 0) == 0); in construct_spec()
1341 verify(nvlist_add_string(nvroot, ZPOOL_CONFIG_TYPE, in construct_spec()
1343 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in construct_spec()
1346 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in construct_spec()
1349 verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in construct_spec()
1364 return (nvroot); in construct_spec()