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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c1534 for (int i = 0; i < spa->spa_spares.sav_count; i++)
1535 vdev_free(spa->spa_spares.sav_vdevs[i]);
1536 if (spa->spa_spares.sav_vdevs) {
1537 kmem_free(spa->spa_spares.sav_vdevs,
1538 spa->spa_spares.sav_count * sizeof (void *));
1539 spa->spa_spares.sav_vdevs = NULL;
1541 if (spa->spa_spares.sav_config) {
1542 nvlist_free(spa->spa_spares.sav_config);
1543 spa->spa_spares.sav_config = NULL;
1545 spa->spa_spares
[all...]
H A Dvdev_removal.c2093 if (spa->spa_spares.sav_vdevs != NULL &&
2094 nvlist_lookup_nvlist_array(spa->spa_spares.sav_config,
2111 spa_vdev_remove_aux(spa->spa_spares.sav_config,
2114 spa->spa_spares.sav_sync = B_TRUE;
H A Dspa_misc.c1064 for (int i = 0; i < spa->spa_spares.sav_count; i++) {
1066 vdev_t *vd = spa->spa_spares.sav_vdevs[i];
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h256 spa_aux_vdev_t spa_spares; /* hot spares */ member in struct:spa
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c2365 mdb_spa_aux_vdev_t spa_spares; member in struct:mdb_spa_vdevs
2475 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.c5046 mos_obj_refd(spa->spa_spares.sav_object);

Completed in 104 milliseconds