Lines Matching refs:inf_strm
36 static z_stream inf_strm, def_strm; variable
52 inf_strm.workspace = vmalloc(zlib_inflate_workspacesize()); in alloc_workspaces()
53 if (!inf_strm.workspace) { in alloc_workspaces()
65 vfree(inf_strm.workspace); in free_workspaces()
150 inf_strm.next_in = data_in; in jffs2_zlib_decompress()
151 inf_strm.avail_in = srclen; in jffs2_zlib_decompress()
152 inf_strm.total_in = 0; in jffs2_zlib_decompress()
154 inf_strm.next_out = cpage_out; in jffs2_zlib_decompress()
155 inf_strm.avail_out = destlen; in jffs2_zlib_decompress()
156 inf_strm.total_out = 0; in jffs2_zlib_decompress()
166 inf_strm.next_in += 2; in jffs2_zlib_decompress()
167 inf_strm.avail_in -= 2; in jffs2_zlib_decompress()
174 if (Z_OK != zlib_inflateInit2(&inf_strm, wbits)) { in jffs2_zlib_decompress()
180 while((ret = zlib_inflate(&inf_strm, Z_FINISH)) == Z_OK) in jffs2_zlib_decompress()
185 zlib_inflateEnd(&inf_strm); in jffs2_zlib_decompress()