Home
last modified time | relevance | path

Searched refs:MIN_CBLOCK_SIZE (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/lib/zstd/
H A Dzstd_internal.h90 #define MIN_CBLOCK_SIZE (1 /*litCSize*/ + 1 /* RLE or RAW */ + MIN_SEQUENCES_SIZE /* nbSeq==0 */) /* for a non-null block */ macro
H A Dcompress.c2339 if (srcSize < MIN_CBLOCK_SIZE + ZSTD_blockHeaderSize + 1) in ZSTD_compressBlock_internal()
2371 if (dstCapacity < ZSTD_blockHeaderSize + MIN_CBLOCK_SIZE) in ZSTD_compress_generic()
H A Ddecompress.c434 if (srcSize < MIN_CBLOCK_SIZE) in ZSTD_decodeLiteralsBlock()
448 return ERROR(corruption_detected); /* srcSize >= MIN_CBLOCK_SIZE == 3; here we need up to 5 for case 3 */ in ZSTD_decodeLiteralsBlock()
555 return ERROR(corruption_detected); /* srcSize >= MIN_CBLOCK_SIZE == 3; here we need lhSize+1 = 4 */ in ZSTD_decodeLiteralsBlock()
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dzstd_internal.h86 #define MIN_CBLOCK_SIZE (1 /*litCSize*/ + 1 /* RLE or RAW */ + MIN_SEQUENCES_SIZE /* nbSeq==0 */) /* for a non-null block */ macro
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress.c2730 if (srcSize < MIN_CBLOCK_SIZE+ZSTD_blockHeaderSize+1) { in ZSTD_buildSeqStore()
3863 RETURN_ERROR_IF(dstCapacity < ZSTD_blockHeaderSize + MIN_CBLOCK_SIZE, in ZSTD_compress_frameChunk()
5842 if (blockSize < MIN_CBLOCK_SIZE+ZSTD_blockHeaderSize+1) { in ZSTD_compressSequences_internal()
/kernel/linux/linux-6.6/lib/zstd/decompress/
H A Dzstd_decompress_block.c124 RETURN_ERROR_IF(srcSize < MIN_CBLOCK_SIZE, corruption_detected, ""); in ZSTD_decodeLiteralsBlock()
137 RETURN_ERROR_IF(srcSize < 5, corruption_detected, "srcSize >= MIN_CBLOCK_SIZE == 3; here we need up to 5 for case 3"); in ZSTD_decodeLiteralsBlock()
287 RETURN_ERROR_IF(srcSize<4, corruption_detected, "srcSize >= MIN_CBLOCK_SIZE == 3; here we need lhSize+1 = 4"); in ZSTD_decodeLiteralsBlock()

Completed in 33 milliseconds