Searched refs:xz_dec (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/include/linux/ |
D | xz.h | 143 struct xz_dec; 188 struct xz_dec *xz_dec_init(enum xz_mode mode, uint32_t dict_max); 208 enum xz_ret xz_dec_run(struct xz_dec *s, struct xz_buf *b); 221 void xz_dec_reset(struct xz_dec *s); 228 void xz_dec_end(struct xz_dec *s);
|
/linux-6.12.1/lib/xz/ |
D | xz_dec_stream.c | 19 struct xz_dec { struct 156 static bool fill_temp(struct xz_dec *s, struct xz_buf *b) in fill_temp() argument 174 static enum xz_ret dec_vli(struct xz_dec *s, const uint8_t *in, in dec_vli() 217 static enum xz_ret dec_block(struct xz_dec *s, struct xz_buf *b) in dec_block() 280 static void index_update(struct xz_dec *s, const struct xz_buf *b) in index_update() 295 static enum xz_ret dec_index(struct xz_dec *s, struct xz_buf *b) in dec_index() 345 static enum xz_ret crc32_validate(struct xz_dec *s, struct xz_buf *b) in crc32_validate() 369 static bool check_skip(struct xz_dec *s, struct xz_buf *b) in check_skip() 386 static enum xz_ret dec_stream_header(struct xz_dec *s) in dec_stream_header() 421 static enum xz_ret dec_stream_footer(struct xz_dec *s) in dec_stream_footer() [all …]
|
D | Makefile | 2 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
|
D | xz_dec_test.c | 32 static struct xz_dec *state;
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxfw/ |
D | mlxfw_mfa2.c | 390 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.12.1/kernel/module/ |
D | decompress.c | 153 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.12.1/Documentation/translations/zh_CN/staging/ |
D | xz.rst | 31 xz_dec模块为XZ解压器提供了单次调用(缓冲区到缓冲区)和多次调用(有状态)的 32 API。xz_dec模块的用法记录在include/linux/xz.h中。 34 xz_dec_test模块用于测试xz_dec。除非你想魔改XZ解压器,否则xz_dec_test是
|
/linux-6.12.1/drivers/base/firmware_loader/ |
D | main.c | 389 struct xz_dec *xz_dec; in fw_decompress_xz_single() local 393 xz_dec = xz_dec_init(XZ_SINGLE, (u32)-1); in fw_decompress_xz_single() 394 if (!xz_dec) in fw_decompress_xz_single() 404 xz_ret = xz_dec_run(xz_dec, &xz_buf); in fw_decompress_xz_single() 405 xz_dec_end(xz_dec); in fw_decompress_xz_single() 415 struct xz_dec *xz_dec; in fw_decompress_xz_pages() local 421 xz_dec = xz_dec_init(XZ_DYNALLOC, (u32)-1); in fw_decompress_xz_pages() 422 if (!xz_dec) in fw_decompress_xz_pages() 442 xz_ret = xz_dec_run(xz_dec, &xz_buf); in fw_decompress_xz_pages() 455 xz_dec_end(xz_dec); in fw_decompress_xz_pages()
|
/linux-6.12.1/Documentation/staging/ |
D | xz.rst | 28 The xz_dec module provides XZ decompressor with single-call (buffer 93 xz_dec API
|
/linux-6.12.1/fs/squashfs/ |
D | xz_wrapper.c | 25 struct xz_dec *state;
|
/linux-6.12.1/lib/ |
D | decompress_unxz.c | 265 struct xz_dec *s; in unxz()
|