函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Update the Index size and the CRC32 value.

函数原型:static void index_update(struct xz_dec *s, const struct xz_buf *b)

返回类型:void

参数:

类型参数名称
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 )
调用者
名称描述
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