Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c101 ZSTD_customMem cMem; member
112 ZSTD_customFree(bufPool, cMem); in ZSTDMT_createBufferPool()
118 bufPool->cMem = cMem; in ZSTDMT_createBufferPool()
170 { ZSTD_customMem const cMem = srcBufPool->cMem; in ZSTDMT_expandBufferPool() local
343 ZSTD_customMem cMem; member
370 cctxPool->cMem = cMem; in ZSTDMT_createCCtxPool()
385 { ZSTD_customMem const cMem = srcPool->cMem; in ZSTDMT_expandCCtxPool() local
828 ZSTD_customMem cMem; member
899 if ((cMem.customAlloc!=NULL) ^ (cMem.customFree!=NULL)) in ZSTDMT_createCCtx_advanced_internal()
906 mtctx->cMem = cMem; in ZSTDMT_createCCtx_advanced_internal()
[all …]
H A Dzstdmt_compress.h54 ZSTD_customMem cMem,
H A Dzstd_compress.c3796 { ZSTD_customMem const cMem = cdict->customMem; in ZSTD_freeCDict() local
3798 ZSTD_cwksp_free(&cdict->workspace, cMem); in ZSTD_freeCDict()
3800 ZSTD_customFree(cdict, cMem); in ZSTD_freeCDict()
/f-stack/freebsd/contrib/zstd/lib/decompress/
H A Dzstd_ddict.c43 ZSTD_customMem cMem; member
130 void* const internalBuffer = ZSTD_customMalloc(dictSize, ddict->cMem); in ZSTD_initDDict_internal()
154 ddict->cMem = customMem; in ZSTD_createDDict_advanced()
215 { ZSTD_customMem const cMem = ddict->cMem; in ZSTD_freeDDict() local
216 ZSTD_customFree(ddict->dictBuffer, cMem); in ZSTD_freeDDict()
217 ZSTD_customFree(ddict, cMem); in ZSTD_freeDDict()
H A Dzstd_decompress.c173 { ZSTD_customMem const cMem = dctx->customMem; in ZSTD_freeDCtx() local
175 ZSTD_customFree(dctx->inBuff, cMem); in ZSTD_freeDCtx()
181 ZSTD_customFree(dctx, cMem); in ZSTD_freeDCtx()
/f-stack/freebsd/contrib/zstd/programs/
H A Dbenchzstd.h54 size_t cMem; /* memory usage during compression */ member
H A Dbenchzstd.c553 benchResult.cMem = (1ULL << (comprParams->windowLog)) + ZSTD_sizeof_CCtx(cctx); in BMK_benchMemAdvancedNoAlloc()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c16553 { ZSTD_customMem const cMem = cdict->customMem; in ZSTD_freeCDict() local
16555 ZSTD_cwksp_free(&cdict->workspace, cMem); in ZSTD_freeCDict()
16557 ZSTD_free(cdict, cMem); in ZSTD_freeCDict()
24243 ZSTD_customMem cMem; member
24354 ddict->cMem = customMem; in ZSTD_createDDict_advanced()
24415 { ZSTD_customMem const cMem = ddict->cMem; in ZSTD_freeDDict() local
24416 ZSTD_free(ddict->dictBuffer, cMem); in ZSTD_freeDDict()
24417 ZSTD_free(ddict, cMem); in ZSTD_freeDDict()
24671 { ZSTD_customMem const cMem = dctx->customMem; in ZSTD_freeDCtx() local
24673 ZSTD_free(dctx->inBuff, cMem); in ZSTD_freeDCtx()
[all …]