函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\xz\xz_dec_lzma2.c Create Date:2022-07-27 08:06:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:xz_dec_lzma2_reset

函数原型:enum xz_ret xz_dec_lzma2_reset(struct xz_dec_lzma2 *s, uint8_t props)

返回类型:enum xz_ret

参数:

类型参数名称
struct xz_dec_lzma2 *s
uint8_tprops
1135  如果props大于39则返回: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  如果DEC_IS_MULTI(Operation mode )则
1142  如果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.则返回: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.
1147  如果DEC_IS_DYNALLOC(Operation mode )则
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  返回:XZ_OK
调用者
名称描述
dec_block_headerDecode the Block Header and initialize the filter chain.