Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dzstd_cwksp.h194 MEM_STATIC size_t ZSTD_cwksp_alloc_size(size_t size) { in ZSTD_cwksp_alloc_size() function
205 return ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(size, ZSTD_CWKSP_ALIGNMENT_BYTES)); in ZSTD_cwksp_aligned_alloc_size()
H A Dzstd_ldm.c160 size_t const totalSize = ZSTD_cwksp_alloc_size(ldmBucketSize) in ZSTD_ldm_getTableSize()
161 + ZSTD_cwksp_alloc_size(ldmHSize * sizeof(ldmEntry_t)); in ZSTD_ldm_getTableSize()
H A Dzstd_compress.c1402 size_t const tokenSpace = ZSTD_cwksp_alloc_size(WILDCOPY_OVERLENGTH + blockSize) in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1404 + 3 * ZSTD_cwksp_alloc_size(maxNbSeq * sizeof(BYTE)); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1405 size_t const entropySpace = ZSTD_cwksp_alloc_size(ENTROPY_WORKSPACE_SIZE); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1406 size_t const blockStateSpace = 2 * ZSTD_cwksp_alloc_size(sizeof(ZSTD_compressedBlockState_t)); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1415 size_t const bufferSpace = ZSTD_cwksp_alloc_size(buffInSize) in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1416 + ZSTD_cwksp_alloc_size(buffOutSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1418 size_t const cctxSpace = isStatic ? ZSTD_cwksp_alloc_size(sizeof(ZSTD_CCtx)) : 0; in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
4644 return ZSTD_cwksp_alloc_size(sizeof(ZSTD_CDict)) in ZSTD_estimateCDictSize_advanced()
4645 + ZSTD_cwksp_alloc_size(HUF_WORKSPACE_SIZE) in ZSTD_estimateCDictSize_advanced()
4651 : ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(dictSize, sizeof(void *)))); in ZSTD_estimateCDictSize_advanced()
[all …]