Lines Matching refs:stream
116 static struct z_stream_s stream; variable
324 err = zlib_deflateInit2(&stream, COMPR_LEVEL, Z_DEFLATED, WINDOW_BITS, in nvram_compress()
329 stream.next_in = in; in nvram_compress()
330 stream.avail_in = inlen; in nvram_compress()
331 stream.total_in = 0; in nvram_compress()
332 stream.next_out = out; in nvram_compress()
333 stream.avail_out = outlen; in nvram_compress()
334 stream.total_out = 0; in nvram_compress()
336 err = zlib_deflate(&stream, Z_FINISH); in nvram_compress()
340 err = zlib_deflateEnd(&stream); in nvram_compress()
344 if (stream.total_out >= stream.total_in) in nvram_compress()
347 ret = stream.total_out; in nvram_compress()
614 stream.workspace = kmalloc(zlib_deflate_workspacesize( in nvram_init_oops_partition()
616 if (!stream.workspace) { in nvram_init_oops_partition()
626 stream.workspace = NULL; in nvram_init_oops_partition()
634 kfree(stream.workspace); in nvram_init_oops_partition()