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 395
- fs/squashfs/xz_wrapper.c, line 172
- kernel/module/decompress.c, line 184
- lib/decompress_unxz.c
- lib/xz/xz_dec_syms.c, line 14
- lib/xz/xz_dec_test.c, line 132
Smatch caller information:
lib/decompress_unxz.c unxz() -> xz_dec_run()
| 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 |
| PARAM_VALUE | 1 | b | 3235454208836001792 |
| PARAM_VALUE | 1 | b->in | 4096-ptr_max |
| PARAM_VALUE | 1 | b->in_pos | 0 |
| PARAM_VALUE | 1 | b->in_size | 2-9223372036854775807 |
| PARAM_VALUE | 1 | b->out | 0,4096-ptr_max |
| PARAM_VALUE | 1 | b->out_pos | 0 |
| PARAM_VALUE | 1 | b->out_size | 4096,u64max |
| 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 |
lib/decompress_unxz.c unxz() -> xz_dec_run()
| 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 |
| PARAM_VALUE | 1 | b | 3235454208836001792 |
| PARAM_VALUE | 1 | b->in | 4096-ptr_max |
| PARAM_VALUE | 1 | b->in_size | 0-9223372036854775807 |
| PARAM_VALUE | 1 | b->out_size | 1-u64max |
| 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 |
lib/xz/xz_dec_test.c xz_dec_test_write() -> xz_dec_run()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 0,4096-ptr_max |
| PARAM_VALUE | 1 | b | 3118757312640684032 |
| PARAM_VALUE | 1 | b->in_size | 0-1024 |
| PARAM_VALUE | 1 | b->out_pos | 0 |
| PARAM_VALUE | 1 | b->out_size | 1-u64max |
| USER_DATA | 0 | s->lzma2->lzma2.compressed | 0-9223372036854775806 |
| USER_DATA | 0 | s->lzma2->rc.in_limit | s64min-s64max |
| USER_DATA | 0 | s->lzma2->temp.size | s64min-s64max[c] |
| USER_DATA | 1 | b->in_size | 0-1023[c] |
fs/squashfs/xz_wrapper.c squashfs_xz_uncompress() -> xz_dec_run()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->allow_buf_error | 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->pos | 0-4294967295 |
| PARAM_VALUE | 0 | s->sequence | 0-5,7-9 |
| PARAM_VALUE | 1 | b | 4096-ptr_max |
| PARAM_VALUE | 1 | b->out_size | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &stream->mutex |
drivers/base/firmware_loader/main.c fw_decompress_xz_pages() -> xz_dec_run()
| 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 |
| PARAM_VALUE | 1 | b | 3895226715428368384 |
| PARAM_VALUE | 1 | b->in | 0 |
| PARAM_VALUE | 1 | b->out | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | b->out_pos | 0 |
| PARAM_VALUE | 1 | b->out_size | 4096 |
| BUF_SIZE | 0 | s | 1232 |
| BUF_SIZE | 0 | s | 1232 |
| DATA_SOURCE | 0 | s | r xz_dec_init |
| RX_PATH | |||
| HALF_LOCKED2 | &pool->lock |
drivers/base/firmware_loader/main.c fw_decompress_xz_single() -> xz_dec_run()
| 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 |
| PARAM_VALUE | 0 | s->mode | 0 |
| 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 |
| PARAM_VALUE | 1 | b | 6755176804435341312 |
| PARAM_VALUE | 1 | b->in | 0 |
| PARAM_VALUE | 1 | b->in_pos | 0 |
| PARAM_VALUE | 1 | b->out | 1-u64max |
| PARAM_VALUE | 1 | b->out_pos | 0 |
| BUF_SIZE | 0 | s | 1232 |
| BUF_SIZE | 0 | s | 1232 |
| DATA_SOURCE | 0 | s | r xz_dec_init |
| RX_PATH | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c mlxfw_mfa2_xz_dec_run() -> xz_dec_run()
| 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 |
| PARAM_VALUE | 1 | b | 4361522589584949248 |
| PARAM_VALUE | 1 | b->in | 1-9223372036854775807 |
| PARAM_VALUE | 1 | b->in_size | 0-u32max |
| PARAM_VALUE | 1 | b->out_pos | 0 |
| BUF_SIZE | 0 | s | 1232 |
| BUF_SIZE | 0 | s | 1232 |
| DATA_SOURCE | 0 | s | $0 |
| DATA_SOURCE | 1 | b | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | s->lzma2->dict.limit |