Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dzstd_lib.h193 typedef struct ZSTD_CCtx_s ZSTD_CCtx; typedef
194 ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx(void);
195 ZSTDLIB_API size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx); /* accept NULL pointer */
205 ZSTDLIB_API size_t ZSTD_compressCCtx(ZSTD_CCtx* cctx,
462 ZSTDLIB_API size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value);
479 ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize);
501 ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset);
513 ZSTDLIB_API size_t ZSTD_compress2( ZSTD_CCtx* cctx,
662 typedef ZSTD_CCtx ZSTD_CStream; /*< CCtx and CStream are now effectively same object (>= v1.3.0) */
704 ZSTDLIB_API size_t ZSTD_compressStream2( ZSTD_CCtx* cctx,
[all …]
H A Dzstd.h141 typedef ZSTD_CCtx zstd_cctx;
/openbmc/linux/lib/zstd/compress/
H A Dzstd_compress.c89 ZSTD_CCtx* ZSTD_createCCtx(void) in ZSTD_createCCtx()
94 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx()
106 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced()
111 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_customMalloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
118 ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize) in ZSTD_initStaticCCtx()
121 ZSTD_CCtx* cctx; in ZSTD_initStaticCCtx()
122 if (workspaceSize <= sizeof(ZSTD_CCtx)) return NULL; /* minimum size */ in ZSTD_initStaticCCtx()
126 cctx = (ZSTD_CCtx*)ZSTD_cwksp_reserve_object(&ws, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
129 ZSTD_memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
145 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.h1353 size_t ZSTD_compressBegin_advanced_internal(ZSTD_CCtx* cctx,
1363 size_t ZSTD_compress_advanced_internal(ZSTD_CCtx* cctx,
1388 size_t ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq);
1397 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()
/openbmc/linux/lib/zstd/common/
H A Dzstd_internal.h344 const seqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx); /* compress & dictBuilder */
412 void ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx); /* zstdmt, adaptive_compression (shouldn't get thi…
/openbmc/qemu/block/
H A Dqcow2-threads.c203 ZSTD_CCtx *cctx = ZSTD_createCCtx(); in qcow2_zstd_compress()