Lines Matching refs:spa_removing_phys

143 	    sizeof (spa->spa_removing_phys) / sizeof (uint64_t),  in spa_sync_removing_state()
144 &spa->spa_removing_phys, tx)); in spa_sync_removing_state()
271 spa->spa_removing_phys.sr_removing_vdev = vd->vdev_id; in vdev_remove_initiate_sync()
272 spa->spa_removing_phys.sr_start_time = gethrestime_sec(); in vdev_remove_initiate_sync()
273 spa->spa_removing_phys.sr_end_time = 0; in vdev_remove_initiate_sync()
274 spa->spa_removing_phys.sr_state = DSS_SCANNING; in vdev_remove_initiate_sync()
275 spa->spa_removing_phys.sr_to_copy = 0; in vdev_remove_initiate_sync()
276 spa->spa_removing_phys.sr_copied = 0; in vdev_remove_initiate_sync()
288 spa->spa_removing_phys.sr_to_copy += in vdev_remove_initiate_sync()
295 spa->spa_removing_phys.sr_to_copy -= in vdev_remove_initiate_sync()
373 sizeof (spa->spa_removing_phys) / sizeof (uint64_t), in spa_remove_init()
374 &spa->spa_removing_phys); in spa_remove_init()
377 spa->spa_removing_phys.sr_state = DSS_NONE; in spa_remove_init()
378 spa->spa_removing_phys.sr_removing_vdev = -1; in spa_remove_init()
379 spa->spa_removing_phys.sr_prev_indirect_vdev = -1; in spa_remove_init()
386 if (spa->spa_removing_phys.sr_state == DSS_SCANNING) { in spa_remove_init()
395 spa->spa_removing_phys.sr_removing_vdev); in spa_remove_init()
420 spa->spa_removing_phys.sr_prev_indirect_vdev; in spa_remove_init()
670 spa_removing_phys_t *srp = &spa->spa_removing_phys; in spa_finish_removal()
683 spa->spa_removing_phys.sr_state = state; in spa_finish_removal()
684 spa->spa_removing_phys.sr_end_time = gethrestime_sec(); in spa_finish_removal()
1051 ASSERT3U(spa->spa_removing_phys.sr_copied, ==, in vdev_remove_complete_sync()
1052 spa->spa_removing_phys.sr_to_copy); in vdev_remove_complete_sync()
1451 spa->spa_removing_phys.sr_copied; in spa_vdev_remove_thread()
1722 spa->spa_removing_phys.sr_copied += svr->svr_bytes_done[txgoff]; in svr_sync()
1912 if (spa->spa_removing_phys.sr_state == DSS_SCANNING) in spa_vdev_remove_top_check()
2164 prs->prs_state = spa->spa_removing_phys.sr_state; in spa_removal_get_stats()
2169 prs->prs_removing_vdev = spa->spa_removing_phys.sr_removing_vdev; in spa_removal_get_stats()
2170 prs->prs_start_time = spa->spa_removing_phys.sr_start_time; in spa_removal_get_stats()
2171 prs->prs_end_time = spa->spa_removing_phys.sr_end_time; in spa_removal_get_stats()
2172 prs->prs_to_copy = spa->spa_removing_phys.sr_to_copy; in spa_removal_get_stats()
2173 prs->prs_copied = spa->spa_removing_phys.sr_copied; in spa_removal_get_stats()
2184 spa->spa_removing_phys.sr_prev_indirect_vdev; in spa_removal_get_stats()