Searched refs:AlignToPowerOf2 (Results 1 – 5 of 5) sorted by relevance
83 AlignToPowerOf2(bytesWritten, PARTITION_SIZE_SHIFT); in GeneratePersistentBootconfig()88 const off_t bootconfig_size_bytes = AlignToPowerOf2( in GeneratePersistentBootconfig()
113 static_assert(AlignToPowerOf2(sizeof(GptBeginning), PARTITION_SIZE_SHIFT) ==294 return AlignToPowerOf2(next_disk_offset_ + sizeof(GptEnd), DISK_SIZE_SHIFT); in DiskSize()465 return AlignToPowerOf2(size, PARTITION_SIZE_SHIFT); in AlignToPartitionSize()
29 constexpr uint64_t AlignToPowerOf2(uint64_t val, uint8_t align_log) { in AlignToPowerOf2() function
31 return AlignToPowerOf2(width, kLogAlignment); in AlignStride()
200 AlignToPowerOf2(kMaxAvbMetadataSize + 4096, PARTITION_SIZE_SHIFT); in PrepareBootEnvImage()