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()
1060 zpool_create(libzfs_handle_t *hdl, const char *pool, nvlist_t *nvroot, in zpool_create() argument
1075 if (zcmd_write_conf_nvlist(hdl, &zc, nvroot) != 0) in zpool_create()
1221 zpool_add(zpool_handle_t *zhp, nvlist_t *nvroot) in zpool_add() argument
1235 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in zpool_add()
1244 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in zpool_add()
1251 if (zcmd_write_conf_nvlist(hdl, &zc, nvroot) != 0) in zpool_add()
1809 nvlist_t *nvroot; in zpool_scan() local
1814 ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0); in zpool_scan()
1815 (void) nvlist_lookup_uint64_array(nvroot, in zpool_scan()
2068 nvlist_t *search, *nvroot, *ret; in zpool_find_vdev_by_physpath() local
2074 &nvroot) == 0); in zpool_find_vdev_by_physpath()
2080 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log); in zpool_find_vdev_by_physpath()
2104 nvlist_t *nvroot, *search, *ret; in zpool_find_vdev() local
2122 &nvroot) == 0); in zpool_find_vdev()
2128 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log); in zpool_find_vdev()
2537 const char *old_disk, const char *new_disk, nvlist_t *nvroot, int replacing) in zpool_vdev_attach() argument
2573 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in zpool_vdev_attach()
2603 if (zcmd_write_conf_nvlist(hdl, &zc, nvroot) != 0) in zpool_vdev_attach()
3829 nvlist_t *nvroot; in zpool_label_disk() local
3832 ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0); in zpool_label_disk()
3835 start_block = find_start_block(nvroot); in zpool_label_disk()
3954 nvlist_t *config, *nvroot; in zvol_check_dump_config() local
4001 &nvroot) != 0) { in zvol_check_dump_config()
4008 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in zvol_check_dump_config()