Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/extent-io-tree.c btrfs_convert_extent_bit() -> set_state_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 2 | bits | 1024 |
| PARAM_VALUE | 3 | changeset | 0 |
| BUF_SIZE | 0 | tree | (-1),96 |
| BUF_SIZE | 0 | tree | (-1),96 |
| CAPPED_DATA | 1 | state->end | 1 |
| CAPPED_DATA | 1 | state->start | 1 |
| DATA_SOURCE | 0 | tree | $0 |
| DATA_SOURCE | 2 | bits | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &tree->lock | |
| HALF_LOCKED2 | &log_root_tree->log_mutex | ||
| HALF_LOCKED2 | &root->log_mutex | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c btrfs_convert_extent_bit() -> set_state_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tree->owner | 0-2,4-255 |
| PARAM_VALUE | 0 | tree->state.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->start | 1-u64max |
| PARAM_VALUE | 2 | bits | 1024 |
| PARAM_VALUE | 3 | changeset | 0 |
| BUF_SIZE | 0 | tree | (-1),96 |
| BUF_SIZE | 0 | tree | (-1),96 |
| CAPPED_DATA | 1 | state->end | 1 |
| DATA_SOURCE | 0 | tree | $0 |
| DATA_SOURCE | 2 | bits | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &tree->lock | |
| HALF_LOCKED2 | &log_root_tree->log_mutex | ||
| HALF_LOCKED2 | &root->log_mutex | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c btrfs_convert_extent_bit() -> set_state_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tree->owner | 0-2,4-255 |
| PARAM_VALUE | 0 | tree->state.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->rb_node.__rb_parent_color | 1 |
| PARAM_VALUE | 1 | state->rb_node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 1 | state->rb_node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 1 | state->start | 0-18446744073709551614 |
| PARAM_VALUE | 2 | bits | 1024 |
| PARAM_VALUE | 3 | changeset | 0 |
| BUF_SIZE | 0 | tree | (-1),96 |
| BUF_SIZE | 0 | tree | (-1),96 |
| DATA_SOURCE | 0 | tree | $0 |
| DATA_SOURCE | 1 | state | r alloc_extent_state_atomic |
| DATA_SOURCE | 2 | bits | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &tree->lock | |
| HALF_LOCKED2 | &log_root_tree->log_mutex | ||
| HALF_LOCKED2 | &root->log_mutex | ||
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c insert_state() -> set_state_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tree->owner | 0-2,4-255 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->end | 0-18446744073709551614 |
| PARAM_VALUE | 1 | state->start | 0-18446744073709551614 |
| PARAM_VALUE | 2 | bits | 0-1,1024 |
| PARAM_VALUE | 3 | changeset | 0,4096-ptr_max |
| BUF_SIZE | 0 | tree->fs_info | (-1),11312 |
| BUF_SIZE | 3 | changeset | (-1),48 |
| BUF_SIZE | 3 | changeset | (-1),48 |
| CAPPED_DATA | 1 | state->end | 1 |
| CAPPED_DATA | 1 | state->start | 1 |
| DATA_SOURCE | 0 | tree | $0 |
| DATA_SOURCE | 1 | state | $1 |
| DATA_SOURCE | 2 | bits | $2 |
| DATA_SOURCE | 3 | changeset | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | state->end | 0-18446744073709551613[c] |
| USER_DATA | 1 | state->start | 0-18446744073709551614[c] |
| NO_OVERFLOW_SIMPLE | 0 | tree->inode->vfs_inode.i_bytes | |
| LOCK2 | 0 | &tree->lock | |
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c insert_state_fast() -> set_state_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tree->owner | 0-2,4-255 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 2 | bits | 0-1,1024 |
| PARAM_VALUE | 3 | changeset | 0,4096-ptr_max |
| BUF_SIZE | 0 | tree->fs_info | (-1),11312 |
| BUF_SIZE | 3 | changeset | (-1),48 |
| BUF_SIZE | 3 | changeset | (-1),48 |
| DATA_SOURCE | 0 | tree | $0 |
| DATA_SOURCE | 1 | state | $1 |
| DATA_SOURCE | 2 | bits | $4 |
| DATA_SOURCE | 3 | changeset | $5 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | state->end | 0-9223372041149743101,u64max[u] |
| USER_DATA | 1 | state->start | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | tree->inode->vfs_inode.i_bytes | |
| LOCK2 | 0 | &tree->lock | |
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c set_extent_bit() -> set_state_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 2 | bits | 0-1 |
| PARAM_VALUE | 3 | changeset | 0,4096-ptr_max |
| BUF_SIZE | 0 | tree | (-1),96 |
| BUF_SIZE | 0 | tree | (-1),96 |
| BUF_SIZE | 3 | changeset | (-1),48 |
| BUF_SIZE | 3 | changeset | (-1),48 |
| CAPPED_DATA | 1 | state->end | 1 |
| CAPPED_DATA | 1 | state->start | 1 |
| DATA_SOURCE | 0 | tree | $0 |
| DATA_SOURCE | 2 | bits | $3 [m] |
| DATA_SOURCE | 3 | changeset | $7 |
| NOSPEC | 1 | state->start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | state->end | 1-9223372036854775807,u64max[u] |
| USER_DATA | 1 | state->start | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->sectorsize | |
| LOCK2 | 0 | &tree->lock | |
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c set_extent_bit() -> set_state_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tree->owner | 0-2,4-255 |
| PARAM_VALUE | 0 | tree->state.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->start | 1-u64max |
| PARAM_VALUE | 2 | bits | 0-1 |
| PARAM_VALUE | 3 | changeset | 0,4096-ptr_max |
| BUF_SIZE | 0 | tree | (-1),96 |
| BUF_SIZE | 0 | tree | (-1),96 |
| BUF_SIZE | 3 | changeset | (-1),48 |
| BUF_SIZE | 3 | changeset | (-1),48 |
| CAPPED_DATA | 1 | state->end | 1 |
| DATA_SOURCE | 0 | tree | $0 |
| DATA_SOURCE | 2 | bits | $3 [m] |
| DATA_SOURCE | 3 | changeset | $7 |
| NOSPEC | 1 | state->start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | state->end | 1-9223372036854775807,u64max[u] |
| USER_DATA | 1 | state->start | 1-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->sectorsize | |
| LOCK2 | 0 | &tree->lock | |
| TYPE_LOCK | (struct extent_io_tree)->lock |
fs/btrfs/extent-io-tree.c set_extent_bit() -> set_state_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tree->owner | 0-2,4-255 |
| PARAM_VALUE | 0 | tree->state.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->rb_node.__rb_parent_color | 1 |
| PARAM_VALUE | 1 | state->rb_node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 1 | state->rb_node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 1 | state->start | 0-18446744073709551614 |
| PARAM_VALUE | 2 | bits | 0-1 |
| PARAM_VALUE | 3 | changeset | 0,4096-ptr_max |
| BUF_SIZE | 0 | tree | (-1),96 |
| BUF_SIZE | 0 | tree | (-1),96 |
| BUF_SIZE | 3 | changeset | (-1),48 |
| BUF_SIZE | 3 | changeset | (-1),48 |
| DATA_SOURCE | 0 | tree | $0 |
| DATA_SOURCE | 1 | state | r alloc_extent_state_atomic |
| DATA_SOURCE | 2 | bits | $3 [m] |
| DATA_SOURCE | 3 | changeset | $7 |
| NOSPEC | 1 | state->start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | state->start | 0-18446744073709551614[c] |
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | tree->fs_info->sectorsize | |
| LOCK2 | 0 | &tree->lock | |
| TYPE_LOCK | (struct extent_io_tree)->lock |