Searched defs:oldconfig (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_config.c220 zpool_get_config(zpool_handle_t *zhp, nvlist_t **oldconfig) argument
222 if (oldconfig)
223 *oldconfig = zhp->zpool_old_config;
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c3320 nvlist_t *oldconfig, *newconfig; local
3323 newconfig = zpool_get_config(zhp, &oldconfig);
3326 oldconfig = NULL;
3331 if (oldconfig == NULL)
3334 verify(nvlist_lookup_nvlist(oldconfig, ZPOOL_CONFIG_VDEV_TREE,
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c5841 spa_export_common(char *pool, int new_state, nvlist_t **oldconfig, argument
5846 if (oldconfig)
5847 *oldconfig = NULL;
5943 if (oldconfig && spa->spa_config)
5944 VERIFY(nvlist_dup(spa->spa_config, oldconfig, 0) == 0);
5970 spa_export(char *pool, nvlist_t **oldconfig, boolean_t force, argument
5973 return (spa_export_common(pool, POOL_STATE_EXPORTED, oldconfig,

Completed in 181 milliseconds