Home
last modified time | relevance | path

Searched refs:mlBits (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress_sequences.c339 U32 const mlBits = ML_bits[mlCode]; in ZSTD_encodeSequences_body() local
350 if (MEM_32bits() || (ofBits+mlBits+llBits >= 64-7-(LLFSELog+MLFSELog+OffFSELog))) in ZSTD_encodeSequences_body()
353 if (MEM_32bits() && ((llBits+mlBits)>24)) BIT_flushBits(&blockStream); in ZSTD_encodeSequences_body()
354 BIT_addBits(&blockStream, sequences[n].mlBase, mlBits); in ZSTD_encodeSequences_body()
355 if (MEM_32bits() || (ofBits+mlBits+llBits > 56)) BIT_flushBits(&blockStream); in ZSTD_encodeSequences_body()
/kernel/linux/linux-5.10/lib/zstd/
H A Ddecompress.c940 U32 const mlBits = ML_bits[mlCode]; in ZSTD_decodeSequence() local
942 U32 const totalBits = llBits + mlBits + ofBits; in ZSTD_decodeSequence()
986 seq.matchLength = ML_base[mlCode] + ((mlCode > 31) ? BIT_readBitsFast(&seqState->DStream, mlBits) : 0); /* <= 16 bits */ in ZSTD_decodeSequence()
987 if (ZSTD_32bits() && (mlBits + llBits > 24)) in ZSTD_decodeSequence()
1172 U32 const mlBits = ML_bits[mlCode]; in ZSTD_decodeSequenceLong_generic() local
1174 U32 const totalBits = llBits + mlBits + ofBits; in ZSTD_decodeSequenceLong_generic()
1227 seq.matchLength = ML_base[mlCode] + ((mlCode > 31) ? BIT_readBitsFast(&seqState->DStream, mlBits) : 0); /* <= 16 bits */ in ZSTD_decodeSequenceLong_generic()
1228 if (ZSTD_32bits() && (mlBits + llBits > 24)) in ZSTD_decodeSequenceLong_generic()
H A Dcompress.c789 U32 const mlBits = ML_bits[mlCode]; in ZSTD_compressSequences_internal() local
796 if (ZSTD_32bits() || (ofBits + mlBits + llBits >= 64 - 7 - (LLFSELog + MLFSELog + OffFSELog))) in ZSTD_compressSequences_internal()
799 if (ZSTD_32bits() && ((llBits + mlBits) > 24)) in ZSTD_compressSequences_internal()
801 BIT_addBits(&blockStream, sequences[n].matchLength, mlBits); in ZSTD_compressSequences_internal()
/kernel/linux/linux-6.6/lib/zstd/decompress/
H A Dzstd_decompress_block.c1179 BYTE const mlBits = mlDInfo->nbAdditionalBits; local
1181 BYTE const totalBits = llBits+mlBits+ofBits;
1236 if (UNLIKELY(mlBits > 0))
1238 if (mlBits > 0)
1240 seq.matchLength += BIT_readBitsFast(&seqState->DStream, mlBits/*>0*/);
1242 if (MEM_32bits() && (mlBits+llBits >= STREAM_ACCUMULATOR_MIN_32-LONG_OFFSETS_MAX_EXTRA_BITS_32))

Completed in 16 milliseconds