Lines Matching refs:sav_config

1300 	if (spa->spa_spares.sav_config) {
1301 nvlist_free(spa->spa_spares.sav_config);
1302 spa->spa_spares.sav_config = NULL;
1315 if (spa->spa_l2cache.sav_config) {
1316 nvlist_free(spa->spa_l2cache.sav_config);
1317 spa->spa_l2cache.sav_config = NULL;
1334 * 'spa_spares.sav_config'. We parse this into vdevs, try to open them, and
1365 if (spa->spa_spares.sav_config == NULL)
1368 VERIFY(nvlist_lookup_nvlist_array(spa->spa_spares.sav_config,
1431 VERIFY(nvlist_remove(spa->spa_spares.sav_config, ZPOOL_CONFIG_SPARES,
1439 VERIFY(nvlist_add_nvlist_array(spa->spa_spares.sav_config,
1449 * 'spa_l2cache.sav_config'. We parse this into vdevs, try to open them, and
1466 if (sav->sav_config != NULL) {
1467 VERIFY(nvlist_lookup_nvlist_array(sav->sav_config,
1551 if (sav->sav_config == NULL)
1561 VERIFY(nvlist_remove(sav->sav_config, ZPOOL_CONFIG_L2CACHE,
1568 VERIFY(nvlist_add_nvlist_array(sav->sav_config,
2693 &spa->spa_spares.sav_config) != 0)
2713 &spa->spa_l2cache.sav_config) != 0)
3221 VERIFY(nvlist_lookup_nvlist_array(spa->spa_spares.sav_config,
3270 VERIFY(nvlist_lookup_nvlist_array(spa->spa_l2cache.sav_config,
3524 if (sav->sav_config != NULL) {
3533 VERIFY(nvlist_lookup_nvlist_array(sav->sav_config, config,
3545 VERIFY(nvlist_remove(sav->sav_config, config,
3548 VERIFY(nvlist_add_nvlist_array(sav->sav_config,
3557 VERIFY(nvlist_alloc(&sav->sav_config, NV_UNIQUE_NAME,
3559 VERIFY(nvlist_add_nvlist_array(sav->sav_config, config,
3697 VERIFY(nvlist_alloc(&spa->spa_spares.sav_config, NV_UNIQUE_NAME,
3699 VERIFY(nvlist_add_nvlist_array(spa->spa_spares.sav_config,
3712 VERIFY(nvlist_alloc(&spa->spa_l2cache.sav_config,
3714 VERIFY(nvlist_add_nvlist_array(spa->spa_l2cache.sav_config,
4128 if (spa->spa_spares.sav_config) {
4129 nvlist_free(spa->spa_spares.sav_config);
4130 spa->spa_spares.sav_config = NULL;
4133 if (spa->spa_l2cache.sav_config) {
4134 nvlist_free(spa->spa_l2cache.sav_config);
4135 spa->spa_l2cache.sav_config = NULL;
4169 if (spa->spa_spares.sav_config)
4170 VERIFY(nvlist_remove(spa->spa_spares.sav_config,
4173 VERIFY(nvlist_alloc(&spa->spa_spares.sav_config,
4175 VERIFY(nvlist_add_nvlist_array(spa->spa_spares.sav_config,
4184 if (spa->spa_l2cache.sav_config)
4185 VERIFY(nvlist_remove(spa->spa_l2cache.sav_config,
4188 VERIFY(nvlist_alloc(&spa->spa_l2cache.sav_config,
4190 VERIFY(nvlist_add_nvlist_array(spa->spa_l2cache.sav_config,
5476 nvlist_lookup_nvlist_array(spa->spa_spares.sav_config,
5487 spa_vdev_remove_aux(spa->spa_spares.sav_config,
5495 nvlist_lookup_nvlist_array(spa->spa_l2cache.sav_config,
5503 spa_vdev_remove_aux(spa->spa_l2cache.sav_config,
6529 * calling vdev_config_dirty() modifies sav_config.