Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/contrib/zstd/lib/compress/
Dzstdmt_compress.c321 unsigned availCCtx; member
351 cctxPool->availCCtx = 1; /* at least one cctx for single-thread mode */ in ZSTDMT_createCCtxPool()
380 if (cctxPool->availCCtx) { in ZSTDMT_getCCtx()
381 cctxPool->availCCtx--; in ZSTDMT_getCCtx()
382 { ZSTD_CCtx* const cctx = cctxPool->cctx[cctxPool->availCCtx]; in ZSTDMT_getCCtx()
395 if (pool->availCCtx < pool->totalCCtx) in ZSTDMT_releaseCCtx()
396 pool->cctx[pool->availCCtx++] = cctx; in ZSTDMT_releaseCCtx()