Documented in 1 files:
Defined in 2 files as a prototype:
- include/linux/zstd.h, line 602 (as a prototype)
- tools/perf/util/compress.h, line 60 (as a prototype)
Defined in 3 files as a function:
- lib/zstd/zstd_decompress_module.c, line 120 (as a function)
- tools/perf/util/compress.h, line 85 (as a function)
- tools/perf/util/zstd.c, line 107 (as a function)
Referenced in 9 files:
- crypto/zstd.c, line 262
- fs/btrfs/zstd.c
- fs/erofs/decompressor_zstd.c, line 190
- fs/f2fs/compress.c, line 464
- fs/squashfs/zstd_wrapper.c, line 126
- kernel/module/decompress.c, line 269
- lib/decompress_unzstd.c, line 303
- lib/zstd/zstd_decompress_module.c, line 125
- tools/perf/util/tool.c, line 104
Smatch caller information:
fs/btrfs/zstd.c zstd_decompress() -> zstd_decompress_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dstream | 4096-ptr_max |
| PARAM_VALUE | 1 | output | 4096-ptr_max |
| PARAM_VALUE | 1 | output->pos | 0 |
| PARAM_VALUE | 1 | output->size | 0-u32max |
| PARAM_VALUE | 2 | input | 4096-ptr_max |
| PARAM_VALUE | 2 | input->pos | 0 |
| PARAM_VALUE | 2 | input->src | 16,37,4096-ptr_max |
| BUF_SIZE | 0 | dstream | (-1),1-s32max |
| BUF_SIZE | 0 | dstream | (-1),1-s32max |
| DATA_SOURCE | 0 | dstream | r zstd_init_dstream |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/zstd.c zstd_decompress_bio() -> zstd_decompress_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dstream | 4096-ptr_max |
| PARAM_VALUE | 1 | output | 4096-ptr_max |
| PARAM_VALUE | 1 | output->pos | 0 |
| PARAM_VALUE | 1 | output->size | 0-u32max |
| PARAM_VALUE | 2 | input | 4096-ptr_max |
| PARAM_VALUE | 2 | input->pos | 0-4294967294 |
| PARAM_VALUE | 2 | input->size | 0-u32max |
| BUF_SIZE | 0 | dstream | (-1),1-s32max |
| BUF_SIZE | 0 | dstream | (-1),1-s32max |
| DATA_SOURCE | 0 | dstream | r zstd_init_dstream |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/squashfs/zstd_wrapper.c zstd_uncompress() -> zstd_decompress_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dstream | 4096-ptr_max |
| PARAM_VALUE | 1 | output | 7143818879661985792 |
| PARAM_VALUE | 1 | output->dst | 0-ptr_max |
| PARAM_VALUE | 1 | output->pos | 0 |
| PARAM_VALUE | 1 | output->size | 4096 |
| PARAM_VALUE | 2 | input | 2389760004346933248 |
| BUF_SIZE | 0 | dstream | (-1),1-s32max |
| BUF_SIZE | 0 | dstream | (-1),1-s32max |
| DATA_SOURCE | 0 | dstream | r zstd_init_dstream |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &stream->mutex |
crypto/zstd.c zstd_decompress() -> zstd_decompress_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dstream | 4096-ptr_max |
| PARAM_VALUE | 1 | output | 4073026997630603264 |
| PARAM_VALUE | 1 | output->pos | 0 |
| PARAM_VALUE | 1 | output->size | 1-u32max |
| PARAM_VALUE | 2 | input | 719953419953369088 |
| PARAM_VALUE | 2 | input->size | 1-u32max |
| BUF_SIZE | 0 | dstream | (-1),1-s32max |
| BUF_SIZE | 0 | dstream | (-1),1-s32max |
| DATA_SOURCE | 0 | dstream | r zstd_init_dstream |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | input->pos | 2-s32max[c] |
| HOST_DATA | 2 | input->size | 2-s32max[c] |
| USER_DATA | 0 | dstream->expectedOutBuffer.size | 1-83778[c] |
| USER_DATA | 1 | output->size | 1-219420[c] |
| USER_DATA | 2 | input->pos | 1-4095[c] |
| USER_DATA | 2 | input->size | 1-4095[c] |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &acomp_ctx->mutex |
fs/erofs/decompressor_zstd.c z_erofs_zstd_decompress() -> zstd_decompress_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dstream | 4096-ptr_max |
| PARAM_VALUE | 1 | output | 5014918627502493696 |
| PARAM_VALUE | 1 | output->pos | 0 |
| PARAM_VALUE | 1 | output->size | 0-u32max |
| PARAM_VALUE | 2 | input | 3145011092958322688 |
| PARAM_VALUE | 2 | input->pos | 0-u32max |
| PARAM_VALUE | 2 | input->size | 0-u32max |
| BUF_SIZE | 0 | dstream | (-1),1-s32max |
| BUF_SIZE | 0 | dstream | (-1),1-s32max |
| DATA_SOURCE | 0 | dstream | r zstd_init_dstream |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pcl->lock | ||
| TYPE_LOCK | (struct z_erofs_pcluster)->lock |
lib/decompress_unzstd.c __unzstd() -> zstd_decompress_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dstream | 4096-ptr_max |
| PARAM_VALUE | 1 | output | 5578603227375501312 |
| PARAM_VALUE | 1 | output->pos | 0 |
| PARAM_VALUE | 1 | output->size | 131072,u64max |
| PARAM_VALUE | 2 | input | 1066113134150582272 |
| PARAM_VALUE | 2 | input->size | 1-9223372036854775807 |
| PARAM_VALUE | 2 | input->src | 1-u64max |
| BUF_SIZE | 0 | dstream | (-1),1-s32max |
| BUF_SIZE | 0 | dstream | (-1),1-s32max |
| DATA_SOURCE | 0 | dstream | r zstd_init_dstream |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/f2fs/compress.c zstd_decompress_pages() -> zstd_decompress_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | output | 3092260264017809408 |
| PARAM_VALUE | 1 | output->pos | 0 |
| PARAM_VALUE | 2 | input | 7194094659315978240 |
| PARAM_VALUE | 2 | input->pos | 0 |
| PARAM_VALUE | 2 | input->size | 0-u32max |
| BUF_SIZE | 0 | dstream | 1-s32max |
| BUF_SIZE | 0 | dstream | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |