Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c345 } ZSTDMT_CCtxPool; typedef
348 static void ZSTDMT_freeCCtxPool(ZSTDMT_CCtxPool* pool) in ZSTDMT_freeCCtxPool()
359 static ZSTDMT_CCtxPool* ZSTDMT_createCCtxPool(int nbWorkers, in ZSTDMT_createCCtxPool()
362 ZSTDMT_CCtxPool* const cctxPool = (ZSTDMT_CCtxPool*) ZSTD_customCalloc( in ZSTDMT_createCCtxPool()
363 sizeof(ZSTDMT_CCtxPool) + (nbWorkers-1)*sizeof(ZSTD_CCtx*), cMem); in ZSTDMT_createCCtxPool()
379 static ZSTDMT_CCtxPool* ZSTDMT_expandCCtxPool(ZSTDMT_CCtxPool* srcPool, in ZSTDMT_expandCCtxPool()
392 static size_t ZSTDMT_sizeof_CCtxPool(ZSTDMT_CCtxPool* cctxPool) in ZSTDMT_sizeof_CCtxPool()
409 static ZSTD_CCtx* ZSTDMT_getCCtx(ZSTDMT_CCtxPool* cctxPool) in ZSTDMT_getCCtx()
424 static void ZSTDMT_releaseCCtx(ZSTDMT_CCtxPool* pool, ZSTD_CCtx* cctx) in ZSTDMT_releaseCCtx()
636 ZSTDMT_CCtxPool* cctxPool; /* Thread-safe - used by mtctx and (all) workers */
[all …]