Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- crypto/zstd.c, line 227
- fs/btrfs/zstd.c
- fs/erofs/decompressor_zstd.c, line 163
- fs/f2fs/compress.c, line 428
- fs/squashfs/zstd_wrapper.c, line 74
- kernel/module/decompress.c, line 250
- lib/decompress_unzstd.c, line 270
- lib/zstd/zstd_decompress_module.c, line 112
Smatch caller information:
fs/btrfs/zstd.c zstd_decompress() -> zstd_init_dstream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | max_window_size | 131072 |
| BUF_SIZE | 1 | workspace | 16384 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/zstd.c zstd_decompress_bio() -> zstd_init_dstream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | max_window_size | 131072 |
| BUF_SIZE | 1 | workspace | 16384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/squashfs/zstd_wrapper.c zstd_uncompress() -> zstd_init_dstream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | workspace | 16384 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | max_window_size | unit_byte |
| HALF_LOCKED2 | &stream->mutex |
crypto/zstd.c zstd_decompress() -> zstd_init_dstream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | max_window_size | 262144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &acomp_ctx->mutex |
fs/erofs/decompressor_zstd.c z_erofs_zstd_decompress() -> zstd_init_dstream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | workspace | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | workspace_size | unit_byte |
| LOCK2 | &pcl->lock | ||
| TYPE_LOCK | (struct z_erofs_pcluster)->lock |
lib/decompress_unzstd.c __unzstd() -> zstd_init_dstream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | max_window_size | 0 |
| BUF_SIZE | 1 | workspace | 0-u64max |
| CAPPED_DATA | 2 | workspace_size | 1 |
| CAPPED_DATA | 2 | workspace_size | 1 |
| DATA_SOURCE | 1 | workspace | r vmalloc_noprof |
| DATA_SOURCE | 2 | workspace_size | r zstd_dstream_workspace_bound |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| BYTE_COUNT | 1 | ==workspace2 | 8050 |
fs/f2fs/compress.c zstd_init_decompress_ctx() -> zstd_init_dstream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | workspace | 1-u64max |
| BUF_SIZE | 1 | workspace | s32min-s32max |
| CAPPED_DATA | 2 | workspace_size | 1 |
| DATA_SOURCE | 1 | workspace | r f2fs_vmalloc |
| DATA_SOURCE | 2 | workspace_size | r zstd_dstream_workspace_bound |
| TASK_NOT_RUNNING |