Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c365 if (!cctxPool) return NULL; in ZSTDMT_createCCtxPool()
370 cctxPool->cMem = cMem; in ZSTDMT_createCCtxPool()
371 cctxPool->totalCCtx = nbWorkers; in ZSTDMT_createCCtxPool()
374 if (!cctxPool->cctx[0]) { ZSTDMT_freeCCtxPool(cctxPool); return NULL; } in ZSTDMT_createCCtxPool()
376 return cctxPool; 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()
810 ZSTDMT_CCtxPool* cctxPool; member
1024 mtctx->cctxPool = ZSTDMT_expandCCtxPool(mtctx->cctxPool, nbWorkers); in ZSTDMT_resize()
[all …]