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()
1236 zpool_add(zpool_handle_t *zhp, nvlist_t *nvroot) in zpool_add() argument
1250 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, in zpool_add()
1259 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_L2CACHE, in zpool_add()
1266 if (zcmd_write_conf_nvlist(hdl, &zc, nvroot) != 0) in zpool_add()
1824 nvlist_t *nvroot; in zpool_scan() local
1829 ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0); in zpool_scan()
1830 (void) nvlist_lookup_uint64_array(nvroot, in zpool_scan()
2084 nvlist_t *search, *nvroot, *ret; in zpool_find_vdev_by_physpath() local
2090 &nvroot) == 0); in zpool_find_vdev_by_physpath()
2096 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log); in zpool_find_vdev_by_physpath()
2120 nvlist_t *nvroot, *search, *ret; in zpool_find_vdev() local
2138 &nvroot) == 0); in zpool_find_vdev()
2144 ret = vdev_to_nvlist_iter(nvroot, search, avail_spare, l2cache, log); in zpool_find_vdev()
2553 const char *old_disk, const char *new_disk, nvlist_t *nvroot, int replacing) in zpool_vdev_attach() argument
2589 if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in zpool_vdev_attach()
2619 if (zcmd_write_conf_nvlist(hdl, &zc, nvroot) != 0) in zpool_vdev_attach()
3845 nvlist_t *nvroot; in zpool_label_disk() local
3848 ZPOOL_CONFIG_VDEV_TREE, &nvroot) == 0); in zpool_label_disk()
3851 start_block = find_start_block(nvroot); in zpool_label_disk()
3970 nvlist_t *config, *nvroot; in zvol_check_dump_config() local
4017 &nvroot) != 0) { in zvol_check_dump_config()
4024 verify(nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_CHILDREN, in zvol_check_dump_config()