Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h209 uint32_t metadata_slot_count);
249 uint32_t metadata_slot_count) { in New() argument
251 metadata_slot_count); in New()
257 uint32_t metadata_slot_count) { in New() argument
260 return New(device_info, metadata_max_size, metadata_slot_count); in New()
380 uint32_t metadata_max_size, uint32_t metadata_slot_count);
Dmetadata_format.h136 uint32_t metadata_slot_count; member
/system/core/fs_mgr/liblp/
Dwriter.cpp46 g1.metadata_slot_count == g2.metadata_slot_count && in CompareGeometry()
103 uint64_t(geometry.metadata_max_size) * geometry.metadata_slot_count; in ValidateAndSerializeMetadata()
227 if (slot_number >= metadata.geometry.metadata_slot_count) { in WriteMetadata()
308 for (size_t i = 0; i < metadata.geometry.metadata_slot_count; i++) { in FlashPartitionTable()
356 if (slot_number >= geometry.metadata_slot_count) { in UpdatePartitionTable()
Dutility.cpp84 CHECK(slot_number < geometry.metadata_slot_count); in GetPrimaryMetadataOffset()
91 CHECK(slot_number < geometry.metadata_slot_count); in GetBackupMetadataOffset()
93 int64_t(geometry.metadata_max_size) * geometry.metadata_slot_count; in GetBackupMetadataOffset()
Dreader.cpp107 if (geometry->metadata_slot_count == 0) { in ParseGeometry()
357 GetTotalMetadataSize(geometry.metadata_max_size, geometry.metadata_slot_count); in ParseMetadata()
451 if (slot_number >= geometry.metadata_slot_count) { in ReadMetadata()
Dio_test.cpp183 EXPECT_EQ(exported->geometry.metadata_slot_count, imported->geometry.metadata_slot_count); in TEST_F()
288 imported->geometry.metadata_slot_count++; in TEST_F()
313 bad_geometry.metadata_slot_count++; in TEST_F()
318 EXPECT_EQ(metadata->geometry.metadata_slot_count, 2); in TEST_F()
Dbuilder.cpp191 uint32_t metadata_max_size, uint32_t metadata_slot_count) { in New() argument
193 if (!builder->Init(block_devices, super_partition, metadata_max_size, metadata_slot_count)) { in New()
391 uint32_t metadata_slot_count) { in Init() argument
396 if (metadata_slot_count == 0) { in Init()
478 uint64_t total_reserved = GetTotalMetadataSize(metadata_max_size, metadata_slot_count); in Init()
507 geometry_.metadata_slot_count = metadata_slot_count; in Init()
Dimages.cpp272 for (size_t i = 0; i < geometry_.metadata_slot_count * 2; i++) { in Build()
Dbuilder_test.cpp344 EXPECT_EQ(geometry.metadata_slot_count, 2); in TEST_F()
/system/extras/partition_tools/
Dlpdump.cc311 cout << "Metadata slot count: " << pt.geometry.metadata_slot_count << "\n"; in PrintMetadata()
512 uint32_t num_slots = pt->geometry.metadata_slot_count; in LpdumpMain()
Dlpadd.cc285 uint32_t slots = std::min(metadata_->geometry.metadata_slot_count, (uint32_t)2); in UpdateSuper()