Home
last modified time | relevance | path

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

/freebsd-14.2/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c900 ZSTDMT_freeJobsTable(mtctx->jobs, mtctx->jobIDMask+1, mtctx->cMem); in ZSTDMT_expandJobsTable()
952 …if (!mtctx->factory | !mtctx->jobs | !mtctx->bufPool | !mtctx->cctxPool | !mtctx->seqPool | initEr… in ZSTDMT_createCCtx_advanced_internal()
1000 while (mtctx->doneJobID < mtctx->nextJobID) { in ZSTDMT_waitForAllJobsCompleted()
1018 ZSTDMT_freeJobsTable(mtctx->jobs, mtctx->jobIDMask+1, mtctx->cMem); in ZSTDMT_freeCCtx()
1026 ZSTD_customFree(mtctx, mtctx->cMem); in ZSTDMT_freeCCtx()
1252 mtctx->cdict = mtctx->cdictLocal; in ZSTDMT_initCStream_internal()
1356 if (mtctx->nextJobID > mtctx->doneJobID + mtctx->jobIDMask) { in ZSTDMT_createCompressionJob()
1358 assert((mtctx->nextJobID & mtctx->jobIDMask) == (mtctx->doneJobID & mtctx->jobIDMask)); in ZSTDMT_createCompressionJob()
1372 mtctx->jobs[jobID].params = mtctx->params; in ZSTDMT_createCompressionJob()
1373 mtctx->jobs[jobID].cdict = mtctx->nextJobID==0 ? mtctx->cdict : NULL; in ZSTDMT_createCompressionJob()
[all …]
H A Dzstdmt_compress.h56 size_t ZSTDMT_freeCCtx(ZSTDMT_CCtx* mtctx);
58 size_t ZSTDMT_sizeof_CCtx(ZSTDMT_CCtx* mtctx);
62 size_t ZSTDMT_nextInputSizeHint(const ZSTDMT_CCtx* mtctx);
72 size_t ZSTDMT_initCStream_internal(ZSTDMT_CCtx* mtctx,
84 size_t ZSTDMT_compressStream_generic(ZSTDMT_CCtx* mtctx,
95 size_t ZSTDMT_toFlushNow(ZSTDMT_CCtx* mtctx);
100 void ZSTDMT_updateCParams_whileCompressing(ZSTDMT_CCtx* mtctx, const ZSTD_CCtx_params* cctxParams);
106 ZSTD_frameProgression ZSTDMT_getFrameProgression(ZSTDMT_CCtx* mtctx);
H A Dzstd_compress.c170 ZSTDMT_freeCCtx(cctx->mtctx); cctx->mtctx = NULL; in ZSTD_freeCCtxContent()
194 return ZSTDMT_sizeof_CCtx(cctx->mtctx); in ZSTD_sizeof_mtctx()
1622 return ZSTDMT_getFrameProgression(cctx->mtctx); in ZSTD_getFrameProgression()
1646 return ZSTDMT_toFlushNow(cctx->mtctx); in ZSTD_toFlushNow()
5499 assert(cctx->mtctx != NULL); in ZSTD_nextInputSizeHint_MTorST()
5500 return ZSTDMT_nextInputSizeHint(cctx->mtctx); in ZSTD_nextInputSizeHint_MTorST()
5589 if (cctx->mtctx == NULL) { in ZSTD_CCtx_init_compressStream2()
5593 RETURN_ERROR_IF(cctx->mtctx == NULL, memory_allocation, "NULL pointer!"); in ZSTD_CCtx_init_compressStream2()
5598 cctx->mtctx, in ZSTD_CCtx_init_compressStream2()
5659 ZSTDMT_updateCParams_whileCompressing(cctx->mtctx, &cctx->requestedParams); in ZSTD_compressStream2()
[all …]
H A Dzstd_compress_internal.h422 ZSTDMT_CCtx* mtctx; member
/freebsd-14.2/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c142 ZSTDMT_freeCCtx(cctx->mtctx); cctx->mtctx = NULL; in ZSTD_freeCCtxContent()
166 return ZSTDMT_sizeof_CCtx(cctx->mtctx); in ZSTD_sizeof_mtctx()
1237 return ZSTDMT_getFrameProgression(cctx->mtctx); in ZSTD_getFrameProgression()
1261 return ZSTDMT_toFlushNow(cctx->mtctx); in ZSTD_toFlushNow()
3948 assert(cctx->mtctx != NULL); in ZSTD_nextInputSizeHint_MTorST()
3949 return ZSTDMT_nextInputSizeHint(cctx->mtctx); in ZSTD_nextInputSizeHint_MTorST()
3993 if (cctx->mtctx == NULL) { in ZSTD_compressStream2()
3997 RETURN_ERROR_IF(cctx->mtctx == NULL, memory_allocation, "NULL pointer!"); in ZSTD_compressStream2()
4002 cctx->mtctx, in ZSTD_compressStream2()
4025 ZSTDMT_updateCParams_whileCompressing(cctx->mtctx, &cctx->requestedParams); in ZSTD_compressStream2()
[all …]
H A Dzstd_compress_internal.h283 ZSTDMT_CCtx* mtctx; member