Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_sync.cpp45 : block_alloc_("heap block allocator"), sync_alloc_("sync allocator") {} in MetaMap()
48 u32 idx = block_alloc_.Alloc(&thr->proc()->block_cache); in AllocBlock()
49 MBlock *b = block_alloc_.Map(idx); in AllocBlock()
84 block_alloc_.Free(&proc->block_cache, idx & ~kFlagMask); in FreeRange()
197 return block_alloc_.Map(idx & ~kFlagMask); in GetBlock()
278 block_alloc_.FlushCache(&proc->block_cache); in OnProcIdle()
284 stats.mem_block = block_alloc_.AllocatedMemory(); in GetMemoryStats()
H A Dtsan_sync.h139 BlockAlloc block_alloc_; variable