Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/inode.c btrfs_run_delalloc_range() -> btrfs_inode_can_compress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| CAPPED_DATA | 0 | inode->root | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | inode->vfs_inode.i_mapping->host->i_bytes | |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/btrfs/inode.c inode_need_compress() -> btrfs_inode_can_compress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/inode.c run_delalloc_inline() -> btrfs_inode_can_compress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->root | 4096-ptr_max |
| CAPPED_DATA | 0 | inode->disk_i_size | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/btrfs/props.c prop_compression_validate() -> btrfs_inode_can_compress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| STR_LEN | 0 | inode | (-1)-1010101 |
| STR_LEN | 0 | inode | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING |