Searched refs:ZSTD_BLOCKSIZE_MAX (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/lib/zstd/decompress/ |
D | zstd_decompress_block.c | 76 …if (streaming == not_streaming && dstCapacity > ZSTD_BLOCKSIZE_MAX + WILDCOPY_OVERLENGTH + litSize… in ZSTD_allocateLiteralsBuffer() 79 dctx->litBuffer = (BYTE*)dst + ZSTD_BLOCKSIZE_MAX + WILDCOPY_OVERLENGTH; in ZSTD_allocateLiteralsBuffer() 143 size_t expectedWriteSize = MIN(ZSTD_BLOCKSIZE_MAX, dstCapacity); in ZSTD_decodeLiteralsBlock() 167 RETURN_ERROR_IF(litSize > ZSTD_BLOCKSIZE_MAX, corruption_detected, ""); in ZSTD_decodeLiteralsBlock() 227 size_t expectedWriteSize = MIN(ZSTD_BLOCKSIZE_MAX, dstCapacity); in ZSTD_decodeLiteralsBlock() 273 size_t expectedWriteSize = MIN(ZSTD_BLOCKSIZE_MAX, dstCapacity); in ZSTD_decodeLiteralsBlock() 291 RETURN_ERROR_IF(litSize > ZSTD_BLOCKSIZE_MAX, corruption_detected, ""); in ZSTD_decodeLiteralsBlock() 1301 assert(sequenceSize <= ZSTD_BLOCKSIZE_MAX); 1992 RETURN_ERROR_IF(srcSize >= ZSTD_BLOCKSIZE_MAX, srcSize_wrong, "");
|
D | zstd_decompress.c | 498 zfhPtr->blockSizeMax = (unsigned) MIN(windowSize, ZSTD_BLOCKSIZE_MAX); in ZSTD_getFrameHeader_advanced() 1527 size_t ZSTD_DStreamInSize(void) { return ZSTD_BLOCKSIZE_MAX + ZSTD_blockHeaderSize; } in ZSTD_DStreamInSize() 1528 size_t ZSTD_DStreamOutSize(void) { return ZSTD_BLOCKSIZE_MAX; } in ZSTD_DStreamOutSize() 1775 size_t const blockSize = (size_t) MIN(windowSize, ZSTD_BLOCKSIZE_MAX); in ZSTD_decodingBufferSize_min() 1777 …unsigned long long const neededRBSize = windowSize + blockSize + ZSTD_BLOCKSIZE_MAX + (WILDCOPY_OV… in ZSTD_decodingBufferSize_min() 1787 size_t const blockSize = MIN(windowSize, ZSTD_BLOCKSIZE_MAX); in ZSTD_estimateDStreamSize()
|
/linux-6.6.21/include/linux/ |
D | zstd_lib.h | 102 #define ZSTD_BLOCKSIZE_MAX (1<<ZSTD_BLOCKSIZELOG_MAX) macro 1122 #define ZSTD_TARGETLENGTH_MAX ZSTD_BLOCKSIZE_MAX 1150 #define ZSTD_TARGETCBLOCKSIZE_MAX ZSTD_BLOCKSIZE_MAX
|
/linux-6.6.21/lib/zstd/compress/ |
D | zstd_opt.c | 272 assert(litLength <= ZSTD_BLOCKSIZE_MAX); in ZSTD_litLengthPrice() 280 if (litLength == ZSTD_BLOCKSIZE_MAX) in ZSTD_litLengthPrice() 281 return BITCOST_MULTIPLIER + ZSTD_litLengthPrice(ZSTD_BLOCKSIZE_MAX - 1, optPtr, optLevel); in ZSTD_litLengthPrice() 1403 assert(srcSize <= ZSTD_BLOCKSIZE_MAX); in ZSTD_compressBlock_btultra2()
|
D | zstd_compress.c | 1399 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, windowSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal() 1496 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, (size_t)1 << cParams.windowLog); in ZSTD_estimateCStreamSize_usingCCtxParams() 1555 assert(buffered <= ZSTD_BLOCKSIZE_MAX); in ZSTD_getFrameProgression() 1779 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, windowSize); in ZSTD_resetCCtx_internal() 2727 assert(srcSize <= ZSTD_BLOCKSIZE_MAX); in ZSTD_buildSeqStore() 3598 assert(cSizeSingleBlock <= ZSTD_BLOCKSIZE_MAX + ZSTD_blockHeaderSize); in ZSTD_compressBlock_splitBlock_internal() 3632 assert(cSizeChunk <= ZSTD_BLOCKSIZE_MAX + ZSTD_blockHeaderSize); in ZSTD_compressBlock_splitBlock_internal() 4094 return MIN (ZSTD_BLOCKSIZE_MAX, (U32)1 << cParams.windowLog); in ZSTD_getBlockSize() 5062 size_t ZSTD_CStreamInSize(void) { return ZSTD_BLOCKSIZE_MAX; } in ZSTD_CStreamInSize() 5066 return ZSTD_compressBound(ZSTD_BLOCKSIZE_MAX) + ZSTD_blockHeaderSize + 4 /* 32-bits hash */ ; in ZSTD_CStreamOutSize()
|