Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dpartition_cow_creator.cpp163 const uint64_t logical_block_size = current_metadata->logical_block_size(); in GetCowSize()
193 CHECK(current_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME && in Run()
196 const uint64_t logical_block_size = current_metadata->logical_block_size(); in Run()
231 auto current_free_regions = current_metadata->GetFreeRegions(); in Run()
Dpartition_cow_creator_test.cpp73 .current_metadata = builder_a.get(), in TEST_F()
116 .current_metadata = source.get(), in TEST_F()
154 .current_metadata = builder_a, in TEST_F()
221 .current_metadata = builder_a.get(), in TEST_F()
250 .current_metadata = builder_a.get(), in TEST_F()
276 .current_metadata = builder_a.get(), in TEST_F()
Dpartition_cow_creator.h51 MetadataBuilder* current_metadata = nullptr; member
Dsnapshot.cpp1068 std::unique_ptr<LpMetadata> current_metadata; in CheckTargetMergeState() local
1071 if (!current_metadata) { in CheckTargetMergeState()
1072 current_metadata = ReadCurrentMetadata(); in CheckTargetMergeState()
1075 if (!current_metadata || in CheckTargetMergeState()
1076 GetMetadataPartitionState(*current_metadata, name) != MetadataPartitionState::Updated) { in CheckTargetMergeState()
1097 DCHECK((current_metadata = ReadCurrentMetadata()) && in CheckTargetMergeState()
1098 GetMetadataPartitionState(*current_metadata, name) == MetadataPartitionState::Updated); in CheckTargetMergeState()
2676 void SnapshotManager::UnmapAndDeleteCowPartition(MetadataBuilder* current_metadata) { in UnmapAndDeleteCowPartition() argument
2678 for (auto* existing_cow_partition : current_metadata->ListPartitionsInGroup(kCowGroupName)) { in UnmapAndDeleteCowPartition()
2687 current_metadata->RemovePartition(name); in UnmapAndDeleteCowPartition()
[all …]
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h513 void UnmapAndDeleteCowPartition(MetadataBuilder* current_metadata);