Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp719 SnapshotUpdateStatus initial_status = ReadSnapshotUpdateStatus(lock.get()); in InitiateMerge() local
720 initial_status.set_state(UpdateState::Merging); in InitiateMerge()
721 initial_status.set_sectors_allocated(initial_target_values.sectors_allocated); in InitiateMerge()
722 initial_status.set_total_sectors(initial_target_values.total_sectors); in InitiateMerge()
723 initial_status.set_metadata_sectors(initial_target_values.metadata_sectors); in InitiateMerge()
724 initial_status.set_compression_enabled(compression_enabled); in InitiateMerge()
732 initial_status.set_merge_phase(MergePhase::SECOND_PHASE); in InitiateMerge()
735 initial_status.set_merge_phase(MergePhase::FIRST_PHASE); in InitiateMerge()
740 if (!WriteSnapshotUpdateStatus(lock.get(), initial_status)) { in InitiateMerge()