Searched refs:HUF_WORKSPACE_SIZE (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | huf.h | 93 #define HUF_WORKSPACE_SIZE ((6 << 10) + 256) macro 94 #define HUF_WORKSPACE_SIZE_U32 (HUF_WORKSPACE_SIZE / sizeof(U32))
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | huf.h | 93 #define HUF_WORKSPACE_SIZE ((8 << 10) + 512 /* sorting scratch space */) macro 94 #define HUF_WORKSPACE_SIZE_U64 (HUF_WORKSPACE_SIZE / sizeof(U64))
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress.c | 109 …if (!ZSTD_cwksp_check_available(&cctx->workspace, HUF_WORKSPACE_SIZE + 2 * sizeof(ZSTD_compressedB… in ZSTD_initStaticCCtx() 112 cctx->entropyWorkspace = (U32*)ZSTD_cwksp_reserve_object(&cctx->workspace, HUF_WORKSPACE_SIZE); in ZSTD_initStaticCCtx() 1137 size_t const entropySpace = ZSTD_cwksp_alloc_size(HUF_WORKSPACE_SIZE); in ZSTD_estimateCCtxSize_usingCCtxParams() 1462 size_t const entropySpace = ZSTD_cwksp_alloc_size(HUF_WORKSPACE_SIZE); in ZSTD_resetCCtx_internal() 1506 zc->entropyWorkspace = (U32*) ZSTD_cwksp_reserve_object(ws, HUF_WORKSPACE_SIZE); in ZSTD_resetCCtx_internal() 1991 ZSTD_STATIC_ASSERT(HUF_WORKSPACE_SIZE >= (1<<MAX(MLFSELog,LLFSELog))); in ZSTD_compressSequences_internal() 2446 zc->entropyWorkspace, HUF_WORKSPACE_SIZE /* statically allocated in resetCCtx */, in ZSTD_compressBlock_internal() 2935 workspace, HUF_WORKSPACE_SIZE)), in ZSTD_loadCEntropy() 2950 workspace, HUF_WORKSPACE_SIZE)), in ZSTD_loadCEntropy() 2965 workspace, HUF_WORKSPACE_SIZE)), in ZSTD_loadCEntropy() [all …]
|
H A D | huf_compress.c | 651 HUF_STATIC_ASSERT(sizeof(*table) <= HUF_WORKSPACE_SIZE); in HUF_compress_internal() 655 if (wkspSize < HUF_WORKSPACE_SIZE) return ERROR(workSpace_tooSmall); in HUF_compress_internal()
|
H A D | zstd_compress_superblock.c | 838 zc->entropyWorkspace, HUF_WORKSPACE_SIZE /* statically allocated in resetCCtx */), ""); in ZSTD_compressSuperBlock() 848 zc->entropyWorkspace, HUF_WORKSPACE_SIZE /* statically allocated in resetCCtx */); in ZSTD_compressSuperBlock()
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress.c | 2602 ZSTD_STATIC_ASSERT(HUF_WORKSPACE_SIZE >= (1<<MAX(MLFSELog,LLFSELog))); in ZSTD_entropyCompressSeqStore_internal() 2603 assert(entropyWkspSize >= HUF_WORKSPACE_SIZE); in ZSTD_entropyCompressSeqStore_internal() 4347 workspace, HUF_WORKSPACE_SIZE)), in ZSTD_loadCEntropy() 4361 workspace, HUF_WORKSPACE_SIZE)), in ZSTD_loadCEntropy() 4375 workspace, HUF_WORKSPACE_SIZE)), in ZSTD_loadCEntropy() 4427 ZSTD_STATIC_ASSERT(HUF_WORKSPACE_SIZE >= (1<<MAX(MLFSELog,LLFSELog))); in ZSTD_loadZstdDictionary() 4764 + ZSTD_cwksp_alloc_size(HUF_WORKSPACE_SIZE) in ZSTD_estimateCDictSize_advanced() 4810 … cdict->entropyWorkspace = (U32*)ZSTD_cwksp_reserve_object(&cdict->workspace, HUF_WORKSPACE_SIZE); in ZSTD_initCDict_internal() 4852 ZSTD_cwksp_alloc_size(HUF_WORKSPACE_SIZE) + in ZSTD_createCDict_advanced_internal() 5005 + ZSTD_cwksp_alloc_size(HUF_WORKSPACE_SIZE) in ZSTD_initStaticCDict()
|
H A D | zstd_compress_internal.h | 336 #define ENTROPY_WORKSPACE_SIZE (HUF_WORKSPACE_SIZE + COMPRESS_SEQUENCES_WORKSPACE_SIZE)
|
H A D | huf_compress.c | 1191 HUF_STATIC_ASSERT(sizeof(*table) + HUF_WORKSPACE_MAX_ALIGNMENT <= HUF_WORKSPACE_SIZE); in HUF_compress_internal()
|
/freebsd/sys/contrib/zstd/lib/dictBuilder/ |
H A D | zdict.c | 115 U32* wksp = (U32*)malloc(HUF_WORKSPACE_SIZE); in ZDICT_getDictHeaderSize()
|