Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zlib_inflate\inflate.c Create Date:2022-07-28 06:58:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This subroutine adds the data at next_in/avail_in to the output history* without performing any output. The output buffer must be "caught up";* i.e. no pending output but this should always be the case. The state must

Proto:int zlib_inflateIncomp(z_stream *z)

Type:int

Parameter:

TypeParameterName
z_stream *z
771  state = not visible by applications
772  saved_no = next output byte should be put there
773  saved_ao = remaining free space at next_out
775  If current inflate mode != waiting for type bits, including last-flag bit && current inflate mode != waiting for magic header Then Return Z_DATA_ERROR
779  remaining free space at next_out = 0
780  next output byte should be put there = next input byte + number of bytes available at next_in
782  Update the window with the last wsize (normally 32K) bytes written beforereturning. This is only called when a window is already in use, or whenoutput has been written during this inflate call, but the end of the deflatestream has not been reached yet
785  remaining free space at next_out = saved_ao
786  next output byte should be put there = saved_no
788  adler32 value of the uncompressed data = protected copy of check value = check function to use adler32() for zlib or crc32() for gzip (protected copy of check value , next input byte , number of bytes available at next_in )
791  total nb of bytes output so far += number of bytes available at next_in
792  total nb of input bytes read so far += number of bytes available at next_in
793  next input byte += number of bytes available at next_in
794  protected copy of output count += number of bytes available at next_in
795  number of bytes available at next_in = 0
797  Return Allowed flush values; see deflate() and inflate() below for details