Searched refs:MemPoolPolicy (Results 1 – 6 of 6) sorted by relevance
| /oneTBB/test/tbbmalloc/ |
| H A D | test_malloc_pools.cpp | 97 rml::MemPoolPolicy pol(getMallocMem, putMallocMem); in TestPoolReset() 175 rml::MemPoolPolicy pol(getMallocMem, putMallocMem); in TestSharedPool() 297 rml::MemPoolPolicy pol(CrossThreadGetMem, CrossThreadPutMem); in TestTooSmallBuffer() 494 rml::MemPoolPolicy pol(getGranMem, putGranMem); in TestPoolGranularity() 534 rml::MemPoolPolicy pol(getMemMalloc, putMemFree); in TestPoolKeepTillDestroy() 594 rml::MemPoolPolicy pol(getGranMem, putGranMem); in TestEntries() 632 rml::MemPoolPolicy okPolicy(getMemMalloc, putMemFree); in CreateUsablePool() 691 rml::MemPoolPolicy nullPolicy(nullptr, putMemFree), in TestPoolCreation() 782 rml::MemPoolPolicy pol(getMemMalloc, putMemFree); in TestLazyBootstrap() 817 rml::MemPoolPolicy pol(getMallocMem, putMallocMem); in TestNoLeakOnDestroy() [all …]
|
| H A D | test_scalable_allocator.cpp | 148 rml::MemPoolPolicy pol(fixedBufGetMem, nullptr, 0, /*fixedSizePool=*/true, in TestSmallFixedSizePool()
|
| H A D | test_malloc_whitebox.cpp | 437 rml::MemPoolPolicy pol(getMem, putMem); in TestPools() 664 rml::MemPoolPolicy pol(getMallocMem, putMallocMem); in TestBackend()
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | scalable_allocator.h | 142 struct MemPoolPolicy { struct 159 MemPoolPolicy(rawAllocType pAlloc_, rawFreeType pFree_, argument 182 TBBMALLOC_EXPORT MemPoolError pool_create_v1(std::intptr_t pool_id, const MemPoolPolicy *policy, argument
|
| H A D | memory_pool.h | 204 rml::MemPoolPolicy args(allocate_request, deallocate_request, in memory_pool() 248 rml::MemPoolPolicy args(allocate_request, nullptr, size, /*fixedPool=*/true); in fixed_pool()
|
| /oneTBB/src/tbbmalloc/ |
| H A D | frontend.cpp | 279 bool init(intptr_t poolId, const MemPoolPolicy* memPoolPolicy); 1094 bool MemoryPool::init(intptr_t poolId, const MemPoolPolicy *policy) in init() 2690 TBBMALLOC_EXPORT rml::MemoryPool *pool_create(intptr_t pool_id, const MemPoolPolicy *policy) in pool_create() 2693 MemPoolPolicy pol(policy->pAlloc, policy->pFree, policy->granularity); in pool_create() 2699 rml::MemPoolError pool_create_v1(intptr_t pool_id, const MemPoolPolicy *policy, in pool_create_v1() 2702 if ( !policy->pAlloc || policy->version<MemPoolPolicy::TBBMALLOC_POOL_VERSION in pool_create_v1() 2708 if ( policy->version>MemPoolPolicy::TBBMALLOC_POOL_VERSION // future versions are not supported in pool_create_v1()
|