Searched refs:bufPool (Results 1 – 1 of 1) sorted by relevance
108 ZSTDMT_bufferPool* const bufPool = (ZSTDMT_bufferPool*)ZSTD_customCalloc( in ZSTDMT_createBufferPool() local110 if (bufPool==NULL) return NULL; in ZSTDMT_createBufferPool()111 if (ZSTD_pthread_mutex_init(&bufPool->poolMutex, NULL)) { in ZSTDMT_createBufferPool()112 ZSTD_customFree(bufPool, cMem); in ZSTDMT_createBufferPool()115 bufPool->bufferSize = 64 KB; in ZSTDMT_createBufferPool()116 bufPool->totalBuffers = maxNbBuffers; in ZSTDMT_createBufferPool()117 bufPool->nbBuffers = 0; in ZSTDMT_createBufferPool()118 bufPool->cMem = cMem; in ZSTDMT_createBufferPool()119 return bufPool; in ZSTDMT_createBufferPool()122 static void ZSTDMT_freeBufferPool(ZSTDMT_bufferPool* bufPool) in ZSTDMT_freeBufferPool() argument[all …]