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

Name:Set dictionary write limit

Proto:static void dict_limit(struct dictionary *dict, size_t out_max)

Type:void

Parameter:

TypeParameterName
struct dictionary *dict
size_tout_max
302  If 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. - Position in buf <= out_max Then Write limit; we don't write to buf[limit] or later bytes. = 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.
304  Else Write limit; we don't write to buf[limit] or later bytes. = Position in buf + out_max
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.