vdev_count_leaves_impl
n += vdev_count_leaves_impl(vd->vdev_child[c]);
rc = vdev_count_leaves_impl(spa->spa_root_vdev);