Home
last modified time | relevance | path

Searched refs:ZSTD_CCtx (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.h195 typedef struct ZSTD_CCtx_s ZSTD_CCtx; typedef
196 ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx(void);
197 ZSTDLIB_API size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx);
207 ZSTDLIB_API size_t ZSTD_compressCCtx(ZSTD_CCtx* cctx,
445 ZSTDLIB_API size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value);
462 ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize);
484 ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset);
496 ZSTDLIB_API size_t ZSTD_compress2( ZSTD_CCtx* cctx,
641 typedef ZSTD_CCtx ZSTD_CStream; /**< CCtx and CStream are now effectively same object (>= v1.3.0) …
682 ZSTDLIB_API size_t ZSTD_compressStream2( ZSTD_CCtx* cctx,
[all …]
/freebsd/sys/contrib/zstd/lib/
H A Dzstd.h202 typedef struct ZSTD_CCtx_s ZSTD_CCtx; typedef
203 ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx(void);
204 ZSTDLIB_API size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx); /* accept NULL pointer */
214 ZSTDLIB_API size_t ZSTD_compressCCtx(ZSTD_CCtx* cctx,
471 ZSTDLIB_API size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value);
488 ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize);
510 ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset);
522 ZSTDLIB_API size_t ZSTD_compress2( ZSTD_CCtx* cctx,
671 typedef ZSTD_CCtx ZSTD_CStream; /**< CCtx and CStream are now effectively same object (>= v1.3.0) …
713 ZSTDLIB_API size_t ZSTD_compressStream2( ZSTD_CCtx* cctx,
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c64 ZSTD_CCtx* ZSTD_createCCtx(void) in ZSTD_createCCtx()
69 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx()
81 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced()
86 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_malloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
93 ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize) in ZSTD_initStaticCCtx()
96 ZSTD_CCtx* cctx; in ZSTD_initStaticCCtx()
97 if (workspaceSize <= sizeof(ZSTD_CCtx)) return NULL; /* minimum size */ in ZSTD_initStaticCCtx()
101 cctx = (ZSTD_CCtx*)ZSTD_cwksp_reserve_object(&ws, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
104 memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
120 static void ZSTD_clearAllDicts(ZSTD_CCtx* cctx) in ZSTD_clearAllDicts()
[all …]
H A Dzstd_compress_superblock.h27 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc,
H A Dzstd_compress_internal.h1084 size_t ZSTD_compressBegin_advanced_internal(ZSTD_CCtx* cctx,
1094 size_t ZSTD_compress_advanced_internal(ZSTD_CCtx* cctx,
1119 size_t ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq);
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c92 ZSTD_CCtx* ZSTD_createCCtx(void) in ZSTD_createCCtx()
97 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx()
109 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced()
114 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_customMalloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
121 ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize) in ZSTD_initStaticCCtx()
124 ZSTD_CCtx* cctx; in ZSTD_initStaticCCtx()
125 if (workspaceSize <= sizeof(ZSTD_CCtx)) return NULL; /* minimum size */ in ZSTD_initStaticCCtx()
129 cctx = (ZSTD_CCtx*)ZSTD_cwksp_reserve_object(&ws, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
132 ZSTD_memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
148 static void ZSTD_clearAllDicts(ZSTD_CCtx* cctx) in ZSTD_clearAllDicts()
[all …]
H A Dzstd_compress_superblock.h27 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc,
H A Dzstdmt_compress.c352 ZSTD_CCtx* cctx[1]; /* variable size */
371 sizeof(ZSTDMT_CCtxPool) + (nbWorkers-1)*sizeof(ZSTD_CCtx*), cMem); in ZSTDMT_createCCtxPool()
405 + (nbWorkers-1) * sizeof(ZSTD_CCtx*); in ZSTDMT_sizeof_CCtxPool()
417 static ZSTD_CCtx* ZSTDMT_getCCtx(ZSTDMT_CCtxPool* cctxPool) in ZSTDMT_getCCtx()
423 { ZSTD_CCtx* const cctx = cctxPool->cctx[cctxPool->availCCtx]; in ZSTDMT_getCCtx()
432 static void ZSTDMT_releaseCCtx(ZSTDMT_CCtxPool* pool, ZSTD_CCtx* cctx) in ZSTDMT_releaseCCtx()
563 ZSTD_CCtx* jobCCtx, rawSeqStore_t seqStore, in ZSTDMT_serialState_update()
671 ZSTD_CCtx* const cctx = ZSTDMT_getCCtx(job->cctxPool); in ZSTDMT_compressionJob()
H A Dzstd_compress_internal.h1412 size_t ZSTD_compressBegin_advanced_internal(ZSTD_CCtx* cctx,
1422 size_t ZSTD_compress_advanced_internal(ZSTD_CCtx* cctx,
1447 size_t ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq);
1459 void ZSTD_CCtx_trace(ZSTD_CCtx* cctx, size_t extraCSize);
H A Dzstd_compress_superblock.c551 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc, in ZSTD_compressSuperBlock()
/freebsd/usr.bin/mkuzip/
H A Dmkuz_zstd.c49 ZSTD_CCtx *cctx; in mkuz_zstd_init()
81 ZSTD_CCtx *cctx; in mkuz_zstd_compress()
/freebsd/sys/contrib/zstd/programs/
H A Dbenchzstd.c165 BMK_initCCtx(ZSTD_CCtx* ctx, in BMK_initCCtx()
203 ZSTD_CCtx* cctx;
236 ZSTD_CCtx* const cctx = (ZSTD_CCtx*)addArgs; in local_defaultCompress()
314 ZSTD_CCtx* cctx, ZSTD_DCtx* dctx, in BMK_benchMemAdvancedNoAlloc()
585 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in BMK_benchMemAdvanced()
H A Dzstdcli_trace.c127 ZSTD_TraceCtx ZSTD_trace_compress_begin(ZSTD_CCtx const* cctx) in ZSTD_trace_compress_begin()
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dzstd_internal.h382 const seqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx); /* compress & dictBuilder */
420 void ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx); /* zstdmt, adaptive_compression (shouldn't get thi…
/freebsd/sys/contrib/zstd/lib/common/
H A Dzstd_internal.h354 const seqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx); /* compress & dictBuilder */
459 void ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx); /* zstdmt, adaptive_compression (shouldn't get thi…
/freebsd/sys/contrib/zstd/examples/
H A Ddictionary_compression.c43 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in compress()
H A Dmultiple_simple_compression.c22 ZSTD_CCtx* cctx;
H A Dstreaming_compression.c37 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in compressFile_orDie()
H A Dstreaming_memory_usage.c84 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in main()
H A Dmultiple_streaming_compression.c28 ZSTD_CCtx* cctx;
H A Dstreaming_compression_thread_pool.c48 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in compressFile_orDie()
/freebsd/sys/kern/
H A Dsubr_compressor.c262 ZSTD_CCtx *zst_stream;
280 ZSTD_CCtx *dump_compressor; in zstdio_init()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DCompression.cpp171 ZSTD_CCtx *Cctx = ZSTD_createCCtx(); in compress()
/freebsd/sys/contrib/zstd/zlibWrapper/
H A DREADME.md119 | zstd 1.1.0 using ZSTD_CCtx | 68.35 MB/s | 430.9 MB/s | 6868521 | 3.43…
/freebsd/sys/contrib/openzfs/module/zstd/
H A Dzfs_zstd.c509 ZSTD_CCtx *cctx; in zfs_zstd_compress_impl()

12