Home
last modified time | relevance | path

Searched refs:sav_count (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dspa.c1283 for (i = 0; i < spa->spa_spares.sav_count; i++) in spa_unload()
1287 spa->spa_spares.sav_count * sizeof (void *)); in spa_unload()
1294 spa->spa_spares.sav_count = 0; in spa_unload()
1296 for (i = 0; i < spa->spa_l2cache.sav_count; i++) { in spa_unload()
1302 spa->spa_l2cache.sav_count * sizeof (void *)); in spa_unload()
1309 spa->spa_l2cache.sav_count = 0; in spa_unload()
1340 for (i = 0; i < spa->spa_spares.sav_count; i++) { in spa_load_spares()
1353 spa->spa_spares.sav_count * sizeof (void *)); in spa_load_spares()
1361 spa->spa_spares.sav_count = (int)nspares; in spa_load_spares()
1378 for (i = 0; i < spa->spa_spares.sav_count; i++) { in spa_load_spares()
[all …]
H A Dvdev.c2923 for (c = 0; c < sav->sav_count; c++) { in vdev_config_dirty()
2928 if (c == sav->sav_count) { in vdev_config_dirty()
H A Darc.c7143 for (int i = 0; i < spa->spa_l2cache.sav_count; i++) { in l2arc_spa_rebuild_start()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dspa_impl.h67 int sav_count; /* number devices */ member
/titanic_41/usr/src/cmd/ztest/
H A Dztest.c2584 if (sav->sav_count != 0 && ztest_random(4) == 0) { in ztest_vdev_aux_add_remove()
2588 guid = sav->sav_vdevs[ztest_random(sav->sav_count)]->vdev_guid; in ztest_vdev_aux_add_remove()
2600 for (c = 0; c < sav->sav_count; c++) in ztest_vdev_aux_add_remove()
2604 if (c == sav->sav_count && in ztest_vdev_aux_add_remove()
2830 if (sav->sav_count != 0 && ztest_random(3) == 0) { in ztest_vdev_attach_detach()
2831 newvd = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_vdev_attach_detach()
4882 if (sav->sav_count == 0) { in ztest_fault_inject()
4887 vd0 = sav->sav_vdevs[ztest_random(sav->sav_count)]; in ztest_fault_inject()
/titanic_41/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1851 int sav_count; member
1875 if (sav->sav_count != 0) { in spa_print_aux()
1881 len = sav->sav_count * sizeof (uintptr_t); in spa_print_aux()
1892 for (i = 0; i < sav->sav_count; i++) { in spa_print_aux()