Home
last modified time | relevance | path

Searched refs:literals (Results 1 – 14 of 14) sorted by relevance

/linux/Documentation/staging/
H A Dlzo.rst23 opcode and on the number of literals copied by previous instruction. The
28 - the number of literals to copy, which is retained in variable "state"
59 After any instruction except the large literal copy, 0, 1, 2 or 3 literals
60 are copied before starting the next instruction. The number of literals that
63 literals were copied. This is the information stored in the <state> variable
64 in this implementation. This number of immediate literals to be copied is
111 18..21 : copy 0..3 literals
112 state = (byte - 17) = 0..3 [ copy <state> literals ]
117 state = 4 [ don't copy extra literals ]
123 Depends on the number of literals copie
[all...]
/linux/lib/zstd/compress/
H A Dzstd_compress_superblock.c24 * Compresses literals section for a sub-block.
28 * table size. If we guessed incorrectly, we fall back to uncompressed literals.
33 * hufMetadata->hType has literals block type info.
34 * If it is set_basic, all sub-blocks literals section will be Raw_Literals_Block.
35 * If it is set_rle, all sub-blocks literals section will be RLE_Literals_Block.
36 * If it is set_compressed, first sub-block's literals section will be Compressed_Literals_Block
37 * If it is set_compressed, first sub-block's literals section will be Treeless_Literals_Block
38 * and the following sub-blocks' literals sections will be Treeless_Literals_Block.
39 * @return : compressed size of literals section of a sub-block
45 const BYTE* literals, size_ in ZSTD_compressSubBlock_literal() argument
267 ZSTD_compressSubBlock(const ZSTD_entropyCTables_t * entropy,const ZSTD_entropyCTablesMetadata_t * entropyMetadata,const SeqDef * sequences,size_t nbSeq,const BYTE * literals,size_t litSize,const BYTE * llCode,const BYTE * mlCode,const BYTE * ofCode,const ZSTD_CCtx_params * cctxParams,void * dst,size_t dstCapacity,const int bmi2,int writeLitEntropy,int writeSeqEntropy,int * litEntropyWritten,int * seqEntropyWritten,U32 lastBlock) ZSTD_compressSubBlock() argument
308 ZSTD_estimateSubBlockSize_literal(const BYTE * literals,size_t litSize,const ZSTD_hufCTables_t * huf,const ZSTD_hufCTablesMetadata_t * hufMetadata,void * workspace,size_t wkspSize,int writeEntropy) ZSTD_estimateSubBlockSize_literal() argument
398 ZSTD_estimateSubBlockSize(const BYTE * literals,size_t litSize,const BYTE * ofCodeTable,const BYTE * llCodeTable,const BYTE * mlCodeTable,size_t nbSeq,const ZSTD_entropyCTables_t * entropy,const ZSTD_entropyCTablesMetadata_t * entropyMetadata,void * workspace,size_t wkspSize,int writeLitEntropy,int writeSeqEntropy) ZSTD_estimateSubBlockSize() argument
[all...]
H A Dzstd_compress_internal.h100 BYTE* lit; /* ptr to end of literals */
199 U32 litLength; /* Length of literals prior to match */
218 U32 litlen; /* nb of literals since previous match */
227 unsigned* litFreq; /* table of literals statistics, of size 256 */
234 U32 litSum; /* nb of literals */
667 * to generate a compress block or a compressed literals section.
765 * Allowed to over-read literals up to litLimit.
769 size_t litLength, const BYTE* literals, const BYTE* litLimit, in ZSTD_storeSeq() argument
774 BYTE const* const litEnd = literals + litLength; in ZSTD_storeSeq()
777 if (g_start==NULL) g_start = (const BYTE*)literals; /* not in ZSTD_storeSeq()
[all...]
H A Dzstd_opt.c138 * using src for literals stats, and baseline stats for sequence symbols
150 if (optPtr->litLengthSum == 0) { /* no literals stats collected -> first block assumed -> init */ in ZSTD_rescaleFreqs()
165 /* generate literals statistics from huffman table */ in ZSTD_rescaleFreqs()
217 /* base initial cost of literals on direct frequency within src */ in ZSTD_rescaleFreqs()
265 * price of literals (only) in specified segment (which length can be 0).
267 static U32 ZSTD_rawLiteralsCost(const BYTE* const literals, U32 const litLength, in ZSTD_rawLiteralsCost() argument
271 DEBUGLOG(8, "ZSTD_rawLiteralsCost (%u literals)", litLength); in ZSTD_rawLiteralsCost()
286 U32 litPrice = WEIGHT(optPtr->litFreq[literals[u]], optLevel); in ZSTD_rawLiteralsCost()
305 * In such a case, the block would be all literals. in ZSTD_litLengthPrice()
356 * assumption : literals
358 ZSTD_updateStats(optState_t * const optPtr,U32 litLength,const BYTE * literals,U32 offBase,U32 matchLength) ZSTD_updateStats() argument
[all...]
H A Dzstd_compress.c2170 /* ZSTD_wildcopy() is used to copy into the literals buffer, in ZSTD_resetCCtx_internal()
2797 * compresses both literals and sequences
2804 const void* literals, size_t litSize, in ZSTD_entropyCompressSeqStore_internal() argument
2835 /* Compress literals */ in ZSTD_entropyCompressSeqStore_internal()
2837 /* Base suspicion of uncompressibility on ratio of literals to sequences */ in ZSTD_entropyCompressSeqStore_internal()
2842 literals, litSize, in ZSTD_entropyCompressSeqStore_internal()
2922 const void* literals, size_t litSize, in ZSTD_entropyCompressSeqStore_wExtLitBuffer() argument
2933 literals, litSize, in ZSTD_entropyCompressSeqStore_wExtLitBuffer()
3198 /* tell the optimal parser how we expect to compress literals */ in ZSTD_buildSeqStore()
3290 /* Return early if there is no error, since we don't need to worry about last literals */ in ZSTD_buildSeqStore()
3744 ZSTD_estimateBlockSize_literal(const BYTE * literals,size_t litSize,const ZSTD_hufCTables_t * huf,const ZSTD_hufCTablesMetadata_t * hufMetadata,void * workspace,size_t wkspSize,int writeEntropy) ZSTD_estimateBlockSize_literal() argument
3838 ZSTD_estimateBlockSize(const BYTE * literals,size_t litSize,const BYTE * ofCodeTable,const BYTE * llCodeTable,const BYTE * mlCodeTable,size_t nbSeq,const ZSTD_entropyCTables_t * entropy,const ZSTD_entropyCTablesMetadata_t * entropyMetadata,void * workspace,size_t wkspSize,int writeLitEntropy,int writeSeqEntropy) ZSTD_estimateBlockSize() argument
7272 ZSTD_compressSequencesAndLiterals_internal(ZSTD_CCtx * cctx,void * dst,size_t dstCapacity,const ZSTD_Sequence * inSeqs,size_t nbSequences,const void * literals,size_t litSize,size_t srcSize) ZSTD_compressSequencesAndLiterals_internal() argument
7379 ZSTD_compressSequencesAndLiterals(ZSTD_CCtx * cctx,void * dst,size_t dstCapacity,const ZSTD_Sequence * inSeqs,size_t inSeqsSize,const void * literals,size_t litSize,size_t litCapacity,size_t decompressedSize) ZSTD_compressSequencesAndLiterals() argument
[all...]
/linux/arch/xtensa/kernel/
H A Dmxhead.S30 .begin no-absolute-literals
64 .end no-absolute-literals
H A Dhead.S53 .begin no-absolute-literals
106 .end no-absolute-literals
/linux/arch/xtensa/boot/boot-elf/
H A Dbootstrap.S29 .begin no-absolute-literals
79 .end no-absolute-literals
H A DMakefile10 KBUILD_AFLAGS += -mtext-section-literals
/linux/lib/zstd/
H A Dzstd_compress_module.c276 const void* literals, size_t lit_size, size_t lit_capacity, in zstd_compress_sequences_and_literals() argument
280 in_seqs_size, literals, lit_size, in zstd_compress_sequences_and_literals()
/linux/include/linux/
H A Dzstd.h661 * struct zstd_sequence - a sequence of literals or a match
671 * zstd_compress_sequences_and_literals() - compress an array of zstd_sequence and literals
678 * @literals: The literals associated to the sequences to be compressed.
679 * @lit_size: The size of the literals in the literals buffer.
680 * @lit_capacity: The size of the literals buffer.
688 const void* literals, size_t lit_size, size_t lit_capacity,
H A Dzstd_lib.h1285 * literals in the block of litLength size.
1413 ZSTD_lcm_huffman = 1, /*< Always attempt Huffman compression. Uncompressed literals will still be
1415 ZSTD_lcm_uncompressed = 2 /*< Always emit uncompressed literals. */
1583 * with offset == 0, matchLength == 0, and litLength == length of last literals.
1598 * Given an array of ZSTD_Sequence, remove all sequences that represent block delimiters/last literals
1599 * by merging them into the literals of the next sequence.
1602 * and the final last literals segment is not represented in the sequences.
1612 * @src contains the entire input (not just the literals).
1613 * If @srcSize > sum(sequence.length), the remaining bytes are considered all literals
1655 * instead of receiving (src,srcSize) as input parameter, receives (literals,litSiz
[all...]
/linux/Documentation/arch/xtensa/
H A Dmmu.rst18 - LITBASE is zero (reset state, PC-relative literals); required to be PIC.
/linux/arch/xtensa/
H A DKconfig222 literals in FLASH memory attached to the instruction bus.