Lines Matching defs:nvroot
497 nvlist_t *nvroot;
548 nvroot = make_root_vdev(zhp, force, !force, B_FALSE, dryrun,
550 if (nvroot == NULL) {
566 print_vdev_tree(zhp, NULL, nvroot, 0, B_FALSE);
571 print_vdev_tree(zhp, NULL, nvroot, 0, B_TRUE);
572 } else if (num_logs(nvroot) > 0) {
573 print_vdev_tree(zhp, "logs", nvroot, 0, B_TRUE);
578 ret = (zpool_add(zhp, nvroot) != 0);
581 nvlist_free(nvroot);
797 nvlist_t *nvroot = NULL;
925 nvroot = make_root_vdev(NULL, force, !force, B_FALSE, dryrun,
927 if (nvroot == NULL)
931 if (!zfs_allocatable_devs(nvroot)) {
1022 print_vdev_tree(NULL, poolname, nvroot, 0, B_FALSE);
1023 if (num_logs(nvroot) > 0)
1024 print_vdev_tree(NULL, "logs", nvroot, 0, B_TRUE);
1056 nvroot, props, fsprops) == 0) {
1071 nvlist_free(nvroot);
1301 nvlist_t *config, *nvroot;
1305 &nvroot) == 0);
1307 if (find_vdev(nvroot, cbp->cb_guid)) {
1610 nvlist_t *nvroot;
1624 &nvroot) == 0);
1626 verify(nvlist_lookup_uint64_array(nvroot, ZPOOL_CONFIG_VDEV_STATS,
1809 namewidth = max_width(NULL, nvroot, 0, 0);
1813 print_import_config(name, nvroot, namewidth, 0);
1814 if (num_logs(nvroot) > 0)
1815 print_logs(NULL, nvroot, namewidth, B_FALSE);
2533 nvlist_t *config, *nvroot;
2537 &nvroot) == 0);
2541 cb->cb_namewidth = max_width(zhp, nvroot, 0,
3057 nvlist_t *nvroot;
3066 &nvroot) == 0);
3067 print_list_stats(zhp, NULL, nvroot, cbp, 0);
3183 nvlist_t *nvroot;
3250 nvroot = make_root_vdev(zhp, force, B_FALSE, replacing, B_FALSE,
3252 if (nvroot == NULL) {
3257 ret = zpool_vdev_attach(zhp, old_disk, new_disk, nvroot, replacing);
3259 nvlist_free(nvroot);
4115 nvlist_t *config, *nvroot;
4150 &nvroot) == 0);
4151 verify(nvlist_lookup_uint64_array(nvroot, ZPOOL_CONFIG_VDEV_STATS,
4359 (void) nvlist_lookup_uint64_array(nvroot,
4363 namewidth = max_width(zhp, nvroot, 0, 0);
4370 print_status_config(zhp, zpool_get_name(zhp), nvroot,
4373 if (num_logs(nvroot) > 0)
4374 print_logs(zhp, nvroot, namewidth, B_TRUE);
4375 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE,
4379 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,