Searched refs:current_metadata (Results 1 – 4 of 4) sorted by relevance
142 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()
50 MetadataBuilder* current_metadata = nullptr; member
945 std::unique_ptr<LpMetadata> current_metadata; in CheckTargetMergeState() local948 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() argument2111 for (auto* existing_cow_partition : current_metadata->ListPartitionsInGroup(kCowGroupName)) { in UnmapAndDeleteCowPartition()2120 current_metadata->RemovePartition(name); in UnmapAndDeleteCowPartition()[all …]
73 .current_metadata = builder_a.get(), in TEST_F()116 .current_metadata = source.get(), in TEST_F()152 .current_metadata = builder_a, in TEST_F()