Lines Matching defs:nvroot
499 nvlist_t *nvroot;
550 nvroot = make_root_vdev(zhp, force, !force, B_FALSE, dryrun,
552 if (nvroot == NULL) {
568 print_vdev_tree(zhp, NULL, nvroot, 0, B_FALSE);
573 print_vdev_tree(zhp, NULL, nvroot, 0, B_TRUE);
574 } else if (num_logs(nvroot) > 0) {
575 print_vdev_tree(zhp, "logs", nvroot, 0, B_TRUE);
580 ret = (zpool_add(zhp, nvroot) != 0);
583 nvlist_free(nvroot);
803 nvlist_t *nvroot = NULL;
931 nvroot = make_root_vdev(NULL, force, !force, B_FALSE, dryrun,
933 if (nvroot == NULL)
937 if (!zfs_allocatable_devs(nvroot)) {
1029 print_vdev_tree(NULL, poolname, nvroot, 0, B_FALSE);
1030 if (num_logs(nvroot) > 0)
1031 print_vdev_tree(NULL, "logs", nvroot, 0, B_TRUE);
1063 nvroot, props, fsprops) == 0) {
1078 nvlist_free(nvroot);
1308 nvlist_t *config, *nvroot;
1312 &nvroot) == 0);
1314 if (find_vdev(nvroot, cbp->cb_guid)) {
1629 nvlist_t *nvroot;
1643 &nvroot) == 0);
1645 verify(nvlist_lookup_uint64_array(nvroot, ZPOOL_CONFIG_VDEV_STATS,
1834 namewidth = max_width(NULL, nvroot, 0, 0);
1838 print_import_config(name, nvroot, namewidth, 0);
1839 if (num_logs(nvroot) > 0)
1840 print_logs(NULL, nvroot, namewidth, B_FALSE);
2558 nvlist_t *config, *nvroot;
2562 &nvroot) == 0);
2566 cb->cb_namewidth = max_width(zhp, nvroot, 0,
3082 nvlist_t *nvroot;
3091 &nvroot) == 0);
3092 print_list_stats(zhp, NULL, nvroot, cbp, 0);
3208 nvlist_t *nvroot;
3275 nvroot = make_root_vdev(zhp, force, B_FALSE, replacing, B_FALSE,
3277 if (nvroot == NULL) {
3282 ret = zpool_vdev_attach(zhp, old_disk, new_disk, nvroot, replacing);
3284 nvlist_free(nvroot);
4140 nvlist_t *config, *nvroot;
4176 &nvroot) == 0);
4177 verify(nvlist_lookup_uint64_array(nvroot, ZPOOL_CONFIG_VDEV_STATS,
4394 (void) nvlist_lookup_uint64_array(nvroot,
4398 namewidth = max_width(zhp, nvroot, 0, 0);
4405 print_status_config(zhp, zpool_get_name(zhp), nvroot,
4408 if (num_logs(nvroot) > 0)
4409 print_logs(zhp, nvroot, namewidth, B_TRUE);
4410 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE,
4414 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,