Home
last modified time | relevance | path

Searched refs:ZSTD_customMem (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dzstd_common.c57 void* ZSTD_malloc(size_t size, ZSTD_customMem customMem) in ZSTD_malloc()
64 void* ZSTD_calloc(size_t size, ZSTD_customMem customMem) in ZSTD_calloc()
76 void ZSTD_free(void* ptr, ZSTD_customMem customMem) in ZSTD_free()
H A Dzstd_internal.h387 void* ZSTD_malloc(size_t size, ZSTD_customMem customMem);
388 void* ZSTD_calloc(size_t size, ZSTD_customMem customMem);
389 void ZSTD_free(void* ptr, ZSTD_customMem customMem);
H A Dpool.c36 ZSTD_customMem customMem;
114 ZSTD_customMem customMem) { in POOL_create_advanced()
311 POOL_ctx* POOL_create_advanced(size_t numThreads, size_t queueSize, ZSTD_customMem customMem) { in POOL_create_advanced()
H A Dpool.h35 ZSTD_customMem customMem);
/freebsd/sys/contrib/zstd/lib/common/
H A Dzstd_common.c56 void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customMalloc()
63 void* ZSTD_customCalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customCalloc()
75 void ZSTD_customFree(void* ptr, ZSTD_customMem customMem) in ZSTD_customFree()
H A Dzstd_internal.h358 void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem);
359 void* ZSTD_customCalloc(size_t size, ZSTD_customMem customMem);
360 void ZSTD_customFree(void* ptr, ZSTD_customMem customMem);
H A Dpool.c35 ZSTD_customMem customMem;
118 ZSTD_customMem customMem) in POOL_create_advanced()
320 POOL_create_advanced(size_t numThreads, size_t queueSize, ZSTD_customMem customMem) in POOL_create_advanced()
H A Dpool.h34 ZSTD_customMem customMem);
/freebsd/sys/contrib/zstd/lib/decompress/
H A Dzstd_ddict.c43 ZSTD_customMem cMem;
148 ZSTD_customMem customMem) in ZSTD_createDDict_advanced()
172 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict()
182 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict_byReference()
215 { ZSTD_customMem const cMem = ddict->cMem; in ZSTD_freeDDict()
H A Dzstd_decompress_internal.h151 ZSTD_customMem customMem;
H A Dzstd_decompress.c129 static size_t ZSTD_DDictHashSet_expand(ZSTD_DDictHashSet* hashSet, ZSTD_customMem customMem) { in ZSTD_DDictHashSet_expand()
176 static ZSTD_DDictHashSet* ZSTD_createDDictHashSet(ZSTD_customMem customMem) { in ZSTD_createDDictHashSet()
194 static void ZSTD_freeDDictHashSet(ZSTD_DDictHashSet* hashSet, ZSTD_customMem customMem) { in ZSTD_freeDDictHashSet()
207 …ctHashSet_addDDict(ZSTD_DDictHashSet* hashSet, const ZSTD_DDict* ddict, ZSTD_customMem customMem) { in ZSTD_DDictHashSet_addDDict()
289 static ZSTD_DCtx* ZSTD_createDCtx_internal(ZSTD_customMem customMem) { in ZSTD_createDCtx_internal()
300 ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem) in ZSTD_createDCtx_advanced()
323 { ZSTD_customMem const cMem = dctx->customMem; in ZSTD_freeDCtx()
1564 ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem) in ZSTD_createDStream_advanced()
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_ddict.c44 ZSTD_customMem cMem;
149 ZSTD_customMem customMem) in ZSTD_createDDict_advanced()
173 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict()
183 ZSTD_customMem const allocator = { NULL, NULL, NULL }; in ZSTD_createDDict_byReference()
216 { ZSTD_customMem const cMem = ddict->cMem; in ZSTD_freeDDict()
H A Dzstd_decompress_internal.h127 ZSTD_customMem customMem;
/freebsd/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.h1375 …uct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD_customMem; typedef
1376 static ZSTD_customMem const ZSTD_defaultCMem = { NULL, NULL, NULL }; /**< this constant defers to …
1378 ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem);
1379 ZSTDLIB_API ZSTD_CStream* ZSTD_createCStream_advanced(ZSTD_customMem customMem);
1380 ZSTDLIB_API ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem);
1381 ZSTDLIB_API ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem);
1387 ZSTD_customMem customMem);
1392 ZSTD_customMem customMem);
/freebsd/sys/contrib/zstd/lib/
H A Dzstd.h1587 …uct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; void* opaque; } ZSTD_customMem; typedef
1592 ZSTD_customMem const ZSTD_defaultCMem = { NULL, NULL, NULL }; /**< this constant defers to stdlib'…
1594 ZSTDLIB_STATIC_API ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem);
1595 ZSTDLIB_STATIC_API ZSTD_CStream* ZSTD_createCStream_advanced(ZSTD_customMem customMem);
1596 ZSTDLIB_STATIC_API ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem);
1597 ZSTDLIB_STATIC_API ZSTD_DStream* ZSTD_createDStream_advanced(ZSTD_customMem customMem);
1603 ZSTD_customMem customMem);
1629 ZSTD_customMem customMem);
1635 ZSTD_customMem customMem);
/freebsd/sys/contrib/zstd/lib/deprecated/
H A Dzbuff.h195 …"use ZSTD_createCStream_advanced") ZBUFF_CCtx* ZBUFF_createCCtx_advanced(ZSTD_customMem customMem);
199 …"use ZSTD_createDStream_advanced") ZBUFF_DCtx* ZBUFF_createDCtx_advanced(ZSTD_customMem customMem);
H A Dzbuff_decompress.c25 ZBUFF_DCtx* ZBUFF_createDCtx_advanced(ZSTD_customMem customMem) in ZBUFF_createDCtx_advanced()
H A Dzbuff_compress.c59 ZBUFF_CCtx* ZBUFF_createCCtx_advanced(ZSTD_customMem customMem) in ZBUFF_createCCtx_advanced()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c101 ZSTD_customMem cMem;
105 static ZSTDMT_bufferPool* ZSTDMT_createBufferPool(unsigned maxNbBuffers, ZSTD_customMem cMem) in ZSTDMT_createBufferPool()
168 { ZSTD_customMem const cMem = srcBufPool->cMem; in ZSTDMT_expandBufferPool()
325 static ZSTDMT_seqPool* ZSTDMT_createSeqPool(unsigned nbWorkers, ZSTD_customMem cMem) in ZSTDMT_createSeqPool()
351 ZSTD_customMem cMem;
368 ZSTD_customMem cMem) in ZSTDMT_createCCtxPool()
393 { ZSTD_customMem const cMem = srcPool->cMem; in ZSTDMT_expandCCtxPool()
490 ZSTD_customMem cMem = params.customMem; in ZSTDMT_serialState_reset()
553 ZSTD_customMem cMem = serialState->params.customMem; in ZSTDMT_serialState_free()
856 ZSTD_customMem cMem;
[all …]
H A Dzstdmt_compress.h54 ZSTD_customMem cMem,
H A Dzstd_cwksp.h586 MEM_STATIC size_t ZSTD_cwksp_create(ZSTD_cwksp* ws, size_t size, ZSTD_customMem customMem) { in ZSTD_cwksp_create()
594 MEM_STATIC void ZSTD_cwksp_free(ZSTD_cwksp* ws, ZSTD_customMem customMem) { in ZSTD_cwksp_free()
/freebsd/sys/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.c121 static void* ZWRAP_customMalloc(size_t size, ZSTD_customMem customMem) in ZWRAP_customMalloc()
128 static void* ZWRAP_customCalloc(size_t size, ZSTD_customMem customMem) in ZWRAP_customCalloc()
140 static void ZWRAP_customFree(void* ptr, ZSTD_customMem customMem) in ZWRAP_customFree()
160 ZSTD_customMem customMem;
184 ZSTD_customMem customMem = { NULL, NULL, NULL }; in ZWRAP_createCCtx()
529 ZSTD_customMem customMem;
544 ZSTD_customMem customMem = { NULL, NULL, NULL }; in ZWRAP_createDCtx()
/freebsd/sys/geom/uzip/
H A Dg_uzip_zstd.c126 static const ZSTD_customMem zstd_guz_alloc = {
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_cwksp.h459 MEM_STATIC size_t ZSTD_cwksp_create(ZSTD_cwksp* ws, size_t size, ZSTD_customMem customMem) { in ZSTD_cwksp_create()
467 MEM_STATIC void ZSTD_cwksp_free(ZSTD_cwksp* ws, ZSTD_customMem customMem) { in ZSTD_cwksp_free()
/freebsd/sys/contrib/openzfs/module/zstd/
H A Dzfs_zstd.c198 static const ZSTD_customMem zstd_malloc = {
206 static const ZSTD_customMem zstd_dctx_malloc = {

12