Home
last modified time | relevance | path

Searched refs:xz_buf (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/kernel/module/
Ddecompress.c154 struct xz_buf xz_buf; in module_xz_decompress() local
169 xz_buf.in_size = size; in module_xz_decompress()
170 xz_buf.in = buf; in module_xz_decompress()
171 xz_buf.in_pos = 0; in module_xz_decompress()
181 xz_buf.out = kmap_local_page(page); in module_xz_decompress()
182 xz_buf.out_pos = 0; in module_xz_decompress()
183 xz_buf.out_size = PAGE_SIZE; in module_xz_decompress()
184 xz_ret = xz_dec_run(xz_dec, &xz_buf); in module_xz_decompress()
185 kunmap_local(xz_buf.out); in module_xz_decompress()
187 new_size += xz_buf.out_pos; in module_xz_decompress()
[all …]
/linux-6.6.21/drivers/base/firmware_loader/
Dmain.c389 struct xz_buf xz_buf; in fw_decompress_xz_single() local
396 xz_buf.in_size = in_size; in fw_decompress_xz_single()
397 xz_buf.in = in_buffer; in fw_decompress_xz_single()
398 xz_buf.in_pos = 0; in fw_decompress_xz_single()
399 xz_buf.out_size = fw_priv->allocated_size; in fw_decompress_xz_single()
400 xz_buf.out = fw_priv->data; in fw_decompress_xz_single()
401 xz_buf.out_pos = 0; in fw_decompress_xz_single()
403 xz_ret = xz_dec_run(xz_dec, &xz_buf); in fw_decompress_xz_single()
406 fw_priv->size = xz_buf.out_pos; in fw_decompress_xz_single()
415 struct xz_buf xz_buf; in fw_decompress_xz_pages() local
[all …]
/linux-6.6.21/include/linux/
Dxz.h136 struct xz_buf { struct
214 XZ_EXTERN enum xz_ret xz_dec_run(struct xz_dec *s, struct xz_buf *b);
333 struct xz_buf *b);
/linux-6.6.21/lib/xz/
Dxz_dec_stream.c157 static bool fill_temp(struct xz_dec *s, struct xz_buf *b) in fill_temp()
218 static enum xz_ret dec_block(struct xz_dec *s, struct xz_buf *b) in dec_block()
281 static void index_update(struct xz_dec *s, const struct xz_buf *b) in index_update()
296 static enum xz_ret dec_index(struct xz_dec *s, struct xz_buf *b) in dec_index()
346 static enum xz_ret crc32_validate(struct xz_dec *s, struct xz_buf *b) in crc32_validate()
370 static bool check_skip(struct xz_dec *s, struct xz_buf *b) in check_skip()
549 static enum xz_ret dec_main(struct xz_dec *s, struct xz_buf *b) in dec_main()
750 XZ_EXTERN enum xz_ret xz_dec_run(struct xz_dec *s, struct xz_buf *b) in xz_dec_run()
Dxz_private.h130 struct xz_buf *b);
157 struct xz_buf *b);
Dxz_dec_lzma2.c290 static void dict_reset(struct dictionary *dict, struct xz_buf *b) in dict_reset()
378 static void dict_uncompressed(struct dictionary *dict, struct xz_buf *b, in dict_uncompressed()
437 static uint32_t dict_flush(struct dictionary *dict, struct xz_buf *b) in dict_flush()
481 static bool rc_read_init(struct rc_dec *rc, struct xz_buf *b) in rc_read_init()
879 static bool lzma2_lzma(struct xz_dec_lzma2 *s, struct xz_buf *b) in lzma2_lzma()
965 struct xz_buf *b) in xz_dec_lzma2_run()
1216 struct xz_buf *b) in xz_dec_microlzma_run()
Dxz_dec_test.c52 static struct xz_buf buffers = {
Dxz_dec_bcj.c399 static void bcj_flush(struct xz_dec_bcj *s, struct xz_buf *b) in bcj_flush()
419 struct xz_buf *b) in xz_dec_bcj_run()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxfw/
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()
429 struct xz_buf dec_buf; in mlxfw_mfa2_file_cb_offset_xz()
/linux-6.6.21/fs/squashfs/
Dxz_wrapper.c26 struct xz_buf buf;
/linux-6.6.21/lib/
Ddecompress_unxz.c259 struct xz_buf b; in unxz()
/linux-6.6.21/fs/erofs/
Ddecompressor_lzma.c9 struct xz_buf buf;