Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapshot_metadata_updater.cpp72 auto* existing_partition = builder_->FindPartition(partition_update.name); in ShrinkPartitions() local
73 if (existing_partition == nullptr) { in ShrinkPartitions()
77 if (existing_partition->size() <= new_size) { in ShrinkPartitions()
80 if (!builder_->ResizePartition(existing_partition, new_size)) { in ShrinkPartitions()
103 for (auto* existing_partition : ListPartitionsWithSuffix(builder_, target_suffix_)) { in DeletePartitions() local
105 [existing_partition](auto&& partition_update) { in DeletePartitions()
106 return partition_update.name == existing_partition->name(); in DeletePartitions()
112 partitions_to_delete.push_back(existing_partition->name()); in DeletePartitions()
124 auto* existing_partition = builder_->FindPartition(partition_update.name); in MovePartitionsToDefault() local
125 if (existing_partition == nullptr) { in MovePartitionsToDefault()
[all …]