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:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static void dict_reset(struct dictionary *dict, struct xz_buf *b)

Type:void

Parameter:

TypeParameterName
struct dictionary *dict
struct xz_buf *b
288  If 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 ) Then
289  Beginning of the history buffer = out + out_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_size - out_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
Caller
NameDescribe
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.