Lines Matching refs:defaultMemPool

297 static MemoryPool *defaultMemPool = (MemoryPool*)defaultMemPool_space;  variable
1102 next = defaultMemPool->next; in init()
1103 defaultMemPool->next = this; in init()
1104 prev = defaultMemPool; in init()
1151 MALLOC_ASSERT(this==defaultMemPool, nullptr); in destroy()
1856 defaultMemPool->extMemPool.backend.getSlabBlock(1)); in getBlock()
1932 defaultMemPool->returnEmptyBlock(blockToRelease, /*poolTheBlock=*/false); in free()
2031 MALLOC_ASSERT( isAligned(defaultMemPool, sizeof(intptr_t)), in initMemoryManager()
2040 if (!defaultMemPool) { in initMemoryManager()
2043 defaultMemPool = (MemoryPool*)defaultMemPool_space; in initMemoryManager()
2045 bool initOk = defaultMemPool-> in initMemoryManager()
2049 if (!initOk || !initBackRefMain(&defaultMemPool->extMemPool.backend) || !ThreadId::init()) in initMemoryManager()
2526 return defaultMemPool->extMemPool.backend.ptrCanBeValid(ptr) && in isRecognized()
2657 (FreeObject*)defaultMemPool->getFromLLOCache(nullptr, size, slabSize); in internalMalloc()
2663 return internalPoolMalloc(defaultMemPool, size); in internalMalloc()
2668 internalPoolFree(defaultMemPool, object, 0); in internalFree()
2811 __TBB_ASSERT_RELEASE(pool!=defaultMemPool, in pool_identify()
2871 defaultMemPool->onThreadShutdown(defaultMemPool->getTLS(/*create=*/false)); in doThreadShutdownNotification()
2877 for (MemoryPool *memPool = defaultMemPool->next; memPool; memPool = memPool->next) in doThreadShutdownNotification()
2912 defaultMemPool->extMemPool.loc.reportStat(stdout); in __TBB_mallocProcessShutdownNotification()
2920 defaultMemPool->destroy(); in __TBB_mallocProcessShutdownNotification()
2921 destroyBackRefMain(&defaultMemPool->extMemPool.backend); in __TBB_mallocProcessShutdownNotification()
2954 internalPoolFree(defaultMemPool, object, size); in __TBB_malloc_free_definite_size()
2968 …if (mallocInitialized.load(std::memory_order_acquire) && defaultMemPool->extMemPool.backend.ptrCan… in __TBB_malloc_safer_free()
2972 TLSData *tls = defaultMemPool->getTLS(/*create=*/false); in __TBB_malloc_safer_free()
2974 defaultMemPool->putToLLOCache(tls, object); in __TBB_malloc_safer_free()
3007 tmp = reallocAligned(defaultMemPool, ptr, size, 0); in scalable_realloc()
3028 tmp = reallocAligned(defaultMemPool, ptr, sz, 0); in __TBB_malloc_safer_realloc()
3100 void *result = allocateAligned(defaultMemPool, size, alignment); in scalable_posix_memalign()
3113 void *tmp = allocateAligned(defaultMemPool, size, alignment); in scalable_aligned_malloc()
3127 tmp = allocateAligned(defaultMemPool, size, alignment); in scalable_aligned_realloc()
3132 tmp = reallocAligned(defaultMemPool, ptr, size, alignment); in scalable_aligned_realloc()
3148 tmp = allocateAligned(defaultMemPool, size, alignment); in __TBB_malloc_safer_aligned_realloc()
3154 tmp = reallocAligned(defaultMemPool, ptr, size, alignment); in __TBB_malloc_safer_aligned_realloc()
3166 tmp = allocateAligned(defaultMemPool, size, alignment); in __TBB_malloc_safer_aligned_realloc()
3256 defaultMemPool->extMemPool.backend.setRecommendedMaxSize((size_t)value); in scalable_allocation_mode()
3283 defaultMemPool->extMemPool.loc.setHugeSizeThreshold((size_t)value); in scalable_allocation_mode()
3297 if (TLSData *tls = defaultMemPool->getTLS(/*create=*/false)) in scalable_allocation_command()
3301 released = defaultMemPool->extMemPool.hardCachesCleanup(true); in scalable_allocation_command()