Lines Matching refs:bSize
154 static void ZSTDMT_setBufferSize(ZSTDMT_bufferPool* const bufPool, size_t const bSize) in ZSTDMT_setBufferSize() argument
157 DEBUGLOG(4, "ZSTDMT_setBufferSize: bSize = %u", (U32)bSize); in ZSTDMT_setBufferSize()
158 bufPool->bufferSize = bSize; in ZSTDMT_setBufferSize()
171 size_t const bSize = srcBufPool->bufferSize; /* forward parameters */ in ZSTDMT_expandBufferPool() local
176 ZSTDMT_setBufferSize(newBufPool, bSize); in ZSTDMT_expandBufferPool()
187 size_t const bSize = bufPool->bufferSize; in ZSTDMT_getBuffer() local
194 if ((availBufferSize >= bSize) & ((availBufferSize>>3) <= bSize)) { in ZSTDMT_getBuffer()
209 void* const start = ZSTD_customMalloc(bSize, bufPool->cMem); in ZSTDMT_getBuffer()
211 buffer.capacity = (start==NULL) ? 0 : bSize; in ZSTDMT_getBuffer()
215 DEBUGLOG(5, "ZSTDMT_getBuffer: created buffer of size %u", (U32)bSize); in ZSTDMT_getBuffer()
229 size_t const bSize = bufPool->bufferSize; in ZSTDMT_resizeBuffer() local
230 if (buffer.capacity < bSize) { in ZSTDMT_resizeBuffer()
231 void* const start = ZSTD_customMalloc(bSize, bufPool->cMem); in ZSTDMT_resizeBuffer()
234 newBuffer.capacity = start == NULL ? 0 : bSize; in ZSTDMT_resizeBuffer()
238 DEBUGLOG(5, "ZSTDMT_resizeBuffer: created buffer of size %u", (U32)bSize); in ZSTDMT_resizeBuffer()