Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.cpp190 void *BackendPtr = Chunk::getBackendPtr(Ptr, &Header); in Recycle() local
192 getBackend().deallocatePrimary(Cache_, BackendPtr, Header.ClassId); in Recycle()
194 getBackend().deallocateSecondary(BackendPtr); in Recycle()
341 void *BackendPtr; in allocate() local
349 BackendPtr = Backend.allocatePrimary(&TSD->Cache, ClassId); in allocate()
355 BackendPtr = Backend.allocateSecondary(BackendSize, Alignment); in allocate()
357 if (UNLIKELY(!BackendPtr)) { in allocate()
366 memset(BackendPtr, 0, PrimaryT::ClassIdToSize(ClassId)); in allocate()
369 uptr UserPtr = reinterpret_cast<uptr>(BackendPtr) + Chunk::getHeaderSize(); in allocate()
379 DCHECK_LE(UserPtr + Size, reinterpret_cast<uptr>(BackendPtr) + BackendSize); in allocate()
[all …]