| /freebsd/sys/contrib/openzfs/module/zstd/lib/ |
| H A D | zstd.h | 196 typedef struct ZSTD_CCtx_s ZSTD_CCtx; typedef 197 ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx(void); 198 ZSTDLIB_API size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx); 208 ZSTDLIB_API size_t ZSTD_compressCCtx(ZSTD_CCtx* cctx, 446 ZSTDLIB_API size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value); 463 ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize); 485 ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset); 497 ZSTDLIB_API size_t ZSTD_compress2( ZSTD_CCtx* cctx, 642 typedef ZSTD_CCtx ZSTD_CStream; /**< CCtx and CStream are now effectively same object (>= v1.3.0) … 683 ZSTDLIB_API size_t ZSTD_compressStream2( ZSTD_CCtx* cctx, [all …]
|
| /freebsd/sys/contrib/zstd/lib/ |
| H A D | zstd.h | 202 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 D | zstd_compress.c | 65 ZSTD_CCtx* ZSTD_createCCtx(void) in ZSTD_createCCtx() 70 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx() 82 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced() 87 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_malloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced() 94 ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize) in ZSTD_initStaticCCtx() 97 ZSTD_CCtx* cctx; in ZSTD_initStaticCCtx() 98 if (workspaceSize <= sizeof(ZSTD_CCtx)) return NULL; /* minimum size */ in ZSTD_initStaticCCtx() 102 cctx = (ZSTD_CCtx*)ZSTD_cwksp_reserve_object(&ws, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx() 105 memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx() 121 static void ZSTD_clearAllDicts(ZSTD_CCtx* cctx) in ZSTD_clearAllDicts() [all …]
|
| H A D | zstd_compress_superblock.h | 28 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc,
|
| H A D | zstd_compress_internal.h | 1085 size_t ZSTD_compressBegin_advanced_internal(ZSTD_CCtx* cctx, 1095 size_t ZSTD_compress_advanced_internal(ZSTD_CCtx* cctx, 1120 size_t ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq);
|
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_compress.c | 92 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 D | zstd_compress_superblock.h | 27 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc,
|
| H A D | zstdmt_compress.c | 352 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 D | zstd_compress_internal.h | 1412 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 D | zstd_compress_superblock.c | 551 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc, in ZSTD_compressSuperBlock()
|
| /freebsd/usr.bin/mkuzip/ |
| H A D | mkuz_zstd.c | 49 ZSTD_CCtx *cctx; in mkuz_zstd_init() 81 ZSTD_CCtx *cctx; in mkuz_zstd_compress()
|
| /freebsd/sys/contrib/zstd/programs/ |
| H A D | benchzstd.c | 165 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 D | zstdcli_trace.c | 127 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 D | zstd_internal.h | 392 const seqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx); /* compress & dictBuilder */ 430 void ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx); /* zstdmt, adaptive_compression (shouldn't get thi…
|
| /freebsd/sys/contrib/zstd/lib/common/ |
| H A D | zstd_internal.h | 354 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 D | dictionary_compression.c | 43 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in compress()
|
| H A D | multiple_simple_compression.c | 22 ZSTD_CCtx* cctx;
|
| H A D | streaming_compression.c | 37 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in compressFile_orDie()
|
| H A D | streaming_memory_usage.c | 84 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in main()
|
| H A D | multiple_streaming_compression.c | 28 ZSTD_CCtx* cctx;
|
| H A D | streaming_compression_thread_pool.c | 48 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in compressFile_orDie()
|
| /freebsd/sys/kern/ |
| H A D | subr_compressor.c | 262 ZSTD_CCtx *zst_stream; 280 ZSTD_CCtx *dump_compressor; in zstdio_init()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Compression.cpp | 171 ZSTD_CCtx *Cctx = ZSTD_createCCtx(); in compress()
|
| /freebsd/sys/contrib/zstd/zlibWrapper/ |
| H A D | README.md | 119 | 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 D | zfs_zstd.c | 452 ZSTD_CCtx *cctx; in zfs_zstd_compress_impl()
|