Lines Matching defs:config
128 * If the physical path changed, update the config.
415 * Read the vdev config from a device. Return the number of valid labels that
416 * were found. The vdev config will be returned in config if and only if at
423 nvlist_t *config;
438 ZFS_LOG(1, "Reading config from %s...", pp->name);
463 config = *configp = NULL;
471 if (nvlist_unpack(buf, buflen, &config, 0) != 0)
474 if (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE,
476 nvlist_free(config);
482 (nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_TXG,
484 nvlist_free(config);
490 *configp = config;
608 ZFS_LOG(1, "successfully read vdev config");
634 nvlist_t *config;
646 nlabels = vdev_geom_read_config(cp, &config);
650 ZFS_LOG(1, "Unable to read config from %s.", pp->name);
655 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, &pool_guid);
657 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_TOP_GUID, &top_guid);
659 (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_GUID, &vdev_guid);
660 nvlist_free(config);