Lines Matching refs:stream
655 p_hwfn->stream->next_in = input_buf; in qed_unzip_data()
656 p_hwfn->stream->avail_in = input_len; in qed_unzip_data()
657 p_hwfn->stream->next_out = unzip_buf; in qed_unzip_data()
658 p_hwfn->stream->avail_out = max_size; in qed_unzip_data()
660 rc = zlib_inflateInit2(p_hwfn->stream, MAX_WBITS); in qed_unzip_data()
668 rc = zlib_inflate(p_hwfn->stream, Z_FINISH); in qed_unzip_data()
669 zlib_inflateEnd(p_hwfn->stream); in qed_unzip_data()
673 p_hwfn->stream->msg, rc); in qed_unzip_data()
677 return p_hwfn->stream->total_out / 4; in qed_unzip_data()
688 p_hwfn->stream = kzalloc(sizeof(*p_hwfn->stream), GFP_KERNEL); in qed_alloc_stream_mem()
689 if (!p_hwfn->stream) in qed_alloc_stream_mem()
695 p_hwfn->stream->workspace = workspace; in qed_alloc_stream_mem()
708 if (!p_hwfn->stream) in qed_free_stream_mem()
711 vfree(p_hwfn->stream->workspace); in qed_free_stream_mem()
712 kfree(p_hwfn->stream); in qed_free_stream_mem()