Home
last modified time | relevance | path

Searched refs:LP_PARTITION_RESERVED_BYTES (Results 1 – 7 of 7) sorted by relevance

/system/core/fs_mgr/liblp/
Dutility.cpp76 return LP_PARTITION_RESERVED_BYTES; in GetPrimaryGeometryOffset()
85 int64_t offset = LP_PARTITION_RESERVED_BYTES + (LP_METADATA_GEOMETRY_SIZE * 2) + in GetPrimaryMetadataOffset()
92 int64_t start = LP_PARTITION_RESERVED_BYTES + (LP_METADATA_GEOMETRY_SIZE * 2) + in GetBackupMetadataOffset()
98 return LP_PARTITION_RESERVED_BYTES + in GetTotalMetadataSize()
Dimages.cpp159 if (LP_PARTITION_RESERVED_BYTES % block_size != 0) { in ImageBuilder()
261 if (sparse_file_add_fill(device_images_[0].get(), 0, LP_PARTITION_RESERVED_BYTES, 0) < 0) { in Build()
276 uint64_t first_sector = LP_PARTITION_RESERVED_BYTES / LP_SECTOR_SIZE; in Build()
Dwriter.cpp104 uint64_t total_reserved = LP_PARTITION_RESERVED_BYTES + reserved_size * 2; in ValidateAndSerializeMetadata()
276 std::string zeroes(LP_PARTITION_RESERVED_BYTES, 0); in FlashPartitionTable()
Dutility_test.cpp50 static const uint64_t start = LP_PARTITION_RESERVED_BYTES; in TEST()
Dbuilder_test.cpp251 total - (metadata * slots + geometry) * 2 - LP_PARTITION_RESERVED_BYTES; in TEST_F()
434 device_info.size += LP_PARTITION_RESERVED_BYTES + (LP_METADATA_GEOMETRY_SIZE * 2); in TEST_F()
/system/core/fs_mgr/liblp/include/liblp/
Dmetadata_format.h110 #define LP_PARTITION_RESERVED_BYTES 4096 macro
/system/extras/partition_tools/
Dlpmake.cc160 uint64_t ret = std::max(alignment, LP_PARTITION_RESERVED_BYTES + in CalculateBlockDeviceSize()