Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.h56 const uptr MinAlignmentLog = FIRST_32_SECOND_64(3, 4); variable
58 const uptr MinAlignment = 1 << MinAlignmentLog;
Dscudo_allocator.cpp93 getHeaderSize() - (Header->Offset << MinAlignmentLog)); in getBackendPtr()
102 (Header->Offset << MinAlignmentLog); in getUsableSize()
376 Header.Offset = (AlignedUserPtr - UserPtr) >> MinAlignmentLog; in allocate()
428 const uptr EstimatedSize = Size + (Header->Offset << MinAlignmentLog); in quarantineOrDeallocateChunk()
614 (MaxPrimaryAlignment - Chunk::getHeaderSize()) >> MinAlignmentLog; in performSanityChecks()
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp34 const uptr MinAlignmentLog = 4; // 16 bytes for x64 variable
94 reinterpret_cast<uptr>(this) - (Header->Offset << MinAlignmentLog)); in AllocBeg()
266 static const uptr MinAlignment = 1 << MinAlignmentLog;
298 uptr MaximumOffset = (MaxAlignment - ChunkHeaderSize) >> MinAlignmentLog; in init()
363 Header.Offset = (ChunkBeg - ChunkHeaderSize - AllocBeg) >> MinAlignmentLog; in allocate()
454 return Size - ChunkHeaderSize - (Header->Offset << MinAlignmentLog); in getUsableSize()
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dcombined.h454 Header.Offset = (Offset >> MinAlignmentLog) & Chunk::OffsetMask;
933 static const uptr MinAlignmentLog = SCUDO_MIN_ALIGNMENT_LOG; variable
935 static const uptr MinAlignment = 1UL << MinAlignmentLog;
997 (MaxPrimaryAlignment - Chunk::getHeaderSize()) >> MinAlignmentLog; in performSanityChecks()
1022 (static_cast<uptr>(Header->Offset) << MinAlignmentLog)); in getBlockBegin()
/external/scudo/standalone/
Dcombined.h491 Header.Offset = (Offset >> MinAlignmentLog) & Chunk::OffsetMask;
955 static const uptr MinAlignmentLog = SCUDO_MIN_ALIGNMENT_LOG; variable
957 static const uptr MinAlignment = 1UL << MinAlignmentLog;
1031 (MaxPrimaryAlignment - Chunk::getHeaderSize()) >> MinAlignmentLog; in performSanityChecks()
1056 (static_cast<uptr>(Header->Offset) << MinAlignmentLog)); in getBlockBegin()