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

Name:Decode the Stream Footer field (the last 12 bytes of the .xz Stream)

Proto:static enum xz_ret dec_stream_footer(struct xz_dec *s)

Type:enum xz_ret

Parameter:

TypeParameterName
struct xz_dec *s
424  If Not FIXME: Not all basic memory functions are provided in architecture-specific* files (yet). We define our own versions here for now, but this should be* only a temporary solution.* memeq and memzero are not used much and any remotely sane implementation Then Return XZ_DATA_ERROR
427  If xz_crc32(buf + 4, 6, 0) != get_le32(buf) Then Return XZ_DATA_ERROR
435  If Size of the Index in bytes >> 2 != get_le32(buf + 4) Then Return XZ_DATA_ERROR
438  If buf[8] != 0 || buf[9] != Type of the integrity check calculated from uncompressed data Then Return XZ_DATA_ERROR
445  Return XZ_STREAM_END
Caller
NameDescribe
dec_main