Home
last modified time | relevance | path

Searched refs:compress_stream (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_zlib.c32 struct z_stream_s compress_stream; in cudbg_compress_buff() local
44 memset(&compress_stream, 0, sizeof(struct z_stream_s)); in cudbg_compress_buff()
45 compress_stream.workspace = pdbg_init->workspace; in cudbg_compress_buff()
46 rc = zlib_deflateInit2(&compress_stream, Z_DEFAULT_COMPRESSION, in cudbg_compress_buff()
52 compress_stream.next_in = pin_buff->data; in cudbg_compress_buff()
53 compress_stream.avail_in = pin_buff->size; in cudbg_compress_buff()
54 compress_stream.next_out = pout_buff->data + pout_buff->offset; in cudbg_compress_buff()
55 compress_stream.avail_out = pout_buff->size - pout_buff->offset; in cudbg_compress_buff()
57 rc = zlib_deflate(&compress_stream, Z_FINISH); in cudbg_compress_buff()
61 rc = zlib_deflateEnd(&compress_stream); in cudbg_compress_buff()
[all …]