Lines Matching defs:config

51 static int read_efi_label(nvlist_t *config, diskaddr_t *sb);
150 * vdev's guid then get it from the zhp config nvlist.
1427 nvlist_t *config)
1435 if (!hdl->libzfs_printerr || config == NULL)
1438 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, &nv) != 0 ||
1478 nvlist_t *config)
1496 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, &nv) != 0 ||
1562 zpool_import(libzfs_handle_t *hdl, nvlist_t *config, const char *newname,
1586 ret = zpool_import_props(hdl, config, newname, props,
1620 zpool_print_unsup_feat(nvlist_t *config)
1624 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_LOAD_INFO, &nvinfo) ==
1650 zpool_import_props(libzfs_handle_t *hdl, nvlist_t *config, const char *newname,
1664 verify(nvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME,
1684 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION,
1699 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID,
1702 if (zcmd_write_conf_nvlist(hdl, &zc, config) != 0) {
1726 zpool_get_rewind_policy(config, &policy);
2212 vdev_get_one_physpath(nvlist_t *config, char *physpath, size_t physpath_size,
2219 if (nvlist_lookup_string(config, ZPOOL_CONFIG_PHYS_PATH,
2293 * Get phys_path for a root pool config.
2297 zpool_get_config_physpath(nvlist_t *config, char *physpath, size_t phypath_size)
2307 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,
2699 "already in replacing/spare config; wait "
2865 nvlist_t *tree, *config, **child, **newchild, *newconfig = NULL;
2879 if ((config = zpool_get_config(zhp, NULL)) == NULL) {
2885 verify(nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &tree)
2887 verify(nvlist_lookup_uint64(config, ZPOOL_CONFIG_VERSION, &vers) == 0);
2929 * Create a hole vdev and put it in the config.
3007 /* now build up the config list & call the ioctl */
3807 * Read the EFI label from the config, if a label does not exist then
3813 read_efi_label(nvlist_t *config, diskaddr_t *sb)
3820 if (nvlist_lookup_string(config, ZPOOL_CONFIG_PATH, &path) != 0)
3843 find_start_block(nvlist_t *config)
3850 if (nvlist_lookup_nvlist_array(config,
3852 if (nvlist_lookup_uint64(config,
3857 if (read_efi_label(config, &sb) < 0)
3979 supported_dump_vdev_type(libzfs_handle_t *hdl, nvlist_t *config, char *errbuf)
3985 verify(nvlist_lookup_string(config, ZPOOL_CONFIG_TYPE, &type) == 0);
3994 if (nvlist_lookup_nvlist_array(config, ZPOOL_CONFIG_CHILDREN,
4016 nvlist_t *config, *nvroot;
4061 config = zpool_get_config(zhp, NULL);
4062 if (nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE,