Home
last modified time | relevance | path

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

/dpdk/drivers/compress/zlib/
H A Dzlib_pmd.c36 if (unlikely(!strm)) { in process_zlib_deflate()
59 if ((op->src.length - strm->total_in) <= strm->avail_in) { in process_zlib_deflate()
60 strm->avail_in = (op->src.length - strm->total_in); in process_zlib_deflate()
78 COMPUTE_BUF(mbuf_dst, strm->next_out, strm->avail_out)); in process_zlib_deflate()
89 } while (COMPUTE_BUF(mbuf_src, strm->next_in, strm->avail_in)); in process_zlib_deflate()
105 deflateReset(strm); in process_zlib_deflate()
115 if (unlikely(!strm)) { in process_zlib_inflate()
165 COMPUTE_BUF(mbuf_dst, strm->next_out, strm->avail_out)); in process_zlib_inflate()
175 } while (COMPUTE_BUF(mbuf_src, strm->next_in, strm->avail_in)); in process_zlib_inflate()
191 inflateReset(strm); in process_zlib_inflate()
[all …]
H A Dzlib_pmd_private.h45 typedef void (*comp_func_t)(struct rte_comp_op *op, z_stream *strm);
47 typedef int (*comp_free_t)(z_stream *strm);
51 z_stream strm; member
H A Dzlib_pmd_ops.c269 stream->free(&stream->strm); in zlib_pmd_stream_free()
/dpdk/drivers/compress/octeontx/
H A Dotx_zip_pmd.c441 struct zip_stream *strm = NULL; in zip_pmd_stream_create() local
443 strm = rte_malloc(NULL, in zip_pmd_stream_create()
446 if (strm == NULL) in zip_pmd_stream_create()
449 ret = zip_set_stream_parameters(dev, xform, strm); in zip_pmd_stream_create()
452 rte_free(strm); in zip_pmd_stream_create()
455 *stream = strm; in zip_pmd_stream_create()