Lines Matching defs:Allocator
227 struct Allocator { struct
228 static const uptr MaxAllowedMallocSize =
231 BackendT Backend;
232 QuarantineT Quarantine;
234 u32 QuarantineChunksUpToSize;
236 bool DeallocationTypeMismatch;
237 bool ZeroContents;
238 bool DeleteSizeMismatch;
240 bool CheckRssLimit;
241 uptr HardRssLimitMb;
242 uptr SoftRssLimitMb;
243 atomic_uint8_t RssLimitExceeded;
244 atomic_uint64_t RssLastCheckedAtNS;
246 explicit Allocator(LinkerInitialized) in Allocator() argument
251 void init() { in init()
290 bool isValidPointer(const void *Ptr) { in isValidPointer()
302 void *allocate(uptr Size, uptr Alignment, AllocType Type, in allocate()
404 void quarantineOrDeallocateChunk(void *Ptr, UnpackedHeader *Header, in quarantineOrDeallocateChunk()
443 void deallocate(void *Ptr, uptr DeleteSize, uptr DeleteAlignment, in deallocate()
491 void *reallocate(void *OldPtr, uptr NewSize) { in reallocate()
542 uptr getUsableSize(const void *Ptr) { in getUsableSize()
560 void *calloc(uptr NMemB, uptr Size) { in calloc()
570 void commitBack(ScudoTSD *TSD) { in commitBack()
575 uptr getStats(AllocatorStat StatType) { in getStats()
582 bool canReturnNull() { in canReturnNull()
587 void setRssLimit(uptr LimitMb, bool HardLimit) { in setRssLimit()
595 void printStats() { in printStats()