Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c872 ZSTDMT_freeJobsTable(mtctx->jobs, mtctx->jobIDMask+1, mtctx->cMem); in ZSTDMT_expandJobsTable()
924 …if (!mtctx->factory | !mtctx->jobs | !mtctx->bufPool | !mtctx->cctxPool | !mtctx->seqPool | initEr… in ZSTDMT_createCCtx_advanced_internal()
972 while (mtctx->doneJobID < mtctx->nextJobID) { in ZSTDMT_waitForAllJobsCompleted()
990 ZSTDMT_freeJobsTable(mtctx->jobs, mtctx->jobIDMask+1, mtctx->cMem); in ZSTDMT_freeCCtx()
998 ZSTD_customFree(mtctx, mtctx->cMem); in ZSTDMT_freeCCtx()
1224 mtctx->cdict = mtctx->cdictLocal; in ZSTDMT_initCStream_internal()
1326 if (mtctx->nextJobID > mtctx->doneJobID + mtctx->jobIDMask) { in ZSTDMT_createCompressionJob()
1328 assert((mtctx->nextJobID & mtctx->jobIDMask) == (mtctx->doneJobID & mtctx->jobIDMask)); in ZSTDMT_createCompressionJob()
1342 mtctx->jobs[jobID].params = mtctx->params; in ZSTDMT_createCompressionJob()
1343 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);
81 size_t ZSTDMT_compressStream_generic(ZSTDMT_CCtx* mtctx,
92 size_t ZSTDMT_toFlushNow(ZSTDMT_CCtx* mtctx);
97 void ZSTDMT_updateCParams_whileCompressing(ZSTDMT_CCtx* mtctx, const ZSTD_CCtx_params* cctxParams);
103 ZSTD_frameProgression ZSTDMT_getFrameProgression(ZSTDMT_CCtx* mtctx);
H A Dzstd_compress.c155 ZSTDMT_freeCCtx(cctx->mtctx); cctx->mtctx = NULL; in ZSTD_freeCCtxContent()
179 return ZSTDMT_sizeof_CCtx(cctx->mtctx); in ZSTD_sizeof_mtctx()
1428 return ZSTDMT_getFrameProgression(cctx->mtctx); in ZSTD_getFrameProgression()
1452 return ZSTDMT_toFlushNow(cctx->mtctx); in ZSTD_toFlushNow()
4296 assert(cctx->mtctx != NULL); in ZSTD_nextInputSizeHint_MTorST()
4297 return ZSTDMT_nextInputSizeHint(cctx->mtctx); in ZSTD_nextInputSizeHint_MTorST()
4380 if (cctx->mtctx == NULL) { in ZSTD_CCtx_init_compressStream2()
4384 RETURN_ERROR_IF(cctx->mtctx == NULL, memory_allocation, "NULL pointer!"); in ZSTD_CCtx_init_compressStream2()
4389 cctx->mtctx, in ZSTD_CCtx_init_compressStream2()
4446 ZSTDMT_updateCParams_whileCompressing(cctx->mtctx, &cctx->requestedParams); in ZSTD_compressStream2()
[all …]
H A Dzstd_compress_internal.h322 ZSTDMT_CCtx* mtctx; member
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c9806 ZSTDMT_API size_t ZSTDMT_freeCCtx(ZSTDMT_CCtx* mtctx);
9896 size_t ZSTDMT_toFlushNow(ZSTDMT_CCtx* mtctx);
10194 ZSTDMT_CCtx* mtctx; member
13226 ZSTDMT_freeCCtx(cctx->mtctx); cctx->mtctx = NULL; in ZSTD_freeCCtxContent()
13250 return ZSTDMT_sizeof_CCtx(cctx->mtctx); in ZSTD_sizeof_mtctx()
14321 return ZSTDMT_getFrameProgression(cctx->mtctx); in ZSTD_getFrameProgression()
14345 return ZSTDMT_toFlushNow(cctx->mtctx); in ZSTD_toFlushNow()
17032 assert(cctx->mtctx != NULL); in ZSTD_nextInputSizeHint_MTorST()
17033 return ZSTDMT_nextInputSizeHint(cctx->mtctx); in ZSTD_nextInputSizeHint_MTorST()
17077 if (cctx->mtctx == NULL) { in ZSTD_compressStream2()
[all …]