/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | zstd_compress_literals.c | 21 RETURN_ERROR_IF(srcSize + flSize > dstCapacity, dstSize_tooSmall, ""); in ZSTD_noCompressLiterals() 101 RETURN_ERROR_IF(dstCapacity < lhSize+1, dstSize_tooSmall, "not enough space for compression"); in ZSTD_compressLiterals()
|
H A D | fse_compress.c | 268 return ERROR(dstSize_tooSmall); /* Buffer overflow */ in FSE_writeNCount_generic() 283 return ERROR(dstSize_tooSmall); /* Buffer overflow */ in FSE_writeNCount_generic() 305 return ERROR(dstSize_tooSmall); /* Buffer overflow */ in FSE_writeNCount_generic() 319 return ERROR(dstSize_tooSmall); /* Buffer overflow */ in FSE_writeNCount_generic()
|
H A D | zstd_compress_sequences.c | 258 RETURN_ERROR_IF(dstCapacity==0, dstSize_tooSmall, "not enough space"); in ZSTD_buildCTable() 305 dstSize_tooSmall, "not enough space remaining"); in ZSTD_encodeSequences_body() 379 RETURN_ERROR_IF(streamSize==0, dstSize_tooSmall, "not enough space"); in ZSTD_encodeSequences_body()
|
H A D | huf_compress.c | 190 if (maxDstSize < 1) return ERROR(dstSize_tooSmall); in HUF_writeCTable_wksp() 199 if (((maxSymbolValue+1)/2) + 1 > maxDstSize) return ERROR(dstSize_tooSmall); /* not enough space within dst buffer */ in HUF_writeCTable_wksp() 770 if (dstCapacity <= sizeof(bitC->bitContainer[0])) return ERROR(dstSize_tooSmall); in HUF_initCStream()
|
H A D | zstd_compress.c | 2536 dstSize_tooSmall, "Can't fit seq hdr in output buf!"); in ZSTD_entropyCompressSeqStore_internal() 2618 if ((cSize == ERROR(dstSize_tooSmall)) & (srcSize <= dstCapacity)) in ZSTD_entropyCompressSeqStore() 3425 RETURN_ERROR_IF(dstCapacity < ZSTD_blockHeaderSize, dstSize_tooSmall, "Block header doesn't fit"); in ZSTD_compressSeqStore_singleBlock() 3764 * * cSize == dstSize_tooSmall: We may have expanded beyond blockBound(srcSize). in ZSTD_compressBlock_targetCBlockSize_body() 3765 * ZSTD_noCompressBlock() will return dstSize_tooSmall if we are really out of in ZSTD_compressBlock_targetCBlockSize_body() 3772 if (cSize != ERROR(dstSize_tooSmall)) { in ZSTD_compressBlock_targetCBlockSize_body() 3864 dstSize_tooSmall, in ZSTD_compress_frameChunk() 3936 RETURN_ERROR_IF(dstCapacity < ZSTD_FRAMEHEADERSIZE_MAX, dstSize_tooSmall, in ZSTD_writeFrameHeader() 3979 dstSize_tooSmall, "Not enough room for skippable frame"); in ZSTD_writeSkippableFrame() 3996 RETURN_ERROR_IF(dstCapacity < ZSTD_blockHeaderSize, dstSize_tooSmall, in ZSTD_writeLastEmptyBlock() [all...] |
H A D | zstd_compress_internal.h | 507 dstSize_tooSmall, "dst buf too small for uncompressed block"); in ZSTD_noCompressBlock() 517 RETURN_ERROR_IF(dstCapacity < 4, dstSize_tooSmall, ""); in ZSTD_rleCompressBlock()
|
H A D | zstd_compress_superblock.c | 178 dstSize_tooSmall, ""); in ZSTD_compressSubBlock_sequences()
|
H A D | zstd_ldm.c | 458 return ERROR(dstSize_tooSmall); in ZSTD_ldm_generateSequences_internal()
|
/kernel/linux/linux-6.6/lib/zstd/decompress/ |
H A D | zstd_decompress_block.c | 166 RETURN_ERROR_IF(litSize > 0 && dst == NULL, dstSize_tooSmall, "NULL not handled"); in ZSTD_decodeLiteralsBlock() 169 RETURN_ERROR_IF(expectedWriteSize < litSize , dstSize_tooSmall, ""); in ZSTD_decodeLiteralsBlock() 244 RETURN_ERROR_IF(litSize > 0 && dst == NULL, dstSize_tooSmall, "NULL not handled"); in ZSTD_decodeLiteralsBlock() 245 RETURN_ERROR_IF(expectedWriteSize < litSize, dstSize_tooSmall, ""); in ZSTD_decodeLiteralsBlock() 290 RETURN_ERROR_IF(litSize > 0 && dst == NULL, dstSize_tooSmall, "NULL not handled"); in ZSTD_decodeLiteralsBlock() 292 RETURN_ERROR_IF(expectedWriteSize < litSize, dstSize_tooSmall, ""); in ZSTD_decodeLiteralsBlock() 873 RETURN_ERROR_IF(sequenceLength > (size_t)(oend - op), dstSize_tooSmall, "last match must fit within dstBuffer"); in ZSTD_execSequenceEnd() 920 RETURN_ERROR_IF(sequenceLength > (size_t)(oend - op), dstSize_tooSmall, "last match must fit within dstBuffer"); in ZSTD_execSequenceEndSplitLitBuffer() 926 RETURN_ERROR_IF(op > *litPtr && op < *litPtr + sequence.litLength, dstSize_tooSmall, "output should not catch up to and overwrite literal buffer"); in ZSTD_execSequenceEndSplitLitBuffer() 1444 RETURN_ERROR_IF(leftoverLit > (size_t)(oend - op), dstSize_tooSmall, "remainin [all...] |
H A D | zstd_decompress.c | 571 RETURN_ERROR_IF(skippableContentSize > dstCapacity, dstSize_tooSmall, ""); in ZSTD_readSkippableFrame() 796 RETURN_ERROR_IF(srcSize > dstCapacity, dstSize_tooSmall, ""); in ZSTD_copyRawBlock() 809 RETURN_ERROR_IF(regenSize > dstCapacity, dstSize_tooSmall, ""); in ZSTD_setRleBlock() 1898 dstSize_tooSmall, in ZSTD_decompressStream() 1965 RETURN_ERROR(dstSize_tooSmall, "ZSTD_obm_stable passed but ZSTD_outBuffer is too small"); in ZSTD_decompressStream() 2105 RETURN_ERROR_IF(op==oend, dstSize_tooSmall, ""); in ZSTD_decompressStream()
|
H A D | huf_decompress.c | 1620 if (dstSize == 0) return ERROR(dstSize_tooSmall); in HUF_decompress4X_hufOnly_wksp() 1645 if (dstSize == 0) return ERROR(dstSize_tooSmall); in HUF_decompress1X_DCtx_wksp() 1722 if (dstSize == 0) return ERROR(dstSize_tooSmall); in HUF_decompress4X_hufOnly_wksp_bmi2()
|
/kernel/linux/linux-6.6/lib/zstd/common/ |
H A D | error_private.c | 44 case PREFIX(dstSize_tooSmall): return "Destination buffer is too small"; in ERR_getErrorString()
|
H A D | fse_decompress.c | 276 if (op>(omax-2)) return ERROR(dstSize_tooSmall); in FSE_decompress_usingDTable_generic() 283 if (op>(omax-2)) return ERROR(dstSize_tooSmall); in FSE_decompress_usingDTable_generic()
|
H A D | bitstream.h | 177 if (dstCapacity <= sizeof(bitC->bitContainer)) return ERROR(dstSize_tooSmall); in BIT_initCStream()
|
/kernel/linux/linux-5.10/lib/zstd/ |
H A D | fse_compress.c | 238 return ERROR(dstSize_tooSmall); /* Buffer overflow */ in FSE_writeNCount_generic() 253 return ERROR(dstSize_tooSmall); /* Buffer overflow */ in FSE_writeNCount_generic() 279 return ERROR(dstSize_tooSmall); /* Buffer overflow */ in FSE_writeNCount_generic() 290 return ERROR(dstSize_tooSmall); /* Buffer overflow */ in FSE_writeNCount_generic()
|
H A D | fse_decompress.c | 256 return ERROR(dstSize_tooSmall); in FSE_decompress_usingDTable_generic() 264 return ERROR(dstSize_tooSmall); in FSE_decompress_usingDTable_generic()
|
H A D | decompress.c | 415 return ERROR(dstSize_tooSmall); in ZSTD_copyRawBlock() 425 return ERROR(dstSize_tooSmall); in ZSTD_setRleBlock() 892 return ERROR(dstSize_tooSmall); /* last match must start at a minimum distance of WILDCOPY_OVERLENGTH from oend */ in ZSTD_execSequenceLast7() 1019 return ERROR(dstSize_tooSmall); /* last match must start at a minimum distance of WILDCOPY_OVERLENGTH from oend */ in ZSTD_execSequence() 1155 return ERROR(dstSize_tooSmall); in ZSTD_decompressSequences() 1275 return ERROR(dstSize_tooSmall); /* last match must start at a minimum distance of WILDCOPY_OVERLENGTH from oend */ in ZSTD_execSequenceLong() 1437 return ERROR(dstSize_tooSmall); in ZSTD_decompressSequencesLong() 1500 return ERROR(dstSize_tooSmall); in ZSTD_generateNxBytes()
|
H A D | compress.c | 437 return ERROR(dstSize_tooSmall); in ZSTD_noCompressBlock() 449 return ERROR(dstSize_tooSmall); in ZSTD_noCompressLiterals() 500 return ERROR(dstSize_tooSmall); /* not enough space for compression */ in ZSTD_compressLiterals() 631 return ERROR(dstSize_tooSmall); in ZSTD_compressSequences_internal() 756 CHECK_E(BIT_initCStream(&blockStream, op, oend - op), dstSize_tooSmall); /* not enough space remaining */ in ZSTD_compressSequences_internal() local 825 return ERROR(dstSize_tooSmall); /* not enough space */ in ZSTD_compressSequences_internal() 841 int const uncompressibleError = cSize == ERROR(dstSize_tooSmall) && srcSize <= dstCapacity; in ZSTD_compressSequences() 2372 return ERROR(dstSize_tooSmall); /* not enough space to store compressed block */ in ZSTD_compress_generic() 2410 return ERROR(dstSize_tooSmall); in ZSTD_compress_generic() 2445 return ERROR(dstSize_tooSmall); in ZSTD_writeFrameHeader() [all...] |
H A D | bitstream.h | 170 return ERROR(dstSize_tooSmall); in BIT_initCStream()
|
H A D | huf_decompress.c | 905 return ERROR(dstSize_tooSmall); in HUF_decompress4X_DCtx_wksp() 928 return ERROR(dstSize_tooSmall); in HUF_decompress4X_hufOnly_wksp() 943 return ERROR(dstSize_tooSmall); in HUF_decompress1X_DCtx_wksp()
|
H A D | huf_compress.c | 195 return ERROR(dstSize_tooSmall); /* not enough space within dst buffer */ in HUF_writeCTable_wksp()
|