reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/scudo/scudo_allocator.cpp
  508     Chunk::loadHeader(OldPtr, &OldHeader);
  509     if (UNLIKELY(OldHeader.State != ChunkAllocated))
  513       if (UNLIKELY(OldHeader.AllocType != FromMalloc))
  517     const uptr UsableSize = Chunk::getUsableSize(OldPtr, &OldHeader);
  522       UnpackedHeader NewHeader = OldHeader;
  524           OldHeader.ClassId ? NewSize : UsableSize - NewSize;
  525       Chunk::compareExchangeHeader(OldPtr, &NewHeader, &OldHeader);
  532       const uptr OldSize = OldHeader.ClassId ? OldHeader.SizeOrUnusedBytes :
  532       const uptr OldSize = OldHeader.ClassId ? OldHeader.SizeOrUnusedBytes :
  533           UsableSize - OldHeader.SizeOrUnusedBytes;
  535       quarantineOrDeallocateChunk(OldPtr, &OldHeader, OldSize);