Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/block/zram/backend_lz4.c, line 141
- drivers/block/zram/backend_lz4hc.c, line 125
- lib/lz4/lz4_decompress.c, line 712
Smatch caller information:
drivers/block/zram/backend_lz4.c lz4_decompress() -> LZ4_decompress_safe_continue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | LZ4_streamDecode | 4096-ptr_max |
| PARAM_VALUE | 0 | LZ4_streamDecode->internal_donotuse.extDictSize | 0 |
| PARAM_VALUE | 0 | LZ4_streamDecode->internal_donotuse.externalDict | 0 |
| PARAM_VALUE | 0 | LZ4_streamDecode->internal_donotuse.prefixEnd | 4096-ptr_max |
| PARAM_VALUE | 0 | LZ4_streamDecode->internal_donotuse.prefixSize | 0-s32max |
| PARAM_VALUE | 3 | compressedSize | 0-8191 |
| PARAM_VALUE | 4 | maxOutputSize | 4096 |
| BUF_SIZE | 1 | source | 4096 |
| BUF_SIZE | 2 | dest | 4096,8192 |
| UNITS | 3 | compressedSize | unit_byte |
| UNITS | 4 | maxOutputSize | unit_byte |
| LOCK2 | &zstrm->lock | ||
| TYPE_LOCK | (struct zcomp_strm)->lock |
drivers/block/zram/backend_lz4hc.c lz4hc_decompress() -> LZ4_decompress_safe_continue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | LZ4_streamDecode | 4096-ptr_max |
| PARAM_VALUE | 0 | LZ4_streamDecode->internal_donotuse.extDictSize | 0 |
| PARAM_VALUE | 0 | LZ4_streamDecode->internal_donotuse.externalDict | 0 |
| PARAM_VALUE | 0 | LZ4_streamDecode->internal_donotuse.prefixEnd | 4096-ptr_max |
| PARAM_VALUE | 0 | LZ4_streamDecode->internal_donotuse.prefixSize | 0-s32max |
| PARAM_VALUE | 3 | compressedSize | 0-8191 |
| PARAM_VALUE | 4 | maxOutputSize | 4096 |
| BUF_SIZE | 1 | source | 4096 |
| BUF_SIZE | 2 | dest | 4096,8192 |
| UNITS | 3 | compressedSize | unit_byte |
| UNITS | 4 | maxOutputSize | unit_byte |
| LOCK2 | &zstrm->lock | ||
| TYPE_LOCK | (struct zcomp_strm)->lock |