Searched refs:cMem (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstdmt_compress.c | 101 ZSTD_customMem cMem; member 105 static ZSTDMT_bufferPool* ZSTDMT_createBufferPool(unsigned maxNbBuffers, ZSTD_customMem cMem) in ZSTDMT_createBufferPool() argument 108 sizeof(ZSTDMT_bufferPool) + (maxNbBuffers-1) * sizeof(buffer_t), cMem); in ZSTDMT_createBufferPool() 111 ZSTD_customFree(bufPool, cMem); in ZSTDMT_createBufferPool() 117 bufPool->cMem = cMem; in ZSTDMT_createBufferPool() 128 ZSTD_customFree(bufPool->bTable[u].start, bufPool->cMem); in ZSTDMT_freeBufferPool() 131 ZSTD_customFree(bufPool, bufPool->cMem); in ZSTDMT_freeBufferPool() 168 { ZSTD_customMem const cMem = srcBufPool->cMem; in ZSTDMT_expandBufferPool() local 172 newBufPool = ZSTDMT_createBufferPool(maxNbBuffers, cMem); in ZSTDMT_expandBufferPool() 201 ZSTD_customFree(buf.start, bufPool->cMem); in ZSTDMT_getBuffer() [all …]
|
H A D | zstdmt_compress.h | 54 ZSTD_customMem cMem,
|
H A D | zstd_compress.c | 4969 { ZSTD_customMem const cMem = cdict->customMem; in ZSTD_freeCDict() local 4971 ZSTD_cwksp_free(&cdict->workspace, cMem); in ZSTD_freeCDict() 4973 ZSTD_customFree(cdict, cMem); in ZSTD_freeCDict()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A D | zstd_ddict.c | 43 ZSTD_customMem cMem; member 130 void* const internalBuffer = ZSTD_malloc(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_free(ddict->dictBuffer, cMem); in ZSTD_freeDDict() 217 ZSTD_free(ddict, cMem); in ZSTD_freeDDict()
|
H A D | zstd_decompress.c | 165 { ZSTD_customMem const cMem = dctx->customMem; in ZSTD_freeDCtx() local 167 ZSTD_free(dctx->inBuff, cMem); in ZSTD_freeDCtx() 173 ZSTD_free(dctx, cMem); in ZSTD_freeDCtx()
|
/freebsd/sys/contrib/zstd/lib/decompress/ |
H A D | zstd_ddict.c | 43 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 D | zstd_decompress.c | 323 { ZSTD_customMem const cMem = dctx->customMem; in ZSTD_freeDCtx() local 325 ZSTD_customFree(dctx->inBuff, cMem); in ZSTD_freeDCtx() 332 ZSTD_freeDDictHashSet(dctx->ddictSet, cMem); in ZSTD_freeDCtx() 335 ZSTD_customFree(dctx, cMem); in ZSTD_freeDCtx()
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | benchzstd.h | 54 size_t cMem; /* memory usage during compression */ member
|
H A D | benchzstd.c | 553 benchResult.cMem = (1ULL << (comprParams->windowLog)) + ZSTD_sizeof_CCtx(cctx); in BMK_benchMemAdvancedNoAlloc()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress.c | 3469 { ZSTD_customMem const cMem = cdict->customMem; in ZSTD_freeCDict() local 3471 ZSTD_cwksp_free(&cdict->workspace, cMem); in ZSTD_freeCDict() 3473 ZSTD_free(cdict, cMem); in ZSTD_freeCDict()
|