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

Name:xz_dec_init

Proto:struct xz_dec *xz_dec_init(enum xz_mode mode, uint32_t dict_max)

Type:struct xz_dec

Parameter:

TypeParameterName
enum xz_modemode
uint32_tdict_max
788  s = kmalloc( size of s , GFP_KERNEL)
789  If (s == NULL) Then Return NULL
792  Operation mode = mode
800  lzma2 = xz_dec_lzma2_create(mode, dict_max)
801  If (lzma2 == NULL) Then Go to error_lzma2
804  xz_dec_reset(s)
805  Return s
807  error_lzma2 :
812  kfree(s)
813  Return NULL
Caller
NameDescribe
unxzThis function implements the API defined in .* This wrapper will automatically choose single-call or multi-call mode* of the native XZ decoder API. The single-call mode can be used only when
xz_dec_test_initAllocate the XZ decoder state and register the character device.