Lines Matching refs:partition
152 for (auto partition : builder->ListPartitionsInGroup(group_name)) { in MergeMetadata() local
153 auto partition_name = partition->name(); in MergeMetadata()
158 partition_proto->set_size(partition->size()); in MergeMetadata()
181 DynamicPartitionsDeviceInfoProto* proto, const std::string& partition) { in FindPartition() argument
183 if (p.name() == partition) { in FindPartition()
197 std::string partition = match[1]; in GetReadonlyPartitionName() local
198 return partition.empty() ? "system" : partition; in GetReadonlyPartitionName()
211 auto partition = GetReadonlyPartitionName(entry); in MergeFsUsage() local
212 if (!partition) { in MergeFsUsage()
225 auto partition_proto = FindPartition(proto, *partition); in MergeFsUsage()
228 partition_proto->set_name(*partition); in MergeFsUsage()
318 for (const auto& partition : pt.partitions) { in PrintMetadata() local
319 std::string name = GetPartitionName(partition); in PrintMetadata()
320 std::string group_name = GetPartitionGroupName(pt.groups[partition.group_index]); in PrintMetadata()
323 cout << " Attributes: " << BuildAttributeString(partition.attributes) << "\n"; in PrintMetadata()
326 for (size_t i = 0; i < partition.num_extents; i++) { in PrintMetadata()
327 const LpMetadataExtent& extent = pt.extents[partition.first_extent_index + i]; in PrintMetadata()