Lines Matching defs:config
91 * Another added complexity is that not every label is updated when the config
250 * Generate the nvlist representing this vdev's config.
516 vdev_top_config_generate(spa_t *spa, nvlist_t *config)
533 VERIFY(nvlist_add_uint64_array(config, ZPOOL_CONFIG_HOLE_ARRAY,
537 VERIFY(nvlist_add_uint64(config, ZPOOL_CONFIG_VDEV_CHILDREN,
555 nvlist_t *config = NULL;
595 if ((error || label_txg == 0) && !config) {
596 config = label;
600 nvlist_free(config);
601 config = fnvlist_dup(label);
611 if (config == NULL && !(flags & ZIO_FLAG_TRYHARD)) {
619 if (config == NULL && label_txg != 0) {
627 return (config);
1082 * to obtain the config nvlist associated with
1121 vdev_uberblock_load(vdev_t *rvd, uberblock_t *ub, nvlist_t **config)
1130 ASSERT(config);
1133 *config = NULL;
1153 *config = vdev_label_read_config(cb.ubl_vd, ub->ub_txg);
1154 if (*config == NULL && spa->spa_extreme_rewind) {
1155 vdev_dbgmsg(cb.ubl_vd, "failed to read label config. "
1157 *config = vdev_label_read_config(cb.ubl_vd, UINT64_MAX);
1159 if (*config == NULL) {
1160 vdev_dbgmsg(cb.ubl_vd, "failed to read label config");
1306 * Generate a label describing the top-level config to which we belong.