Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c102 ZSTD_customMem cMem; member
114 ZSTD_customFree(bufPool->buffers[u].start, bufPool->cMem); in ZSTDMT_freeBufferPool()
116 ZSTD_customFree(bufPool->buffers, bufPool->cMem); in ZSTDMT_freeBufferPool()
119 ZSTD_customFree(bufPool, bufPool->cMem); in ZSTDMT_freeBufferPool()
122 static ZSTDMT_bufferPool* ZSTDMT_createBufferPool(unsigned maxNbBuffers, ZSTD_customMem cMem) in ZSTDMT_createBufferPool() argument
125 (ZSTDMT_bufferPool*)ZSTD_customCalloc(sizeof(ZSTDMT_bufferPool), cMem); in ZSTDMT_createBufferPool()
128 ZSTD_customFree(bufPool, cMem); in ZSTDMT_createBufferPool()
131 bufPool->buffers = (Buffer*)ZSTD_customCalloc(maxNbBuffers * sizeof(Buffer), cMem); in ZSTDMT_createBufferPool()
139 bufPool->cMem = cMem; in ZSTDMT_createBufferPool()
177 { ZSTD_customMem const cMem = srcBufPool->cMem; in ZSTDMT_expandBufferPool() local
[all …]
H A Dzstdmt_compress.h48 ZSTD_customMem cMem,
H A Dzstd_compress.c5735 { ZSTD_customMem const cMem = cdict->customMem; in ZSTD_freeCDict() local
5737 ZSTD_cwksp_free(&cdict->workspace, cMem); in ZSTD_freeCDict()
5739 ZSTD_customFree(cdict, cMem); in ZSTD_freeCDict()
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_ddict.c44 ZSTD_customMem cMem; member
131 void* const internalBuffer = ZSTD_customMalloc(dictSize, ddict->cMem); in ZSTD_initDDict_internal()
155 ddict->cMem = customMem; in ZSTD_createDDict_advanced()
216 { ZSTD_customMem const cMem = ddict->cMem; in ZSTD_freeDDict() local
217 ZSTD_customFree(ddict->dictBuffer, cMem); in ZSTD_freeDDict()
218 ZSTD_customFree(ddict, cMem); in ZSTD_freeDDict()
H A Dzstd_decompress.c329 { ZSTD_customMem const cMem = dctx->customMem; in ZSTD_freeDCtx() local
331 ZSTD_customFree(dctx->inBuff, cMem); in ZSTD_freeDCtx()
338 ZSTD_freeDDictHashSet(dctx->ddictSet, cMem); in ZSTD_freeDCtx()
341 ZSTD_customFree(dctx, cMem); in ZSTD_freeDCtx()
/freebsd/sys/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.c328 { ZSTD_customMem const cMem = dctx->customMem; in ZSTD_freeDCtx() local
330 ZSTD_customFree(dctx->inBuff, cMem); in ZSTD_freeDCtx()
337 ZSTD_freeDDictHashSet(dctx->ddictSet, cMem); in ZSTD_freeDCtx()
340 ZSTD_customFree(dctx, cMem); in ZSTD_freeDCtx()
/freebsd/sys/contrib/zstd/programs/
H A Dbenchzstd.h49 size_t cMem; /* memory usage during compression */ member
H A Dbenchzstd.c774 benchResult.cMem = in BMK_benchMemAdvancedNoAlloc()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c5736 { ZSTD_customMem const cMem = cdict->customMem; in ZSTD_freeCDict() local
5738 ZSTD_cwksp_free(&cdict->workspace, cMem); in ZSTD_freeCDict()
5740 ZSTD_customFree(cdict, cMem); in ZSTD_freeCDict()