Home
last modified time | relevance | path

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

/haiku/src/system/kernel/debug/
H A Ddebug_heap.cpp226 static DebugAllocPool* sCurrentPool; variable
233 if (sCurrentPool == NULL) { in create_debug_alloc_pool()
235 sCurrentPool = &sInitialPool; in create_debug_alloc_pool()
236 return sCurrentPool; in create_debug_alloc_pool()
239 DebugAllocPool* pool = sCurrentPool->CreateChildPool(); in create_debug_alloc_pool()
243 sCurrentPool = pool; in create_debug_alloc_pool()
244 return sCurrentPool; in create_debug_alloc_pool()
251 if (pool == NULL || sCurrentPool == NULL) in delete_debug_alloc_pool()
255 DebugAllocPool* otherPool = sCurrentPool; in delete_debug_alloc_pool()
263 sCurrentPool = pool->Parent(); in delete_debug_alloc_pool()
[all …]