Home
last modified time | relevance | path

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

/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp86 const uptr ChunkHeaderSize = sizeof(PackedHeader); variable
298 uptr MaximumOffset = (MaxAlignment - ChunkHeaderSize) >> MinAlignmentLog; in init()
332 uptr ExtraBytes = ChunkHeaderSize; in allocate()
355 uptr ChunkBeg = AllocBeg + ChunkHeaderSize; in allocate()
360 reinterpret_cast<ScudoChunk *>(ChunkBeg - ChunkHeaderSize); in allocate()
363 Header.Offset = (ChunkBeg - ChunkHeaderSize - AllocBeg) >> MinAlignmentLog; in allocate()
390 reinterpret_cast<ScudoChunk *>(ChunkBeg - ChunkHeaderSize); in deallocate()
438 reinterpret_cast<ScudoChunk *>(ChunkBeg - ChunkHeaderSize); in getUsableSize()
454 return Size - ChunkHeaderSize - (Header->Offset << MinAlignmentLog); in getUsableSize()
472 reinterpret_cast<ScudoChunk *>(ChunkBeg - ChunkHeaderSize); in reallocate()