Lines Matching refs:nvroot

220 	nvlist_t *nvroot;  in zpool_get_prop()  local
320 ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0); in zpool_get_prop()
321 verify(nvlist_lookup_uint64_array(nvroot, in zpool_get_prop()
1063 zpool_create(libzfs_handle_t *hdl, const char *pool, nvlist_t *nvroot, in zpool_create() argument
1078 if (zcmd_write_conf_nvlist(hdl, &zc, nvroot) != 0) in zpool_create()
1224 zpool_add(zpool_handle_t *zhp, nvlist_t *nvroot) in zpool_add() argument
1238 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in zpool_add()
1247 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in zpool_add()
1254 if (zcmd_write_conf_nvlist(hdl, &zc, nvroot) != 0) in zpool_add()
1813 nvlist_t *nvroot; in zpool_scan() local
1818 ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0); in zpool_scan()
1819 (void) nvlist_lookup_uint64_array(nvroot, in zpool_scan()
2072 nvlist_t *search, *nvroot, *ret; in zpool_find_vdev_by_physpath() local
2078 &nvroot) == 0); in zpool_find_vdev_by_physpath()
2084 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log); in zpool_find_vdev_by_physpath()
2108 nvlist_t *nvroot, *search, *ret; in zpool_find_vdev() local
2126 &nvroot) == 0); in zpool_find_vdev()
2132 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log); in zpool_find_vdev()
2541 const char *old_disk, const char *new_disk, nvlist_t *nvroot, int replacing) in zpool_vdev_attach() argument
2577 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in zpool_vdev_attach()
2607 if (zcmd_write_conf_nvlist(hdl, &zc, nvroot) != 0) in zpool_vdev_attach()
3836 nvlist_t *nvroot; in zpool_label_disk() local
3839 ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0); in zpool_label_disk()
3842 start_block = find_start_block(nvroot); in zpool_label_disk()
3961 nvlist_t *config, *nvroot; in zvol_check_dump_config() local
4008 &nvroot) != 0) { in zvol_check_dump_config()
4015 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in zvol_check_dump_config()