Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c105 static ZSTDMT_bufferPool* ZSTDMT_createBufferPool(unsigned maxNbBuffers, ZSTD_customMem cMem) in ZSTDMT_createBufferPool() argument
108 sizeof(ZSTDMT_bufferPool) + (maxNbBuffers-1) * sizeof(buffer_t), cMem); in ZSTDMT_createBufferPool()
115 bufPool->totalBuffers = maxNbBuffers; in ZSTDMT_createBufferPool()
162 …ic ZSTDMT_bufferPool* ZSTDMT_expandBufferPool(ZSTDMT_bufferPool* srcBufPool, unsigned maxNbBuffers) in ZSTDMT_expandBufferPool() argument
165 if (srcBufPool->totalBuffers >= maxNbBuffers) /* good enough */ in ZSTDMT_expandBufferPool()
172 newBufPool = ZSTDMT_createBufferPool(maxNbBuffers, cMem); in ZSTDMT_expandBufferPool()