Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dzstd_compress.c1244 ZSTD_cwksp_alloc_size((MaxML+1) * sizeof(U32)) in ZSTD_sizeof_matchState()
1245 + ZSTD_cwksp_alloc_size((MaxLL+1) * sizeof(U32)) in ZSTD_sizeof_matchState()
1246 + ZSTD_cwksp_alloc_size((MaxOff+1) * sizeof(U32)) in ZSTD_sizeof_matchState()
1247 + ZSTD_cwksp_alloc_size((1<<Litbits) * sizeof(U32)) in ZSTD_sizeof_matchState()
1248 + ZSTD_cwksp_alloc_size((ZSTD_OPT_NUM+1) * sizeof(ZSTD_match_t)) in ZSTD_sizeof_matchState()
1249 + ZSTD_cwksp_alloc_size((ZSTD_OPT_NUM+1) * sizeof(ZSTD_optimal_t)); in ZSTD_sizeof_matchState()
1270 size_t const tokenSpace = ZSTD_cwksp_alloc_size(WILDCOPY_OVERLENGTH + blockSize) in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1271 + ZSTD_cwksp_alloc_size(maxNbSeq * sizeof(seqDef)) in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1272 + 3 * ZSTD_cwksp_alloc_size(maxNbSeq * sizeof(BYTE)); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1273 size_t const entropySpace = ZSTD_cwksp_alloc_size(ENTROPY_WORKSPACE_SIZE); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
[all …]
Dzstd_ldm.c133 size_t const totalSize = ZSTD_cwksp_alloc_size(ldmBucketSize) in ZSTD_ldm_getTableSize()
134 + ZSTD_cwksp_alloc_size(ldmHSize * sizeof(ldmEntry_t)); in ZSTD_ldm_getTableSize()
Dzstd_cwksp.h188 MEM_STATIC size_t ZSTD_cwksp_alloc_size(size_t size) { in ZSTD_cwksp_alloc_size() function