Lines Matching refs:inf_strm
34 static z_stream inf_strm, def_strm;
49 inf_strm.workspace = vmalloc(zlib_inflate_workspacesize());
50 if (!inf_strm.workspace) {
62 vfree(inf_strm.workspace);
147 inf_strm.next_in = data_in;
148 inf_strm.avail_in = srclen;
149 inf_strm.total_in = 0;
151 inf_strm.next_out = cpage_out;
152 inf_strm.avail_out = destlen;
153 inf_strm.total_out = 0;
163 inf_strm.next_in += 2;
164 inf_strm.avail_in -= 2;
171 if (Z_OK != zlib_inflateInit2(&inf_strm, wbits)) {
177 while((ret = zlib_inflate(&inf_strm, Z_FINISH)) == Z_OK)
182 zlib_inflateEnd(&inf_strm);