Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h150 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);
Dmetadata_format.h113 uint32_t metadata_slot_count; member
/system/core/fs_mgr/liblp/
Dutility.cpp78 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()
Dwriter.cpp45 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()
Dreader.cpp103 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()
Dio_test.cpp180 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()
Dbuilder.cpp132 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()
Dimages.cpp238 for (size_t i = 0; i < geometry_.metadata_slot_count * 2; i++) { in Build()
Dbuilder_test.cpp335 EXPECT_EQ(geometry.metadata_slot_count, 2); in TEST_F()
/system/extras/partition_tools/
Dlpdump.cc330 cout << "Metadata slot count: " << pt->geometry.metadata_slot_count << "\n"; in LpdumpMain()