Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapshot_metadata_updater.cpp142 auto* existing_group = builder_->FindGroup(group_update.name); in ShrinkGroups() local
143 if (existing_group == nullptr) { in ShrinkGroups()
146 if (existing_group->maximum_size() <= group_update->size()) { in ShrinkGroups()
149 if (!builder_->ChangeGroupSize(existing_group->name(), group_update->size())) { in ShrinkGroups()
211 auto* existing_group = builder_->FindGroup(group_update.name); in GrowGroups() local
212 if (existing_group == nullptr) { in GrowGroups()
215 if (existing_group->maximum_size() >= group_update->size()) { in GrowGroups()
218 if (!builder_->ChangeGroupSize(existing_group->name(), group_update->size())) { in GrowGroups()