Searched refs:spa_spares (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c1525 for (int i = 0; i < spa->spa_spares.sav_count; i++)
1526 vdev_free(spa->spa_spares.sav_vdevs[i]);
1527 if (spa->spa_spares.sav_vdevs) {
1528 kmem_free(spa->spa_spares.sav_vdevs,
1529 spa->spa_spares.sav_count * sizeof (void *));
1530 spa->spa_spares.sav_vdevs = NULL;
1532 if (spa->spa_spares.sav_config) {
1533 nvlist_free(spa->spa_spares.sav_config);
1534 spa->spa_spares.sav_config = NULL;
1536 spa->spa_spares
[all...]
H A Dvdev_removal.c2090 if (spa->spa_spares.sav_vdevs != NULL &&
2091 nvlist_lookup_nvlist_array(spa->spa_spares.sav_config,
2108 spa_vdev_remove_aux(spa->spa_spares.sav_config,
2111 spa->spa_spares.sav_sync = B_TRUE;
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h255 spa_aux_vdev_t spa_spares; /* hot spares */ member in struct:spa
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c2345 mdb_spa_aux_vdev_t spa_spares; member in struct:mdb_spa_vdevs
2455 spa_print_aux(&spa.spa_spares, flags, v, "spares") != 0)
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c3023 sav = &spa->spa_spares;
3210 spa_aux_vdev_t *sav = &spa->spa_spares;
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c5051 mos_obj_refd(spa->spa_spares.sav_object);

Completed in 217 milliseconds