Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xz\xz_dec_lzma2.c Create Date:2022-07-28 07:08:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:xz_dec_lzma2_reset

Proto:enum xz_ret xz_dec_lzma2_reset(struct xz_dec_lzma2 *s, uint8_t props)

Type:enum xz_ret

Parameter:

TypeParameterName
struct xz_dec_lzma2 *s
uint8_tprops
1135  If props > 39 Then Return XZ_OPTIONS_ERROR
1138  Size of the dictionary as specified in Block Header. This is used* together with "full" to detect corrupt input that would make us* read beyond the beginning of the uncompressed stream. = 2 + (props & 1)
1139  Size of the dictionary as specified in Block Header. This is used* together with "full" to detect corrupt input that would make us* read beyond the beginning of the uncompressed stream. <<= (props >> 1) + 11
1141  If DEC_IS_MULTI(Operation mode ) Then
1142  If Size of the dictionary as specified in Block Header. This is used* together with "full" to detect corrupt input that would make us* read beyond the beginning of the uncompressed stream. > Maximum allowed dictionary size in multi-call mode.* This is ignored in single-call mode. Then Return XZ_MEMLIMIT_ERROR
1145  End of the dictionary buffer. In multi-call mode, this is* the same as the dictionary size. In single-call mode, this* indicates the size of the output buffer. = Size of the dictionary as specified in Block Header. This is used* together with "full" to detect corrupt input that would make us* read beyond the beginning of the uncompressed stream.
1160  * Length of a match. This is updated so that dict_repeat can * be called again to finish repeating the whole match. = 0
1162  Position in xz_dec_lzma2_run(). = SEQ_CONTROL
1163  * True if dictionary reset is needed. This is false before * the first chunk (LZMA or uncompressed). = true
1165  size = 0
1167  Return XZ_OK
Caller
NameDescribe
dec_block_headerDecode the Block Header and initialize the filter chain.