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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c1437 for (i = 0; i < spa->spa_spares.sav_count; i++)
1438 vdev_free(spa->spa_spares.sav_vdevs[i]);
1439 if (spa->spa_spares.sav_vdevs) {
1440 kmem_free(spa->spa_spares.sav_vdevs,
1441 spa->spa_spares.sav_count * sizeof (void *));
1442 spa->spa_spares.sav_vdevs = NULL;
1444 if (spa->spa_spares.sav_config) {
1445 nvlist_free(spa->spa_spares.sav_config);
1446 spa->spa_spares.sav_config = NULL;
1448 spa->spa_spares
[all...]
H A Dvdev_removal.c2055 if (spa->spa_spares.sav_vdevs != NULL &&
2056 nvlist_lookup_nvlist_array(spa->spa_spares.sav_config,
2073 spa_vdev_remove_aux(spa->spa_spares.sav_config,
2076 spa->spa_spares.sav_sync = B_TRUE;
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h254 spa_aux_vdev_t spa_spares; /* hot spares */ member in struct:spa
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c2271 mdb_spa_aux_vdev_t spa_spares; member in struct:mdb_spa_vdevs
2381 spa_print_aux(&spa.spa_spares, flags, v, "spares") != 0)
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c3032 sav = &spa->spa_spares;
3219 spa_aux_vdev_t *sav = &spa->spa_spares;
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c4770 mos_obj_refd(spa->spa_spares.sav_object);

Completed in 212 milliseconds