Lines Matching full:stream
19 * only have one stream, and we'll initialize it only once even if it
28 static z_stream stream; variable
35 inflateReset (&stream); in cramfs_uncompress_block()
37 stream.next_in = src; in cramfs_uncompress_block()
38 stream.avail_in = srclen; in cramfs_uncompress_block()
40 stream.next_out = dst; in cramfs_uncompress_block()
41 stream.avail_out = 4096 * 2; in cramfs_uncompress_block()
43 err = inflate (&stream, Z_FINISH); in cramfs_uncompress_block()
47 return stream.total_out; in cramfs_uncompress_block()
59 stream.zalloc = gzalloc; in cramfs_uncompress_init()
60 stream.zfree = gzfree; in cramfs_uncompress_init()
61 stream.next_in = 0; in cramfs_uncompress_init()
62 stream.avail_in = 0; in cramfs_uncompress_init()
65 stream.outcb = (cb_func) WATCHDOG_RESET; in cramfs_uncompress_init()
67 stream.outcb = Z_NULL; in cramfs_uncompress_init()
70 err = inflateInit (&stream); in cramfs_uncompress_init()
81 inflateEnd (&stream); in cramfs_uncompress_exit()