Searched refs:strm (Results 1 – 3 of 3) sorted by relevance
54 z_stream strm; member89 zlib_deflateEnd(&state->strm); in z_comp_free()90 vfree(state->strm.workspace); in z_comp_free()129 state->strm.next_in = NULL; in z_comp_alloc()131 state->strm.workspace = vmalloc(zlib_deflate_workspacesize()); in z_comp_alloc()132 if (state->strm.workspace == NULL) in z_comp_alloc()135 if (zlib_deflateInit2(&state->strm, Z_DEFAULT_COMPRESSION, in z_comp_alloc()178 zlib_deflateReset(&state->strm); in z_comp_init()195 zlib_deflateReset(&state->strm); in z_comp_reset()242 state->strm.next_out = wptr; in z_compress()[all …]
4859 bp->strm = kmalloc(sizeof(*bp->strm), GFP_KERNEL); in bnx2x_gunzip_init()4860 if (bp->strm == NULL) in bnx2x_gunzip_init()4863 bp->strm->workspace = kmalloc(zlib_inflate_workspacesize(), in bnx2x_gunzip_init()4865 if (bp->strm->workspace == NULL) in bnx2x_gunzip_init()4871 kfree(bp->strm); in bnx2x_gunzip_init()4872 bp->strm = NULL; in bnx2x_gunzip_init()4887 kfree(bp->strm->workspace); in bnx2x_gunzip_end()4889 kfree(bp->strm); in bnx2x_gunzip_end()4890 bp->strm = NULL; in bnx2x_gunzip_end()4914 bp->strm->next_in = zbuf + n; in bnx2x_gunzip()[all …]
905 struct z_stream_s *strm; member