Searched refs:mtctx (Results 1 – 6 of 6) sorted by relevance
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A D | zstdmt_compress.c | 929 static size_t ZSTDMT_expandJobsTable (ZSTDMT_CCtx* mtctx, U32 nbWorkers) { in ZSTDMT_expandJobsTable() argument 931 if (nbJobs > mtctx->jobIDMask+1) { /* need more job capacity */ in ZSTDMT_expandJobsTable() 932 ZSTDMT_freeJobsTable(mtctx->jobs, mtctx->jobIDMask+1, mtctx->cMem); in ZSTDMT_expandJobsTable() 933 mtctx->jobIDMask = 0; in ZSTDMT_expandJobsTable() 934 mtctx->jobs = ZSTDMT_createJobsTable(&nbJobs, mtctx->cMem); in ZSTDMT_expandJobsTable() 935 if (mtctx->jobs==NULL) return ERROR(memory_allocation); in ZSTDMT_expandJobsTable() 937 mtctx->jobIDMask = nbJobs - 1; in ZSTDMT_expandJobsTable() 952 ZSTDMT_CCtx* mtctx; in ZSTDMT_createCCtx_advanced_internal() local 963 mtctx = (ZSTDMT_CCtx*) ZSTD_customCalloc(sizeof(ZSTDMT_CCtx), cMem); in ZSTDMT_createCCtx_advanced_internal() 964 if (!mtctx) return NULL; in ZSTDMT_createCCtx_advanced_internal() [all …]
|
| H A D | zstdmt_compress.h | 50 size_t ZSTDMT_freeCCtx(ZSTDMT_CCtx* mtctx); 52 size_t ZSTDMT_sizeof_CCtx(ZSTDMT_CCtx* mtctx); 56 size_t ZSTDMT_nextInputSizeHint(const ZSTDMT_CCtx* mtctx); 66 size_t ZSTDMT_initCStream_internal(ZSTDMT_CCtx* mtctx, 78 size_t ZSTDMT_compressStream_generic(ZSTDMT_CCtx* mtctx, 89 size_t ZSTDMT_toFlushNow(ZSTDMT_CCtx* mtctx); 94 void ZSTDMT_updateCParams_whileCompressing(ZSTDMT_CCtx* mtctx, const ZSTD_CCtx_params* cctxParams); 100 ZSTD_frameProgression ZSTDMT_getFrameProgression(ZSTDMT_CCtx* mtctx);
|
| H A D | zstd_compress.c | 176 ZSTDMT_freeCCtx(cctx->mtctx); cctx->mtctx = NULL; in ZSTD_freeCCtxContent() 198 return ZSTDMT_sizeof_CCtx(cctx->mtctx); in ZSTD_sizeof_mtctx() 1873 return ZSTDMT_getFrameProgression(cctx->mtctx); in ZSTD_getFrameProgression() 1897 return ZSTDMT_toFlushNow(cctx->mtctx); in ZSTD_toFlushNow() 6293 assert(cctx->mtctx != NULL); in ZSTD_nextInputSizeHint_MTorST() 6294 return ZSTDMT_nextInputSizeHint(cctx->mtctx); in ZSTD_nextInputSizeHint_MTorST() 6400 if (cctx->mtctx == NULL) { in ZSTD_CCtx_init_compressStream2() 6403 … cctx->mtctx = ZSTDMT_createCCtx_advanced((U32)params.nbWorkers, cctx->customMem, cctx->pool); in ZSTD_CCtx_init_compressStream2() 6404 RETURN_ERROR_IF(cctx->mtctx == NULL, memory_allocation, "NULL pointer!"); in ZSTD_CCtx_init_compressStream2() 6409 cctx->mtctx, in ZSTD_CCtx_init_compressStream2() [all …]
|
| H A D | zstd_compress_internal.h | 532 ZSTDMT_CCtx* mtctx; member
|
| /freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_compress.c | 177 ZSTDMT_freeCCtx(cctx->mtctx); cctx->mtctx = NULL; in ZSTD_freeCCtxContent() 199 return ZSTDMT_sizeof_CCtx(cctx->mtctx); in ZSTD_sizeof_mtctx() 1874 return ZSTDMT_getFrameProgression(cctx->mtctx); in ZSTD_getFrameProgression() 1898 return ZSTDMT_toFlushNow(cctx->mtctx); in ZSTD_toFlushNow() 6294 assert(cctx->mtctx != NULL); in ZSTD_nextInputSizeHint_MTorST() 6295 return ZSTDMT_nextInputSizeHint(cctx->mtctx); in ZSTD_nextInputSizeHint_MTorST() 6401 if (cctx->mtctx == NULL) { in ZSTD_CCtx_init_compressStream2() 6404 … cctx->mtctx = ZSTDMT_createCCtx_advanced((U32)params.nbWorkers, cctx->customMem, cctx->pool); in ZSTD_CCtx_init_compressStream2() 6405 RETURN_ERROR_IF(cctx->mtctx == NULL, memory_allocation, "NULL pointer!"); in ZSTD_CCtx_init_compressStream2() 6410 cctx->mtctx, in ZSTD_CCtx_init_compressStream2() [all …]
|
| H A D | zstd_compress_internal.h | 533 ZSTDMT_CCtx* mtctx; member
|