Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dpartition_cow_creator.cpp142 const uint64_t logical_block_size = current_metadata->logical_block_size(); in GetCowSize()
172 CHECK(current_metadata->GetBlockDevicePartitionName(0) == LP_METADATA_DEFAULT_PARTITION_NAME && in Run()
175 const uint64_t logical_block_size = current_metadata->logical_block_size(); in Run()
206 auto current_free_regions = current_metadata->GetFreeRegions(); in Run()
Dpartition_cow_creator.h50 MetadataBuilder* current_metadata = nullptr; member
Dsnapshot.cpp945 std::unique_ptr<LpMetadata> current_metadata; in CheckTargetMergeState() local
948 if (!current_metadata) { in CheckTargetMergeState()
949 current_metadata = ReadCurrentMetadata(); in CheckTargetMergeState()
952 if (!current_metadata || in CheckTargetMergeState()
953 GetMetadataPartitionState(*current_metadata, name) != MetadataPartitionState::Updated) { in CheckTargetMergeState()
974 DCHECK((current_metadata = ReadCurrentMetadata()) && in CheckTargetMergeState()
975 GetMetadataPartitionState(*current_metadata, name) == MetadataPartitionState::Updated); in CheckTargetMergeState()
2108 static void UnmapAndDeleteCowPartition(MetadataBuilder* current_metadata) { in UnmapAndDeleteCowPartition() argument
2111 for (auto* existing_cow_partition : current_metadata->ListPartitionsInGroup(kCowGroupName)) { in UnmapAndDeleteCowPartition()
2120 current_metadata->RemovePartition(name); in UnmapAndDeleteCowPartition()
[all …]
Dpartition_cow_creator_test.cpp73 .current_metadata = builder_a.get(), in TEST_F()
116 .current_metadata = source.get(), in TEST_F()
152 .current_metadata = builder_a, in TEST_F()