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