Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/volumes.c btrfs_add_chunk_map() -> btrfs_chunk_map_device_clear_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->rb_node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | map->rb_node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | map->rb_node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | map->refs.refs.counter | 1 |
| PARAM_VALUE | 1 | bits | 64 |
| BUF_SIZE | 0 | map | (-1),80-2097200 |
| BUF_SIZE | 0 | map | (-1),80-2097200 |
| CAPPED_DATA | 0 | map->num_stripes | 1 |
| CAPPED_DATA | 0 | &map->rb_node | 1 |
| DATA_SOURCE | 0 | map | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | map->start | |
| LOCK2 | &fs_info->mapping_tree_lock | ||
| HALF_LOCKED2 | &fs_info->chunk_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->mapping_tree_lock |
fs/btrfs/volumes.c btrfs_mapping_tree_free() -> btrfs_chunk_map_device_clear_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->rb_node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | map->rb_node.rb_right | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bits | 1 |
| CAPPED_DATA | 0 | &map->rb_node | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | map | unit_byte |
| LOCK2 | &fs_info->mapping_tree_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->mapping_tree_lock |
fs/btrfs/volumes.c btrfs_remove_chunk_map() -> btrfs_chunk_map_device_clear_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->rb_node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bits | 1 |
| CAPPED_DATA | 0 | &map->rb_node | 1 |
| DATA_SOURCE | 0 | map | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fs_info->mapping_tree_lock | ||
| HALF_LOCKED2 | &fs_info->chunk_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->mapping_tree_lock |
fs/btrfs/relocation.c btrfs_last_identity_remap_gone() -> btrfs_chunk_map_device_clear_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->start | 0-18446744073709551614 |
| PARAM_VALUE | 1 | bits | 1 |
| CAPPED_DATA | 0 | map->num_stripes | 1 |
| CAPPED_DATA | 0 | map->start | 1 |
| DATA_SOURCE | 0 | map | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &trans->fs_info->mapping_tree_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->mapping_tree_lock |