函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:xz_dec_init

函数原型:struct xz_dec *xz_dec_init(enum xz_mode mode, uint32_t dict_max)

返回类型:struct xz_dec

参数:

类型参数名称
enum xz_modemode
uint32_tdict_max
788  s等于kmalloc(s的长度, GFP_KERNEL)
789  如果(s == NULL)则返回:NULL
792  Operation mode 等于mode
800  lzma2等于xz_dec_lzma2_create(mode, dict_max)
801  如果(lzma2 == NULL)则转到:error_lzma2
804  xz_dec_reset(s)
805  返回:s
807  error_lzma2 :
812  kfree(s)
813  返回:NULL
调用者
名称描述
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.