Searched refs:bufPool (Results 1 – 1 of 1) sorted by relevance
109 ZSTDMT_bufferPool* const bufPool = (ZSTDMT_bufferPool*)ZSTD_calloc( in ZSTDMT_createBufferPool() local111 if (bufPool==NULL) return NULL; in ZSTDMT_createBufferPool()112 if (ZSTD_pthread_mutex_init(&bufPool->poolMutex, NULL)) { in ZSTDMT_createBufferPool()113 ZSTD_free(bufPool, cMem); in ZSTDMT_createBufferPool()116 bufPool->bufferSize = 64 KB; in ZSTDMT_createBufferPool()117 bufPool->totalBuffers = maxNbBuffers; in ZSTDMT_createBufferPool()118 bufPool->nbBuffers = 0; in ZSTDMT_createBufferPool()119 bufPool->cMem = cMem; in ZSTDMT_createBufferPool()120 return bufPool; in ZSTDMT_createBufferPool()123 static void ZSTDMT_freeBufferPool(ZSTDMT_bufferPool* bufPool) in ZSTDMT_freeBufferPool() argument[all …]