Home
last modified time | relevance | path

Searched refs:ZSTD_malloc (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/contrib/zstd/lib/common/
H A Dthreading.c86 *mutex = (pthread_mutex_t*)ZSTD_malloc(sizeof(pthread_mutex_t)); in ZSTD_pthread_mutex_init()
105 *cond = (pthread_cond_t*)ZSTD_malloc(sizeof(pthread_cond_t)); in ZSTD_pthread_cond_init()
H A Dzstd_common.c60 return ZSTD_malloc(size); in ZSTD_customMalloc()
H A Dzstd_deps.h54 #define ZSTD_malloc(s) malloc(s) macro
H A Dfse_decompress.c63 return (FSE_DTable*)ZSTD_malloc( FSE_DTABLE_SIZE_U32(tableLog) * sizeof (U32) ); in FSE_createDTable()
H A Dxxhash.h1458 static void* XXH_malloc(size_t s) { return ZSTD_malloc(s); } in XXH_malloc()
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dpool.c125 ctx->queue = (POOL_job*)ZSTD_malloc(ctx->queueSize * sizeof(POOL_job), customMem); in POOL_create_advanced()
139 ctx->threads = (ZSTD_pthread_t*)ZSTD_malloc(numThreads * sizeof(ZSTD_pthread_t), customMem); in POOL_create_advanced()
206 …{ ZSTD_pthread_t* const threadPool = (ZSTD_pthread_t*)ZSTD_malloc(numThreads * sizeof(ZSTD_pthre… in POOL_resize_internal()
H A Dzstd_common.c56 void* ZSTD_malloc(size_t size, ZSTD_customMem customMem) in ZSTD_malloc() function
H A Dzstd_internal.h386 void* ZSTD_malloc(size_t size, ZSTD_customMem customMem);
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_ddict.c130 void* const internalBuffer = ZSTD_malloc(dictSize, ddict->cMem); in ZSTD_initDDict_internal()
152 { ZSTD_DDict* const ddict = (ZSTD_DDict*) ZSTD_malloc(sizeof(ZSTD_DDict), customMem); in ZSTD_createDDict_advanced()
H A Dzstd_decompress.c139 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_malloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_advanced()
1751 zds->inBuff = (char*)ZSTD_malloc(bufferSize, zds->customMem); in ZSTD_decompressStream()
/freebsd/sys/contrib/openzfs/module/zstd/include/
H A Dzstd_compat_wrapper.h96 #define ZSTD_malloc zfs_ZSTD_malloc macro
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_cwksp.h459 void* workspace = ZSTD_malloc(size, customMem); in ZSTD_cwksp_create()
H A Dzstd_compress.c86 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_malloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
906 void* dictBuffer = ZSTD_malloc(dictSize, cctx->customMem); in ZSTD_CCtx_loadDictionary_advanced()
2369 void* dst = ZSTD_malloc(dstCapacity, ZSTD_defaultCMem); in ZSTD_getSequences()
3418 void* const workspace = ZSTD_malloc(workspaceSize, customMem); in ZSTD_createCDict_advanced()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dfse_compress.c350 return (FSE_CTable*)ZSTD_malloc(size); in FSE_createCTable()
/freebsd/sys/contrib/zstd/
H A DCONTRIBUTING.md415 and must use instead `ZSTD_malloc()` and equivalent.