Home
last modified time | relevance | path

Searched refs:bufPool (Results 1 – 1 of 1) sorted by relevance

/dragonfly/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c117 bufPool->nbBuffers = 0; in ZSTDMT_createBufferPool()
118 bufPool->cMem = cMem; in ZSTDMT_createBufferPool()
119 return bufPool; in ZSTDMT_createBufferPool()
129 ZSTD_customFree(bufPool->bTable[u].start, bufPool->cMem); in ZSTDMT_freeBufferPool()
132 ZSTD_customFree(bufPool, bufPool->cMem); in ZSTDMT_freeBufferPool()
191 buffer_t const buf = bufPool->bTable[--(bufPool->nbBuffers)]; in ZSTDMT_getBuffer()
193 bufPool->bTable[bufPool->nbBuffers] = g_nullBuffer; in ZSTDMT_getBuffer()
253 if (bufPool->nbBuffers < bufPool->totalBuffers) { in ZSTDMT_releaseBuffer()
254 bufPool->bTable[bufPool->nbBuffers++] = buf; /* stored for later use */ in ZSTDMT_releaseBuffer()
1022 mtctx->bufPool = ZSTDMT_expandBufferPool(mtctx->bufPool, nbWorkers); in ZSTDMT_resize()
[all …]