Searched refs:LP_PARTITION_RESERVED_BYTES (Results 1 – 7 of 7) sorted by relevance
76 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()
159 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()
104 uint64_t total_reserved = LP_PARTITION_RESERVED_BYTES + reserved_size * 2; in ValidateAndSerializeMetadata()276 std::string zeroes(LP_PARTITION_RESERVED_BYTES, 0); in FlashPartitionTable()
50 static const uint64_t start = LP_PARTITION_RESERVED_BYTES; in TEST()
251 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()
110 #define LP_PARTITION_RESERVED_BYTES 4096 macro
160 uint64_t ret = std::max(alignment, LP_PARTITION_RESERVED_BYTES + in CalculateBlockDeviceSize()