Home
last modified time | relevance | path

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

/dragonfly/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c342 int availCCtx; member
372 cctxPool->availCCtx = 1; /* at least one cctx for single-thread mode */ in ZSTDMT_createCCtxPool()
413 if (cctxPool->availCCtx) { in ZSTDMT_getCCtx()
414 cctxPool->availCCtx--; in ZSTDMT_getCCtx()
415 { ZSTD_CCtx* const cctx = cctxPool->cctx[cctxPool->availCCtx]; in ZSTDMT_getCCtx()
428 if (pool->availCCtx < pool->totalCCtx) in ZSTDMT_releaseCCtx()
429 pool->cctx[pool->availCCtx++] = cctx; in ZSTDMT_releaseCCtx()