Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Dxz.h149 struct xz_dec;
194 XZ_EXTERN struct xz_dec *xz_dec_init(enum xz_mode mode, uint32_t dict_max);
214 XZ_EXTERN enum xz_ret xz_dec_run(struct xz_dec *s, struct xz_buf *b);
227 XZ_EXTERN void xz_dec_reset(struct xz_dec *s);
234 XZ_EXTERN void xz_dec_end(struct xz_dec *s);
/linux-6.3-rc2/lib/xz/
A Dxz_dec_stream.c20 struct xz_dec { struct
157 static bool fill_temp(struct xz_dec *s, struct xz_buf *b) in fill_temp() argument
175 static enum xz_ret dec_vli(struct xz_dec *s, const uint8_t *in, in dec_vli()
218 static enum xz_ret dec_block(struct xz_dec *s, struct xz_buf *b) in dec_block()
370 static bool check_skip(struct xz_dec *s, struct xz_buf *b) in check_skip()
387 static enum xz_ret dec_stream_header(struct xz_dec *s) in dec_stream_header()
422 static enum xz_ret dec_stream_footer(struct xz_dec *s) in dec_stream_footer()
449 static enum xz_ret dec_block_header(struct xz_dec *s) in dec_block_header()
788 struct xz_dec *s = kmalloc(sizeof(*s), GFP_KERNEL); in xz_dec_init()
816 XZ_EXTERN void xz_dec_reset(struct xz_dec *s) in xz_dec_reset()
[all …]
A DMakefile2 obj-$(CONFIG_XZ_DEC) += xz_dec.o
3 xz_dec-y := xz_dec_syms.o xz_dec_stream.o xz_dec_lzma2.o
4 xz_dec-$(CONFIG_XZ_DEC_BCJ) += xz_dec_bcj.o
A Dxz_dec_test.c33 static struct xz_dec *state;
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxfw/
A Dmlxfw_mfa2.c390 static int mlxfw_mfa2_xz_dec_run(struct xz_dec *xz_dec, struct xz_buf *xz_buf, in mlxfw_mfa2_xz_dec_run() argument
395 xz_ret = xz_dec_run(xz_dec, xz_buf); in mlxfw_mfa2_xz_dec_run()
428 struct xz_dec *xz_dec; in mlxfw_mfa2_file_cb_offset_xz() local
434 xz_dec = xz_dec_init(XZ_DYNALLOC, (u32) -1); in mlxfw_mfa2_file_cb_offset_xz()
435 if (!xz_dec) in mlxfw_mfa2_file_cb_offset_xz()
450 err = mlxfw_mfa2_xz_dec_run(xz_dec, &dec_buf, &finished); in mlxfw_mfa2_file_cb_offset_xz()
464 err = mlxfw_mfa2_xz_dec_run(xz_dec, &dec_buf, &finished); in mlxfw_mfa2_file_cb_offset_xz()
466 xz_dec_end(xz_dec); in mlxfw_mfa2_file_cb_offset_xz()
/linux-6.3-rc2/kernel/module/
A Ddecompress.c153 struct xz_dec *xz_dec; in module_xz_decompress() local
165 xz_dec = xz_dec_init(XZ_DYNALLOC, (u32)-1); in module_xz_decompress()
166 if (!xz_dec) in module_xz_decompress()
184 xz_ret = xz_dec_run(xz_dec, &xz_buf); in module_xz_decompress()
199 xz_dec_end(xz_dec); in module_xz_decompress()
/linux-6.3-rc2/Documentation/translations/zh_CN/staging/
A Dxz.rst31 xz_dec模块为XZ解压器提供了单次调用(缓冲区到缓冲区)和多次调用(有状态)的
32 API。xz_dec模块的用法记录在include/linux/xz.h中。
34 xz_dec_test模块用于测试xz_dec。除非你想魔改XZ解压器,否则xz_dec_test是
/linux-6.3-rc2/drivers/base/firmware_loader/
A Dmain.c388 struct xz_dec *xz_dec; in fw_decompress_xz_single() local
392 xz_dec = xz_dec_init(XZ_SINGLE, (u32)-1); in fw_decompress_xz_single()
393 if (!xz_dec) in fw_decompress_xz_single()
403 xz_ret = xz_dec_run(xz_dec, &xz_buf); in fw_decompress_xz_single()
404 xz_dec_end(xz_dec); in fw_decompress_xz_single()
414 struct xz_dec *xz_dec; in fw_decompress_xz_pages() local
420 xz_dec = xz_dec_init(XZ_DYNALLOC, (u32)-1); in fw_decompress_xz_pages()
421 if (!xz_dec) in fw_decompress_xz_pages()
441 xz_ret = xz_dec_run(xz_dec, &xz_buf); in fw_decompress_xz_pages()
454 xz_dec_end(xz_dec); in fw_decompress_xz_pages()
/linux-6.3-rc2/Documentation/staging/
A Dxz.rst28 The xz_dec module provides XZ decompressor with single-call (buffer
29 to buffer) and multi-call (stateful) APIs. The usage of the xz_dec
32 The xz_dec_test module is for testing xz_dec. xz_dec_test is not
/linux-6.3-rc2/fs/squashfs/
A Dxz_wrapper.c25 struct xz_dec *state;
/linux-6.3-rc2/lib/
A Ddecompress_unxz.c258 struct xz_dec *s; in unxz()

Completed in 14 milliseconds