Lines Matching refs:ZSTDMT_bufferPool
103 } ZSTDMT_bufferPool; typedef
105 static ZSTDMT_bufferPool* ZSTDMT_createBufferPool(unsigned maxNbBuffers, ZSTD_customMem cMem) in ZSTDMT_createBufferPool()
107 ZSTDMT_bufferPool* const bufPool = (ZSTDMT_bufferPool*)ZSTD_customCalloc( in ZSTDMT_createBufferPool()
108 sizeof(ZSTDMT_bufferPool) + (maxNbBuffers-1) * sizeof(buffer_t), cMem); in ZSTDMT_createBufferPool()
121 static void ZSTDMT_freeBufferPool(ZSTDMT_bufferPool* bufPool) in ZSTDMT_freeBufferPool()
135 static size_t ZSTDMT_sizeof_bufferPool(ZSTDMT_bufferPool* bufPool) in ZSTDMT_sizeof_bufferPool()
153 static void ZSTDMT_setBufferSize(ZSTDMT_bufferPool* const bufPool, size_t const bSize) in ZSTDMT_setBufferSize()
162 static ZSTDMT_bufferPool* ZSTDMT_expandBufferPool(ZSTDMT_bufferPool* srcBufPool, unsigned maxNbBuff… in ZSTDMT_expandBufferPool()
170 ZSTDMT_bufferPool* newBufPool; in ZSTDMT_expandBufferPool()
183 static buffer_t ZSTDMT_getBuffer(ZSTDMT_bufferPool* bufPool) in ZSTDMT_getBuffer()
225 static buffer_t ZSTDMT_resizeBuffer(ZSTDMT_bufferPool* bufPool, buffer_t buffer) in ZSTDMT_resizeBuffer()
246 static void ZSTDMT_releaseBuffer(ZSTDMT_bufferPool* bufPool, buffer_t buf) in ZSTDMT_releaseBuffer()
277 typedef ZSTDMT_bufferPool ZSTDMT_seqPool;
643 ZSTDMT_bufferPool* bufPool; /* Thread-safe - used by mtctx and (all) workers */
837 ZSTDMT_bufferPool* bufPool;