ZPOOL_CONFIG_VDEV_TREE
nvlist_find(nvlist, ZPOOL_CONFIG_VDEV_TREE, DATA_TYPE_NVLIST,
nvlist_find(nvlist, ZPOOL_CONFIG_VDEV_TREE, DATA_TYPE_NVLIST,
if (nvlist_find(nvl, ZPOOL_CONFIG_VDEV_TREE, DATA_TYPE_NVLIST,
nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &devices) ||
ret = nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &vd);
if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
(void) nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &nvroot);
if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0);
ZPOOL_CONFIG_VDEV_TREE, &nvl);
if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &vdev) != 0) {
ZPOOL_CONFIG_VDEV_TREE, &vdev_tree) != 0) ||
verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
ZPOOL_CONFIG_VDEV_TREE);
verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
verify(nvlist_lookup_nvlist(newconfig, ZPOOL_CONFIG_VDEV_TREE,
verify(nvlist_lookup_nvlist(oldconfig, ZPOOL_CONFIG_VDEV_TREE,
verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
nvroot = fnvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE);
ZPOOL_CONFIG_VDEV_TREE);
ZPOOL_CONFIG_VDEV_TREE);
ZPOOL_CONFIG_VDEV_TREE);
nvroot = fnvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE);
verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
VERIFY(nvlist_lookup_nvlist(spa->spa_config, ZPOOL_CONFIG_VDEV_TREE,
VERIFY(nvlist_add_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, split) == 0);
if (nvlist_lookup_value(nvlist, ZPOOL_CONFIG_VDEV_TREE, &nv,
if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &nv) != 0) {
if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &tree) != 0 ||
verify(nvlist_lookup_nvlist(zhp->zpool_config, ZPOOL_CONFIG_VDEV_TREE,
ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0);
ZPOOL_CONFIG_VDEV_TREE, &nv) == 0) &&
ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0);
verify(nvlist_lookup_nvlist(zhp->zpool_config, ZPOOL_CONFIG_VDEV_TREE,
verify(nvlist_lookup_nvlist(zhp->zpool_config, ZPOOL_CONFIG_VDEV_TREE,
if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
ZPOOL_CONFIG_VDEV_TREE, &config_root) == 0);
verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &tree)
ZPOOL_CONFIG_VDEV_TREE, *newroot) != 0 ||
ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0);
ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0);
if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &devices) ||
attrs, ZPOOL_CONFIG_VDEV_TREE, &root);
VERIFY(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
ZPOOL_CONFIG_VDEV_TREE, &nvtop) == 0);
if (nvlist_add_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &nvtree)) {
ZPOOL_CONFIG_VDEV_TREE);
nv = fnvlist_lookup_nvlist(mos_config, ZPOOL_CONFIG_VDEV_TREE);
ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0);
ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0);
VERIFY(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
VERIFY(nvlist_add_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, nvroot) == 0);
VERIFY(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
VERIFY(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &nvl) != 0 ||
fnvlist_add_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, nvroot);
if (nvlist_lookup_nvlist(label, ZPOOL_CONFIG_VDEV_TREE, &nvl)