Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Update the Index size and the CRC32 value.

Proto:static void index_update(struct xz_dec *s, const struct xz_buf *b)

Type:void

Parameter:

TypeParameterName
struct xz_dec *s
const struct xz_buf *b
283  in_used = in_pos - Saved in_pos and out_pos
284  Size of the Index in bytes += in_used
285  CRC32 value in Block or Index = xz_crc32(in + Saved in_pos and out_pos , in_used, CRC32 value in Block or Index )
Caller
NameDescribe
dec_indexDecode the Number of Records, Unpadded Size, and Uncompressed Size* fields from the Index field. That is, Index Padding and CRC32 are not* decoded by this function.* This can return XZ_OK (more input needed), XZ_STREAM_END (everything
dec_main