Lines Matching refs:mallocPool

395     StressLOCacheWork(rml::MemoryPool *mallocPool) : my_mallocPool(mallocPool) {}  in StressLOCacheWork()  argument
426 rml::MemoryPool *mallocPool; in TestPools() local
428 pool_create_v1(0, &pol, &mallocPool); in TestPools()
441 void *p = pool_malloc(mallocPool, passBackendSz); in TestPools()
443 pool_free(mallocPool, p); in TestPools()
448 void *p = pool_malloc(mallocPool, anotherLOCBinSz); in TestPools()
450 pool_free(mallocPool, p); in TestPools()
471 NativeParallelFor( p, StressLOCacheWork(mallocPool) ); in TestPools()
472 pool_destroy(mallocPool); in TestPools()
482 pool_create_v1(0, &pol, &mallocPool); in TestPools()
483 const LargeObjectCache *loc = &((rml::internal::MemoryPool*)mallocPool)->extMemPool.loc; in TestPools()
485 p[3] = pool_malloc(mallocPool, minLargeObjectSize+2*LargeCacheStep); in TestPools()
487 p[0] = pool_malloc(mallocPool, minLargeObjectSize); in TestPools()
488 p[1] = pool_malloc(mallocPool, minLargeObjectSize+LargeCacheStep); in TestPools()
489 pool_free(mallocPool, p[0]); in TestPools()
490 pool_free(mallocPool, p[1]); in TestPools()
493 pool_free(mallocPool, p[3]); in TestPools()
498 p[i] = pool_malloc(mallocPool, minLargeObjectSize+i*LargeCacheStep); in TestPools()
501 p[4] = pool_malloc(mallocPool, minLargeObjectSize+3*LargeCacheStep); in TestPools()
503 pool_free(mallocPool, p[4]); in TestPools()
505 pool_reset(mallocPool); in TestPools()
507 pool_destroy(mallocPool); in TestPools()
513 pool_create_v1(0, &pol, &mallocPool); in TestPools()
514 rml::internal::ExtMemoryPool *mPool = &((rml::internal::MemoryPool*)mallocPool)->extMemPool; in TestPools()
515 const LargeObjectCache *loc = &((rml::internal::MemoryPool*)mallocPool)->extMemPool.loc; in TestPools()
518 void *o = pool_malloc(mallocPool, minLargeObjectSize+i*LargeCacheStep); in TestPools()
522 o = pool_malloc(mallocPool, minLargeObjectSize+i*LargeCacheStep); in TestPools()
529 pool_destroy(mallocPool); in TestPools()