Home
last modified time | relevance | path

Searched refs:ZSTD_customMalloc (Results 1 – 13 of 13) sorted by relevance

/src/sys/contrib/zstd/lib/common/
H A Dpool.c131 ctx->queue = (POOL_job*)ZSTD_customMalloc(ctx->queueSize * sizeof(POOL_job), customMem); in POOL_create_advanced()
145 … ctx->threads = (ZSTD_pthread_t*)ZSTD_customMalloc(numThreads * sizeof(ZSTD_pthread_t), customMem); in POOL_create_advanced()
214 …{ ZSTD_pthread_t* const threadPool = (ZSTD_pthread_t*)ZSTD_customMalloc(numThreads * sizeof(ZSTD… in POOL_resize_internal()
H A Dzstd_common.c56 void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customMalloc() function
H A Dzstd_internal.h358 void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem);
/src/sys/contrib/openzfs/module/zstd/lib/common/
H A Dallocations.h27 MEM_STATIC void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customMalloc() function
/src/sys/contrib/zstd/lib/decompress/
H A Dzstd_ddict.c130 void* const internalBuffer = ZSTD_customMalloc(dictSize, ddict->cMem); in ZSTD_initDDict_internal()
152 { ZSTD_DDict* const ddict = (ZSTD_DDict*) ZSTD_customMalloc(sizeof(ZSTD_DDict), customMem); in ZSTD_createDDict_advanced()
H A Dzstd_decompress.c177 …ZSTD_DDictHashSet* ret = (ZSTD_DDictHashSet*)ZSTD_customMalloc(sizeof(ZSTD_DDictHashSet), customMe… in ZSTD_createDDictHashSet()
292 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_customMalloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_internal()
2096 zds->inBuff = (char*)ZSTD_customMalloc(bufferSize, zds->customMem); in ZSTD_decompressStream()
/src/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_ddict.c131 void* const internalBuffer = ZSTD_customMalloc(dictSize, ddict->cMem); in ZSTD_initDDict_internal()
153 { ZSTD_DDict* const ddict = (ZSTD_DDict*) ZSTD_customMalloc(sizeof(ZSTD_DDict), customMem); in ZSTD_createDDict_advanced()
H A Dzstd_decompress.c180 …ZSTD_DDictHashSet* ret = (ZSTD_DDictHashSet*)ZSTD_customMalloc(sizeof(ZSTD_DDictHashSet), customMe… in ZSTD_createDDictHashSet()
298 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_customMalloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_internal()
2264 zds->inBuff = (char*)ZSTD_customMalloc(bufferSize, zds->customMem); in ZSTD_decompressStream()
/src/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c207 void* const start = ZSTD_customMalloc(bSize, bufPool->cMem); in ZSTDMT_getBuffer()
229 void* const start = ZSTD_customMalloc(bSize, bufPool->cMem); in ZSTDMT_resizeBuffer()
506 serialState->ldmState.hashTable = (ldmEntry_t*)ZSTD_customMalloc(hashSize, cMem); in ZSTDMT_serialState_reset()
510 serialState->ldmState.bucketOffsets = (BYTE*)ZSTD_customMalloc(numBuckets, cMem); in ZSTDMT_serialState_reset()
1302 mtctx->roundBuff.buffer = (BYTE*)ZSTD_customMalloc(capacity, mtctx->cMem); in ZSTDMT_initCStream_internal()
H A Dzstd_cwksp.h587 void* workspace = ZSTD_customMalloc(size, customMem); in ZSTD_cwksp_create()
H A Dzstd_compress.c114 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_customMalloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
1147 dictBuffer = ZSTD_customMalloc(dictSize, cctx->customMem); in ZSTD_CCtx_loadDictionary_advanced()
2963 void* dst = ZSTD_customMalloc(dstCapacity, ZSTD_defaultCMem); in ZSTD_generateSequences()
4856 void* const workspace = ZSTD_customMalloc(workspaceSize, customMem); in ZSTD_createCDict_advanced_internal()
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_cwksp.h691 void* workspace = ZSTD_customMalloc(size, customMem); in ZSTD_cwksp_create()
H A Dzstd_compress.c120 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_customMalloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
1303 dictBuffer = ZSTD_customMalloc(dictSize, cctx->customMem); in ZSTD_CCtx_loadDictionary_advanced()
3538 dst = ZSTD_customMalloc(dstCapacity, ZSTD_defaultCMem); in ZSTD_generateSequences()
5622 void* const workspace = ZSTD_customMalloc(workspaceSize, customMem); in ZSTD_createCDict_advanced_internal()