Lines Matching refs:SCUDO_ALLOCATOR
25 if (SCUDO_ALLOCATOR.canReturnNull()) {
31 return scudo::setErrnoOnNull(SCUDO_ALLOCATOR.allocate(
36 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
42 SCUDO_ALLOCATOR.getStats(Stats);
58 return scudo::setErrnoOnNull(SCUDO_ALLOCATOR.allocate(
67 return SCUDO_ALLOCATOR.getUsableSize(ptr);
81 if (SCUDO_ALLOCATOR.canReturnNull()) {
88 return SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign,
95 if (!SCUDO_ALLOCATOR.canReturnNull())
100 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign, alignment);
110 if (SCUDO_ALLOCATOR.canReturnNull()) {
117 return scudo::setErrnoOnNull(SCUDO_ALLOCATOR.allocate(
124 return scudo::setErrnoOnNull(SCUDO_ALLOCATOR.allocate(
127 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
131 SCUDO_ALLOCATOR.reallocate(ptr, size, SCUDO_MALLOC_ALIGNMENT));
135 return scudo::setErrnoOnNull(SCUDO_ALLOCATOR.allocate(
142 SCUDO_ALLOCATOR.iterateOverChunks(base, size, callback, arg);
146 INTERFACE WEAK void SCUDO_PREFIX(malloc_enable)() { SCUDO_ALLOCATOR.enable(); }
149 SCUDO_ALLOCATOR.disable();
153 SCUDO_ALLOCATOR.initGwpAsan();
170 SCUDO_ALLOCATOR.setOption(scudo::Option::ReleaseInterval,
174 SCUDO_ALLOCATOR.releaseToOS();
197 return SCUDO_ALLOCATOR.setOption(option, static_cast<scudo::sptr>(value));
204 if (SCUDO_ALLOCATOR.canReturnNull()) {
211 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, alignment));
216 decltype(SCUDO_ALLOCATOR)::PrimaryT::SizeClassMap::MaxSize;
224 SCUDO_ALLOCATOR.iterateOverChunks(0, -1ul, callback, sizes);
239 SCUDO_ALLOCATOR.disableMemoryTagging();
247 SCUDO_ALLOCATOR.setTrackAllocationStacks(track);
252 SCUDO_ALLOCATOR.setFillContents(zero_contents ? scudo::ZeroFill
259 SCUDO_ALLOCATOR.setFillContents(
268 SCUDO_ALLOCATOR.setAddLargeAllocationSlack(add_slack);