Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress.c482 zfhPtr->blockSizeMax = (unsigned) MIN(windowSize, ZSTD_BLOCKSIZE_MAX); in ZSTD_getFrameHeader_advanced()
690 : nbBlocks * zfh.blockSizeMax; in ZSTD_findFrameSizeInfo()
1087 …RETURN_ERROR_IF(cBlockSize > dctx->fParams.blockSizeMax, corruption_detected, "Block Size Exceeds … in ZSTD_decompressContinue()
1138 …RETURN_ERROR_IF(rSize > dctx->fParams.blockSizeMax, corruption_detected, "Decompressed Block Size … in ZSTD_decompressContinue()
1925 … { size_t const neededInBuffSize = MAX(zds->fParams.blockSizeMax, 4 /* frame checksum */); in ZSTD_decompressStream()
2013 && (zds->outStart + zds->fParams.blockSizeMax > zds->outBuffSize) ) { in ZSTD_decompressStream()
2016 (U32)zds->fParams.blockSizeMax); in ZSTD_decompressStream()
/linux-6.1.9/include/linux/
Dzstd_lib.h2359 unsigned blockSizeMax; member
/linux-6.1.9/lib/zstd/compress/
Dzstd_compress.c3040 { size_t const blockSizeMax = ZSTD_getBlockSize(cctx); in ZSTD_compressBlock() local
3041 RETURN_ERROR_IF(srcSize > blockSizeMax, srcSize_wrong, "input is larger than a block"); } in ZSTD_compressBlock()