Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/inode.c uncompress_inline() -> btrfs_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-255 |
| PARAM_VALUE | 1 | data_in | 16,4096-ptr_max |
| PARAM_VALUE | 2 | dest_folio | 4096-ptr_max |
| PARAM_VALUE | 3 | dest_pgoff | 0 |
| PARAM_VALUE | 4 | srclen | 0-4000000 |
| PARAM_VALUE | 5 | destlen | 0-u32max |
| BUF_SIZE | 1 | data_in | 0-u32max |
| BUF_SIZE | 1 | data_in | 0-u32max |
| CAPPED_DATA | 5 | destlen | 1 |
| CAPPED_DATA | 5 | destlen | 1 |
| DATA_SOURCE | 0 | type | r btrfs_file_extent_compression |
| DATA_SOURCE | 1 | data_in | r _kmalloc_noprof |
| DATA_SOURCE | 2 | dest_folio | $1 |
| DATA_SOURCE | 4 | srclen | r btrfs_file_extent_inline_item_len |
| BIT_INFO | 4 | srclen | 0x0,0xffffffff |
| UNITS | 5 | destlen | unit_byte |
| BYTE_COUNT | 1 | ==data_in4 | 8050 |
fs/btrfs/reflink.c copy_inline_to_page() -> btrfs_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 1-255 |
| PARAM_VALUE | 1 | data_in | 37,4096-ptr_max |
| PARAM_VALUE | 2 | dest_folio | 4096-ptr_max |
| PARAM_VALUE | 2 | dest_folio->mapping | 1-u64max |
| PARAM_VALUE | 5 | destlen | 0-u32max |
| CAPPED_DATA | 3 | dest_pgoff | 1 |
| CAPPED_DATA | 5 | destlen | 1 |
| CAPPED_DATA | 5 | destlen | 1 |
| DATA_SOURCE | 0 | type | $5 |
| DATA_SOURCE | 2 | dest_folio | r __filemap_get_folio |
| DATA_SOURCE | 5 | destlen | $4 |
| CONSTRAINT | 5 | destlen | <=4015 |
| UNITS | 5 | destlen | unit_byte |