Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/base/firmware_loader/main.c
- drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c, line 466
- fs/squashfs/xz_wrapper.c, line 113
- kernel/module/decompress.c, line 199
- lib/decompress_unxz.c
- lib/xz/xz_dec_syms.c, line 15
- lib/xz/xz_dec_test.c
Smatch caller information:
lib/decompress_unxz.c unxz() -> xz_dec_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->allow_buf_error | 0-1 |
| PARAM_VALUE | 0 | s->bcj->single_call | 0-1 |
| PARAM_VALUE | 0 | s->block.compressed | 0 |
| PARAM_VALUE | 0 | s->block.count | 0 |
| PARAM_VALUE | 0 | s->block.hash.crc32 | 0 |
| PARAM_VALUE | 0 | s->block.hash.uncompressed | 0 |
| PARAM_VALUE | 0 | s->block.hash.unpadded | 0 |
| PARAM_VALUE | 0 | s->block.uncompressed | 0 |
| PARAM_VALUE | 0 | s->crc32 | 0-4294967295 |
| PARAM_VALUE | 0 | s->index.count | 0 |
| PARAM_VALUE | 0 | s->index.hash.crc32 | 0 |
| PARAM_VALUE | 0 | s->index.hash.uncompressed | 0 |
| PARAM_VALUE | 0 | s->index.hash.unpadded | 0 |
| PARAM_VALUE | 0 | s->index.sequence | 0-2 |
| PARAM_VALUE | 0 | s->index.size | 0 |
| PARAM_VALUE | 0 | s->lzma2->dict.mode | 0,2 |
| PARAM_VALUE | 0 | s->lzma2->dict.size_max | 0 |
| PARAM_VALUE | 0 | s->mode | 0,2 |
| PARAM_VALUE | 0 | s->pos | 0-4294967295 |
| PARAM_VALUE | 0 | s->sequence | 0-5,7-9 |
| BUF_SIZE | 0 | s | 1232 |
| BUF_SIZE | 0 | s | 1232 |
| FUZZY_MAX | 0 | s->lzma2->dict.mode | 2 |
| FUZZY_MAX | 0 | s->mode | 2 |
| BIT_INFO | 0 | s->lzma2->dict.mode | 0x0,0x2 |
| BIT_INFO | 0 | s->mode | 0x0,0x2 |
| HARD_MAX | 0 | s->lzma2->dict.mode | 2 |
| HARD_MAX | 0 | s->mode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/decompress_unxz.c unxz() -> xz_dec_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->allow_buf_error | 0 |
| PARAM_VALUE | 0 | s->bcj->single_call | 0-1 |
| PARAM_VALUE | 0 | s->block.compressed | 0 |
| PARAM_VALUE | 0 | s->block.count | 0 |
| PARAM_VALUE | 0 | s->block.hash.crc32 | 0 |
| PARAM_VALUE | 0 | s->block.hash.uncompressed | 0 |
| PARAM_VALUE | 0 | s->block.hash.unpadded | 0 |
| PARAM_VALUE | 0 | s->block.uncompressed | 0 |
| PARAM_VALUE | 0 | s->crc32 | 0 |
| PARAM_VALUE | 0 | s->index.count | 0 |
| PARAM_VALUE | 0 | s->index.hash.crc32 | 0 |
| PARAM_VALUE | 0 | s->index.hash.uncompressed | 0 |
| PARAM_VALUE | 0 | s->index.hash.unpadded | 0 |
| PARAM_VALUE | 0 | s->index.sequence | 0 |
| PARAM_VALUE | 0 | s->index.size | 0 |
| PARAM_VALUE | 0 | s->lzma2->dict.mode | 0,2 |
| PARAM_VALUE | 0 | s->lzma2->dict.size_max | 0 |
| PARAM_VALUE | 0 | s->mode | 0,2 |
| PARAM_VALUE | 0 | s->pos | 0 |
| PARAM_VALUE | 0 | s->sequence | 0 |
| PARAM_VALUE | 0 | s->temp.pos | 0 |
| PARAM_VALUE | 0 | s->temp.size | 12 |
| BUF_SIZE | 0 | s | 1232 |
| BUF_SIZE | 0 | s | 1232 |
| FUZZY_MAX | 0 | s->lzma2->dict.mode | 2 |
| FUZZY_MAX | 0 | s->mode | 2 |
| BIT_INFO | 0 | s->lzma2->dict.mode | 0x0,0x2 |
| BIT_INFO | 0 | s->mode | 0x0,0x2 |
| HARD_MAX | 0 | s->lzma2->dict.mode | 2 |
| HARD_MAX | 0 | s->mode | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/xz/xz_dec_test.c xz_dec_test_exit() -> xz_dec_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
lib/xz/xz_dec_test.c xz_dec_test_init() -> xz_dec_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->allow_buf_error | 0 |
| PARAM_VALUE | 0 | s->bcj->single_call | 0-1 |
| PARAM_VALUE | 0 | s->block.compressed | 0 |
| PARAM_VALUE | 0 | s->block.count | 0 |
| PARAM_VALUE | 0 | s->block.hash.crc32 | 0 |
| PARAM_VALUE | 0 | s->block.hash.uncompressed | 0 |
| PARAM_VALUE | 0 | s->block.hash.unpadded | 0 |
| PARAM_VALUE | 0 | s->block.uncompressed | 0 |
| PARAM_VALUE | 0 | s->crc32 | 0 |
| PARAM_VALUE | 0 | s->index.count | 0 |
| PARAM_VALUE | 0 | s->index.hash.crc32 | 0 |
| PARAM_VALUE | 0 | s->index.hash.uncompressed | 0 |
| PARAM_VALUE | 0 | s->index.hash.unpadded | 0 |
| PARAM_VALUE | 0 | s->index.sequence | 0 |
| PARAM_VALUE | 0 | s->index.size | 0 |
| PARAM_VALUE | 0 | s->lzma2->dict.mode | 1 |
| PARAM_VALUE | 0 | s->lzma2->dict.size_max | 1048576 |
| PARAM_VALUE | 0 | s->mode | 1 |
| PARAM_VALUE | 0 | s->pos | 0 |
| PARAM_VALUE | 0 | s->sequence | 0 |
| PARAM_VALUE | 0 | s->temp.pos | 0 |
| PARAM_VALUE | 0 | s->temp.size | 12 |
| BUF_SIZE | 0 | s | 1232 |
| BUF_SIZE | 0 | s | 1232 |
| DATA_SOURCE | 0 | s | r xz_dec_init |
| NOCHECK_CALL |
fs/squashfs/xz_wrapper.c squashfs_xz_free() -> xz_dec_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/base/firmware_loader/main.c fw_decompress_xz_pages() -> xz_dec_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->allow_buf_error | 0-1 |
| PARAM_VALUE | 0 | s->bcj->single_call | 0-1 |
| PARAM_VALUE | 0 | s->block.compressed | 0 |
| PARAM_VALUE | 0 | s->block.count | 0 |
| PARAM_VALUE | 0 | s->block.hash.crc32 | 0 |
| PARAM_VALUE | 0 | s->block.hash.uncompressed | 0 |
| PARAM_VALUE | 0 | s->block.hash.unpadded | 0 |
| PARAM_VALUE | 0 | s->block.uncompressed | 0 |
| PARAM_VALUE | 0 | s->crc32 | 0-4294967295 |
| PARAM_VALUE | 0 | s->index.count | 0 |
| PARAM_VALUE | 0 | s->index.hash.crc32 | 0 |
| PARAM_VALUE | 0 | s->index.hash.uncompressed | 0 |
| PARAM_VALUE | 0 | s->index.hash.unpadded | 0 |
| PARAM_VALUE | 0 | s->index.sequence | 0-2 |
| PARAM_VALUE | 0 | s->index.size | 0 |
| PARAM_VALUE | 0 | s->lzma2->dict.mode | 2 |
| PARAM_VALUE | 0 | s->mode | 2 |
| PARAM_VALUE | 0 | s->pos | 0-4294967295 |
| PARAM_VALUE | 0 | s->sequence | 0-5,7-9 |
| BUF_SIZE | 0 | s | 1232 |
| BUF_SIZE | 0 | s | 1232 |
| DATA_SOURCE | 0 | s | r xz_dec_init |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/base/firmware_loader/main.c fw_decompress_xz_single() -> xz_dec_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->allow_buf_error | 0-1 |
| PARAM_VALUE | 0 | s->bcj->out_pos | 0-s64max |
| PARAM_VALUE | 0 | s->bcj->pos | 0-4294967295 |
| PARAM_VALUE | 0 | s->bcj->ret | 0-4294967295 |
| PARAM_VALUE | 0 | s->bcj->single_call | 0-1 |
| PARAM_VALUE | 0 | s->bcj->type | 0-4294967295 |
| PARAM_VALUE | 0 | s->bcj->x86_prev_mask | 0-4294967295 |
| PARAM_VALUE | 0 | s->bcj_active | 0-1 |
| PARAM_VALUE | 0 | s->block.compressed | 0 |
| PARAM_VALUE | 0 | s->block.count | 0 |
| PARAM_VALUE | 0 | s->block.hash.crc32 | 0 |
| PARAM_VALUE | 0 | s->block.hash.uncompressed | 0 |
| PARAM_VALUE | 0 | s->block.hash.unpadded | 0 |
| PARAM_VALUE | 0 | s->block.uncompressed | 0 |
| PARAM_VALUE | 0 | s->block_header.size | 8-1024 |
| PARAM_VALUE | 0 | s->crc32 | 0-4294967295 |
| PARAM_VALUE | 0 | s->index.count | 0 |
| PARAM_VALUE | 0 | s->index.hash.crc32 | 0 |
| PARAM_VALUE | 0 | s->index.hash.uncompressed | 0 |
| PARAM_VALUE | 0 | s->index.hash.unpadded | 0 |
| PARAM_VALUE | 0 | s->index.sequence | 0-2 |
| PARAM_VALUE | 0 | s->index.size | 0 |
| PARAM_VALUE | 0 | s->lzma2->dict.allocated | 0-4294967295 |
| PARAM_VALUE | 0 | s->lzma2->dict.mode | 0 |
| PARAM_VALUE | 0 | s->lzma2->dict.size | 0-4294967295 |
| PARAM_VALUE | 0 | s->mode | 0 |
| PARAM_VALUE | 0 | s->pos | 0-4294967295 |
| PARAM_VALUE | 0 | s->sequence | 0-5,7-9 |
| PARAM_VALUE | 0 | *s->bcj->out | 0-255 |
| PARAM_VALUE | 0 | *s->bcj->temp.buf | 0-255 |
| PARAM_VALUE | 0 | *s->lzma2->dict.buf | 0-255 |
| BUF_SIZE | 0 | s | 1232 |
| BUF_SIZE | 0 | s | 1232 |
| DATA_SOURCE | 0 | s | r xz_dec_init |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c mlxfw_mfa2_file_cb_offset_xz() -> xz_dec_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->allow_buf_error | 0-1 |
| PARAM_VALUE | 0 | s->bcj->out_pos | 0-s64max |
| PARAM_VALUE | 0 | s->bcj->pos | 0-4294967295 |
| PARAM_VALUE | 0 | s->bcj->ret | 0-4294967295 |
| PARAM_VALUE | 0 | s->bcj->single_call | 0-1 |
| PARAM_VALUE | 0 | s->bcj->type | 0-4294967295 |
| PARAM_VALUE | 0 | s->bcj->x86_prev_mask | 0-4294967295 |
| PARAM_VALUE | 0 | s->bcj_active | 0-1 |
| PARAM_VALUE | 0 | s->block.compressed | 0 |
| PARAM_VALUE | 0 | s->block.count | 0 |
| PARAM_VALUE | 0 | s->block.hash.crc32 | 0 |
| PARAM_VALUE | 0 | s->block.hash.uncompressed | 0 |
| PARAM_VALUE | 0 | s->block.hash.unpadded | 0 |
| PARAM_VALUE | 0 | s->block.uncompressed | 0 |
| PARAM_VALUE | 0 | s->block_header.size | 8-1024 |
| PARAM_VALUE | 0 | s->crc32 | 0-4294967295 |
| PARAM_VALUE | 0 | s->index.count | 0 |
| PARAM_VALUE | 0 | s->index.hash.crc32 | 0 |
| PARAM_VALUE | 0 | s->index.hash.uncompressed | 0 |
| PARAM_VALUE | 0 | s->index.hash.unpadded | 0 |
| PARAM_VALUE | 0 | s->index.sequence | 0-2 |
| PARAM_VALUE | 0 | s->index.size | 0 |
| PARAM_VALUE | 0 | s->lzma2->dict.allocated | 0-4294967295 |
| PARAM_VALUE | 0 | s->lzma2->dict.mode | 2 |
| PARAM_VALUE | 0 | s->lzma2->dict.size | 0-4294967295 |
| PARAM_VALUE | 0 | s->mode | 2 |
| PARAM_VALUE | 0 | s->pos | 0-4294967295 |
| PARAM_VALUE | 0 | s->sequence | 0-5,7-9 |
| PARAM_VALUE | 0 | *s->bcj->out | 0-255 |
| PARAM_VALUE | 0 | *s->bcj->temp.buf | 0-255 |
| PARAM_VALUE | 0 | *s->lzma2->dict.buf | 0-255 |
| BUF_SIZE | 0 | s | 1232 |
| BUF_SIZE | 0 | s | 1232 |
| DATA_SOURCE | 0 | s | r xz_dec_init |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |