Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/compression.c btrfs_compress_bio() -> get_workspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 2 | level | (-15)-15 |
| CAPPED_DATA | 2 | level | 1 |
| DATA_SOURCE | 1 | type | $3 |
| DATA_SOURCE | 2 | level | r btrfs_compress_set_level |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/compression.c btrfs_compress_heuristic() -> get_workspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | level | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/compression.c btrfs_decompress() -> get_workspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-255 |
| PARAM_VALUE | 2 | level | 0 |
| DATA_SOURCE | 1 | type | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/compression.c btrfs_decompress_bio() -> get_workspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0-255 |
| PARAM_VALUE | 2 | level | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &pool->lock |
net/ceph/osdmap.c do_crush() -> get_workspace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 4096-ptr_max |
| PARAM_VALUE | 1 | type->max_rules | 1-u32max |
| CAPPED_DATA | 1 | type->max_rules | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &osdc->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |