Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c344 if (!cctxPool) return NULL; in ZSTDMT_createCCtxPool()
346 ZSTD_free(cctxPool, cMem); in ZSTDMT_createCCtxPool()
349 cctxPool->cMem = cMem; in ZSTDMT_createCCtxPool()
353 if (!cctxPool->cctx[0]) { ZSTDMT_freeCCtxPool(cctxPool); return NULL; } in ZSTDMT_createCCtxPool()
355 return cctxPool; 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()
743 ZSTDMT_CCtxPool* cctxPool; member
1122 mtctx->jobs[u].cctxPool = mtctx->cctxPool; in ZSTDMT_compress_advanced_internal()
[all …]