Lines Matching defs:nvroot

269 		nvlist_t *nvroot = fnvlist_lookup_nvlist(
273 nvroot, ZPOOL_CONFIG_VDEV_STATS, &vsc);
1426 zpool_has_special_vdev(nvlist_t *nvroot)
1431 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, &child,
1450 zpool_has_draid_vdev(nvlist_t *nvroot)
1455 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN,
1507 zpool_create(libzfs_handle_t *hdl, const char *pool, nvlist_t *nvroot,
1525 zcmd_write_conf_nvlist(hdl, &zc, nvroot);
1551 !zpool_has_special_vdev(nvroot)) {
1655 if (zpool_has_draid_vdev(nvroot) &&
1794 zpool_add(zpool_handle_t *zhp, nvlist_t *nvroot, boolean_t check_ashift)
1808 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
1817 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE,
1824 zcmd_write_conf_nvlist(hdl, &zc, nvroot);
1844 if (zpool_has_draid_vdev(nvroot) &&
2812 nvlist_t *nvroot;
2816 nvroot = fnvlist_lookup_nvlist(zhp->zpool_config,
2818 (void) nvlist_lookup_uint64_array(nvroot,
3088 nvlist_t *search, *nvroot, *ret;
3101 nvroot = fnvlist_lookup_nvlist(zhp->zpool_config,
3108 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log,
3145 nvlist_t *nvroot, *search, *ret;
3160 nvroot = fnvlist_lookup_nvlist(zhp->zpool_config,
3179 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log,
3522 * Attach new_disk (fully described by nvroot) to old_disk.
3527 const char *new_disk, nvlist_t *nvroot, int replacing, boolean_t rebuild)
3579 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN,
3609 zcmd_write_conf_nvlist(hdl, &zc, nvroot);