Home | History | Annotate | Download | only in zfs

Lines Matching defs:nvl

195 spa_prop_add_list(nvlist_t *nvl, zpool_prop_t prop, char *strval,
209 VERIFY(nvlist_add_nvlist(nvl, propname, propval) == 0);
2135 nvlist_t *nvl;
2139 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_SPLIT, &nvl) != 0)
2143 if (nvlist_lookup_uint64_array(nvl, ZPOOL_CONFIG_SPLIT_LIST,
2204 nvlist_t *nvl;
2231 &nvl) == 0) {
2232 VERIFY(nvlist_dup(nvl, &spa->spa_config_splitting,
5326 nvlist_t **child, *nvl, *tmp;
5355 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &nvl) != 0 ||
5356 nvlist_lookup_nvlist_array(nvl, ZPOOL_CONFIG_CHILDREN, &child,
5379 if (nvlist_lookup_nvlist(nvl, ZPOOL_CONFIG_SPARES, &tmp) == 0 ||
5380 nvlist_lookup_nvlist(nvl, ZPOOL_CONFIG_L2CACHE, &tmp) == 0)
5474 VERIFY(nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) == 0);
5475 VERIFY(nvlist_add_uint64_array(nvl, ZPOOL_CONFIG_SPLIT_LIST,
5481 nvl) == 0);
5483 spa->spa_config_splitting = nvl;
5574 nvlist_free(nvl);