Searched refs:metadata_slot_count (Results 1 – 11 of 11) sorted by relevance
/system/core/fs_mgr/liblp/include/liblp/ |
D | builder.h | 209 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);
|
D | metadata_format.h | 136 uint32_t metadata_slot_count; member
|
/system/core/fs_mgr/liblp/ |
D | writer.cpp | 46 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()
|
D | utility.cpp | 84 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()
|
D | reader.cpp | 107 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()
|
D | io_test.cpp | 183 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()
|
D | builder.cpp | 191 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()
|
D | images.cpp | 272 for (size_t i = 0; i < geometry_.metadata_slot_count * 2; i++) { in Build()
|
D | builder_test.cpp | 344 EXPECT_EQ(geometry.metadata_slot_count, 2); in TEST_F()
|
/system/extras/partition_tools/ |
D | lpdump.cc | 311 cout << "Metadata slot count: " << pt.geometry.metadata_slot_count << "\n"; in PrintMetadata() 512 uint32_t num_slots = pt->geometry.metadata_slot_count; in LpdumpMain()
|
D | lpadd.cc | 285 uint32_t slots = std::min(metadata_->geometry.metadata_slot_count, (uint32_t)2); in UpdateSuper()
|