Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapshot_metadata_updater.cpp141 for (const auto& group_update : groups_) { in ShrinkGroups() local
142 auto* existing_group = builder_->FindGroup(group_update.name); 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()
170 [&existing_group_name](auto&& group_update) { in DeleteGroups() argument
171 return group_update.name == existing_group_name; in DeleteGroups()
199 for (const auto& group_update : groups_) { in AddGroups() local
200 if (builder_->FindGroup(group_update.name) == nullptr) { in AddGroups()
201 if (!builder_->AddGroup(group_update.name, group_update->size())) { in AddGroups()
210 for (const auto& group_update : groups_) { in GrowGroups() local
[all …]