Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/inode.c btrfs_create_io_em() -> btrfs_extent_map_set_compression()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | em | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1-255 |
| CAPPED_DATA | 0 | em->len | 1 |
| DATA_SOURCE | 0 | em | r btrfs_alloc_extent_map |
| BIT_INFO | 0 | em->flags | 0x1,0xffffffff |
| NOSPEC | 0 | em->start | |
| RX_PATH | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | em->start | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | em->start | |
| LOCK2 | &pool->lock |
fs/btrfs/file-item.c btrfs_extent_item_to_extent_map() -> btrfs_extent_map_set_compression()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | em | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1-255 |
| DATA_SOURCE | 0 | em | $3 |
| DATA_SOURCE | 1 | type | r btrfs_file_extent_compression |
| NOCHECK_CALL | |||
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/btrfs/file-item.c btrfs_extent_item_to_extent_map() -> btrfs_extent_map_set_compression()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | em | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-255 |
| DATA_SOURCE | 0 | em | $3 |
| DATA_SOURCE | 1 | type | r btrfs_file_extent_compression |
| NOCHECK_CALL | |||
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |