函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:zlib_inflateInit2

函数原型:int zlib_inflateInit2(z_streamp strm, int windowBits)

返回类型:int

参数:

类型参数名称
z_streampstrm
intwindowBits
52  如果(strm == NULL)则返回:Z_STREAM_ERROR
53  last error message, NULL if no error = NULL
55  state等于inflate_state
56  not visible by applications 等于state
58  如果windowBits小于0则
59  0 true for zlib, bit 1 true for gzip 等于0
60  windowBits等于负windowBits
62  否则
63  0 true for zlib, bit 1 true for gzip 等于windowBits右移4位的值加1
65  如果windowBits小于8或windowBits大于15则
66  返回:Z_STREAM_ERROR
68  log base 2 of requested window size 等于windowBits
69  allocated sliding window, if needed 等于working_window[0]
71  返回:zlib_inflateReset(strm)
调用者
名称描述
zlib_inflate_blobUtility function: initialize zlib, unpack binary blob, clean up zlib,* return len or negative error code.
__gunzipIncluded from initramfs et al code