Lines Matching refs:stream
127 static struct z_stream_s stream; variable
338 err = zlib_deflateInit2(&stream, COMPR_LEVEL, Z_DEFLATED, WINDOW_BITS, in nvram_compress()
343 stream.next_in = in; in nvram_compress()
344 stream.avail_in = inlen; in nvram_compress()
345 stream.total_in = 0; in nvram_compress()
346 stream.next_out = out; in nvram_compress()
347 stream.avail_out = outlen; in nvram_compress()
348 stream.total_out = 0; in nvram_compress()
350 err = zlib_deflate(&stream, Z_FINISH); in nvram_compress()
354 err = zlib_deflateEnd(&stream); in nvram_compress()
358 if (stream.total_out >= stream.total_in) in nvram_compress()
361 ret = stream.total_out; in nvram_compress()
641 stream.workspace = kmalloc(zlib_deflate_workspacesize( in nvram_init_oops_partition()
643 if (!stream.workspace) { in nvram_init_oops_partition()
653 stream.workspace = NULL; in nvram_init_oops_partition()
661 kfree(stream.workspace); in nvram_init_oops_partition()