Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/
Dutility.cpp70 return LP_PARTITION_RESERVED_BYTES; in GetPrimaryGeometryOffset()
79 int64_t offset = LP_PARTITION_RESERVED_BYTES + (LP_METADATA_GEOMETRY_SIZE * 2) + in GetPrimaryMetadataOffset()
86 int64_t start = LP_PARTITION_RESERVED_BYTES + (LP_METADATA_GEOMETRY_SIZE * 2) + in GetBackupMetadataOffset()
92 return LP_PARTITION_RESERVED_BYTES + in GetTotalMetadataSize()
Dutility_test.cpp47 static const uint64_t start = LP_PARTITION_RESERVED_BYTES; in TEST()
Dimages.cpp125 if (LP_PARTITION_RESERVED_BYTES % block_size != 0) { in ImageBuilder()
227 if (sparse_file_add_fill(device_images_[0].get(), 0, LP_PARTITION_RESERVED_BYTES, 0) < 0) { in Build()
242 uint64_t first_sector = LP_PARTITION_RESERVED_BYTES / LP_SECTOR_SIZE; in Build()
Dwriter.cpp102 uint64_t total_reserved = LP_PARTITION_RESERVED_BYTES + reserved_size * 2; in ValidateAndSerializeMetadata()
269 std::string zeroes(LP_PARTITION_RESERVED_BYTES, 0); in FlashPartitionTable()
Dbuilder_test.cpp242 total - (metadata * slots + geometry) * 2 - LP_PARTITION_RESERVED_BYTES; in TEST_F()
424 device_info.size += LP_PARTITION_RESERVED_BYTES + (LP_METADATA_GEOMETRY_SIZE * 2); in TEST_F()
/system/core/fs_mgr/liblp/include/liblp/
Dmetadata_format.h87 #define LP_PARTITION_RESERVED_BYTES 4096 macro