• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/cddl/contrib/opensolaris/cmd/zpool/

Lines Matching defs:nvroot

558 	nvlist_t *nvroot;
626 nvroot = make_root_vdev(zhp, force, !force, B_FALSE, dryrun,
628 if (nvroot == NULL) {
645 print_vdev_tree(zhp, NULL, nvroot, 0, "", name_flags);
650 print_vdev_tree(zhp, NULL, nvroot, 0, VDEV_ALLOC_BIAS_DEDUP,
655 print_vdev_tree(zhp, NULL, nvroot, 0, VDEV_ALLOC_BIAS_SPECIAL,
660 print_vdev_tree(zhp, NULL, nvroot, 0, VDEV_ALLOC_BIAS_LOG,
665 ret = (zpool_add(zhp, nvroot) != 0);
668 nvlist_free(nvroot);
952 nvlist_t *nvroot = NULL;
1162 nvroot = make_root_vdev(NULL, force, !force, B_FALSE, dryrun,
1164 if (nvroot == NULL)
1168 if (!zfs_allocatable_devs(nvroot)) {
1260 print_vdev_tree(NULL, poolname, nvroot, 0, "", 0);
1261 print_vdev_tree(NULL, "dedup", nvroot, 0,
1263 print_vdev_tree(NULL, "special", nvroot, 0,
1265 print_vdev_tree(NULL, "logs", nvroot, 0,
1298 nvroot, props, fsprops) == 0) {
1313 nvlist_free(nvroot);
1544 nvlist_t *config, *nvroot;
1548 &nvroot) == 0);
1550 if (find_vdev(nvroot, cbp->cb_guid)) {
1971 nvlist_t *nvroot, *nvinfo;
1985 &nvroot) == 0);
1987 verify(nvlist_lookup_uint64_array(nvroot, ZPOOL_CONFIG_VDEV_STATS,
2208 cb.cb_namewidth = max_width(NULL, nvroot, 0, 0, 0);
2212 print_import_config(&cb, name, nvroot, 0);
2214 print_class_vdevs(NULL, &cb, nvroot, VDEV_ALLOC_BIAS_DEDUP);
2215 print_class_vdevs(NULL, &cb, nvroot, VDEV_ALLOC_BIAS_SPECIAL);
2216 print_class_vdevs(NULL, &cb, nvroot, VDEV_ALLOC_CLASS_LOGS);
3143 nvlist_t *config, *nvroot;
3147 &nvroot) == 0);
3151 cb->cb_namewidth = max_width(zhp, nvroot, 0,
3726 nvlist_t *nvroot;
3734 &nvroot) == 0);
3738 cbp->cb_namewidth = max_width(zhp, nvroot, 0, 0,
3744 print_list_stats(zhp, NULL, nvroot, cbp, 0);
3873 nvlist_t *nvroot;
3948 nvroot = make_root_vdev(zhp, force, B_FALSE, replacing, B_FALSE,
3950 if (nvroot == NULL) {
3955 ret = zpool_vdev_attach(zhp, old_disk, new_disk, nvroot, replacing);
3957 nvlist_free(nvroot);
4523 nvlist_t *config, *nvroot;
4531 nvroot = fnvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE);
4532 (void) nvlist_lookup_uint64_array(nvroot,
4625 zpool_collect_leaves(zpool_handle_t *zhp, nvlist_t *nvroot, nvlist_t *res)
4631 (void) nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN,
4635 char *path = zpool_vdev_name(g_zfs, zhp, nvroot, B_FALSE);
4719 nvlist_t *nvroot = fnvlist_lookup_nvlist(config,
4721 zpool_collect_leaves(zhp, nvroot, vdevs);
4931 nvlist_t *config, *nvroot;
4943 nvroot = fnvlist_lookup_nvlist(config,
4945 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN,
5191 nvlist_t *config, *nvroot;
5226 nvroot = fnvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE);
5227 verify(nvlist_lookup_uint64_array(nvroot, ZPOOL_CONFIG_VDEV_STATS,
5454 (void) nvlist_lookup_uint64_array(nvroot,
5456 (void) nvlist_lookup_uint64_array(nvroot,
5458 (void) nvlist_lookup_uint64_array(nvroot,
5466 cbp->cb_namewidth = max_width(zhp, nvroot, 0, 0,
5476 print_status_config(zhp, cbp, zpool_get_name(zhp), nvroot, 0,
5479 print_class_vdevs(zhp, cbp, nvroot, VDEV_ALLOC_BIAS_DEDUP);
5480 print_class_vdevs(zhp, cbp, nvroot, VDEV_ALLOC_BIAS_SPECIAL);
5481 print_class_vdevs(zhp, cbp, nvroot, VDEV_ALLOC_CLASS_LOGS);
5483 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE,
5487 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,