函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Reset the dictionary state. When in single-call mode, set up the beginning* of the dictionary to point to the actual output buffer.

函数原型:static void dict_reset(struct dictionary *dict, struct xz_buf *b)

返回类型:void

参数:

类型参数名称
struct dictionary *dict
struct xz_buf *b
288  如果The DEC_IS_foo(mode) macros are used in "if" statements. If only some* of the supported modes are enabled, these macros will evaluate to true or* false at compile time and thus allow the compiler to omit unneeded code.(Operation mode )则
289  Beginning of the history buffer 等于outout_pos
290  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.等于out_sizeout_pos
293  Old position in buf (before decoding more data) 等于0
294  Position in buf 等于0
295  Write limit; we don't write to buf[limit] or later bytes. 等于0
296  How full dictionary is. This is used to detect corrupt input that* would read beyond the beginning of the uncompressed stream.等于0
调用者
名称描述
xz_dec_lzma2_runTake care of the LZMA2 control layer, and forward the job of actual LZMA* decoding or copying of uncompressed chunks to other functions.