Searched refs:metadata_slot_count (Results 1 – 10 of 10) sorted by relevance
/system/core/fs_mgr/liblp/include/liblp/ |
D | builder.h | 150 uint32_t metadata_slot_count); 185 uint32_t metadata_slot_count) { in New() argument 187 metadata_slot_count); in New() 193 uint32_t metadata_slot_count) { in New() argument 196 return New(device_info, metadata_max_size, metadata_slot_count); in New() 296 uint32_t metadata_max_size, uint32_t metadata_slot_count);
|
D | metadata_format.h | 113 uint32_t metadata_slot_count; member
|
/system/core/fs_mgr/liblp/ |
D | utility.cpp | 78 CHECK(slot_number < geometry.metadata_slot_count); in GetPrimaryMetadataOffset() 85 CHECK(slot_number < geometry.metadata_slot_count); in GetBackupMetadataOffset() 87 int64_t(geometry.metadata_max_size) * geometry.metadata_slot_count; in GetBackupMetadataOffset()
|
D | writer.cpp | 45 g1.metadata_slot_count == g2.metadata_slot_count && in CompareGeometry() 101 uint64_t(geometry.metadata_max_size) * geometry.metadata_slot_count; in ValidateAndSerializeMetadata() 220 if (slot_number >= metadata.geometry.metadata_slot_count) { in WriteMetadata() 301 for (size_t i = 0; i < metadata.geometry.metadata_slot_count; i++) { in FlashPartitionTable() 349 if (slot_number >= geometry.metadata_slot_count) { in UpdatePartitionTable()
|
D | reader.cpp | 103 if (geometry->metadata_slot_count == 0) { in ParseGeometry() 316 GetTotalMetadataSize(geometry.metadata_max_size, geometry.metadata_slot_count); in ParseMetadata() 410 if (slot_number >= geometry.metadata_slot_count) { in ReadMetadata()
|
D | io_test.cpp | 180 EXPECT_EQ(exported->geometry.metadata_slot_count, imported->geometry.metadata_slot_count); in TEST() 285 imported->geometry.metadata_slot_count++; in TEST() 310 bad_geometry.metadata_slot_count++; in TEST() 315 EXPECT_EQ(metadata->geometry.metadata_slot_count, 2); in TEST()
|
D | builder.cpp | 132 uint32_t metadata_max_size, uint32_t metadata_slot_count) { in New() argument 134 if (!builder->Init(block_devices, super_partition, metadata_max_size, metadata_slot_count)) { in New() 307 uint32_t metadata_slot_count) { in Init() argument 312 if (metadata_slot_count == 0) { in Init() 386 uint64_t total_reserved = GetTotalMetadataSize(metadata_max_size, metadata_slot_count); in Init() 410 geometry_.metadata_slot_count = metadata_slot_count; in Init()
|
D | images.cpp | 238 for (size_t i = 0; i < geometry_.metadata_slot_count * 2; i++) { in Build()
|
D | builder_test.cpp | 335 EXPECT_EQ(geometry.metadata_slot_count, 2); in TEST_F()
|
/system/extras/partition_tools/ |
D | lpdump.cc | 330 cout << "Metadata slot count: " << pt->geometry.metadata_slot_count << "\n"; in LpdumpMain()
|