Lines Matching refs:nvroot
272 nvlist_t *nvroot = fnvlist_lookup_nvlist( in zpool_get_state_str() local
276 nvroot, ZPOOL_CONFIG_VDEV_STATS, &vsc); in zpool_get_state_str()
1429 zpool_has_draid_vdev(nvlist_t *nvroot) in zpool_has_draid_vdev() argument
1434 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in zpool_has_draid_vdev()
1486 zpool_create(libzfs_handle_t *hdl, const char *pool, nvlist_t *nvroot, in zpool_create() argument
1504 zcmd_write_conf_nvlist(hdl, &zc, nvroot); in zpool_create()
1624 if (zpool_has_draid_vdev(nvroot) && in zpool_create()
1763 zpool_add(zpool_handle_t *zhp, nvlist_t *nvroot, boolean_t check_ashift) in zpool_add() argument
1777 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in zpool_add()
1786 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in zpool_add()
1793 zcmd_write_conf_nvlist(hdl, &zc, nvroot); in zpool_add()
1813 if (zpool_has_draid_vdev(nvroot) && in zpool_add()
2452 nvlist_t *nvroot = fnvlist_lookup_nvlist(config, in zpool_initialize_one() local
2454 zpool_collect_leaves(zhp, nvroot, vdevs); in zpool_initialize_one()
2585 zpool_collect_leaves(zpool_handle_t *zhp, nvlist_t *nvroot, nvlist_t *res) in zpool_collect_leaves() argument
2592 (void) nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in zpool_collect_leaves()
2596 char *path = zpool_vdev_name(hdl, zhp, nvroot, in zpool_collect_leaves()
2626 nvlist_t *nvroot = fnvlist_lookup_nvlist(config, in zpool_trim_one() local
2629 zpool_collect_leaves(zhp, nvroot, vdevs); in zpool_trim_one()
2870 nvlist_t *nvroot; in zpool_scan_range() local
2874 nvroot = fnvlist_lookup_nvlist(zhp->zpool_config, in zpool_scan_range()
2876 (void) nvlist_lookup_uint64_array(nvroot, in zpool_scan_range()
3158 nvlist_t *search, *nvroot, *ret; in zpool_find_vdev_by_physpath() local
3171 nvroot = fnvlist_lookup_nvlist(zhp->zpool_config, in zpool_find_vdev_by_physpath()
3178 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log, in zpool_find_vdev_by_physpath()
3215 nvlist_t *nvroot, *search, *ret; in __zpool_find_vdev() local
3230 nvroot = fnvlist_lookup_nvlist(zhp->zpool_config, in __zpool_find_vdev()
3249 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log, in __zpool_find_vdev()
3597 const char *new_disk, nvlist_t *nvroot, int replacing, boolean_t rebuild) in zpool_vdev_attach() argument
3649 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in zpool_vdev_attach()
3679 zcmd_write_conf_nvlist(hdl, &zc, nvroot); in zpool_vdev_attach()