Defined in 1 files as a variable:

Defined in 17 files as a member:

Defined in 1 files as a function:

Referenced in 107 files:

Smatch caller information:

fs/btrfs/extent-io-tree.c btrfs_count_range_bits() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
CAPPED_DATA 0 state->start 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tree->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c btrfs_find_contiguous_extent_bit() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->lock
LOCK2 &tree->lock
TYPE_LOCK (struct btrfs_inode)->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c btrfs_find_contiguous_extent_bit() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
CAPPED_DATA 0 state->start 1
DATA_SOURCE 0 state r next_state
PARAM_COMPARE 0 &state->rb_node != $0->rb_node.__rb_parent_color
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->lock
LOCK2 &tree->lock
TYPE_LOCK (struct btrfs_inode)->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c btrfs_find_delalloc_range() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
BIT_INFO 0 state->state 0x20,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tree->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c btrfs_find_first_clear_extent_bit() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PREEMPT_ADD <- disables preempt
LOCK2 &tree->lock
HALF_LOCKED2 &fs_devices->device_list_mutex
HALF_LOCKED2 &fs_info->chunk_mutex
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c btrfs_find_first_extent_bit() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tree->lock
HALF_LOCKED2 &dev_replace->lock_finishing_cancel_unmount
HALF_LOCKED2 &dev_replace->rwsem
HALF_LOCKED2 &fs_devices->device_list_mutex
HALF_LOCKED2 &fs_info->chunk_mutex
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c btrfs_find_first_extent_bit() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
DATA_SOURCE 0 state r next_state
PARAM_COMPARE 0 &state->rb_node != $0->rb_node.__rb_parent_color
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tree->lock
HALF_LOCKED2 &dev_replace->lock_finishing_cancel_unmount
HALF_LOCKED2 &dev_replace->rwsem
HALF_LOCKED2 &fs_devices->device_list_mutex
HALF_LOCKED2 &fs_info->chunk_mutex
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c btrfs_get_range_bits() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
CAPPED_DATA 0 state->end 1
CAPPED_DATA 0 state->start 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tree->lock
HALF_LOCKED2 &folio->private->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c btrfs_next_extent_state() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
DATA_SOURCE 0 state $1
PREEMPT_ADD <- disables preempt
LOCK2 &fs_info->unused_bg_unpin_mutex
LOCK2 &tree->lock
TYPE_LOCK (struct btrfs_fs_info)->unused_bg_unpin_mutex
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c btrfs_test_range_bit() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
CAPPED_DATA 0 state->end 1
CAPPED_DATA 0 state->start 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tree->lock
HALF_LOCKED2 &fs_info->cleaner_mutex
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c btrfs_test_range_bit_exists() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
CAPPED_DATA 0 state->end 1
CAPPED_DATA 0 state->start 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tree->lock
HALF_LOCKED2 &extent_tree->lock
HALF_LOCKED2 &inode->vfs_inode.i_rwsem
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c find_first_extent_bit_state() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tree->lock
HALF_LOCKED2 &inode->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c merge_next_state() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
DATA_SOURCE 0 state $1
NOSPEC 0 state->end
NOSPEC 0 state->start
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 state->end 0-18446744073709551613,u64max
USER_DATA 0 state->start 0-u64max
LOCK2 &tree->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c next_search_state() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
CAPPED_DATA 0 state 1
CAPPED_DATA 0 state->end 1
DATA_SOURCE 0 state $0
NOSPEC 0 state->end
NOSPEC 0 state->start
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 state->end 0-18446744073709551613[c]
USER_DATA 0 state->start 0-u64max[c]
LOCK2 &tree->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c set_extent_bit() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
NOSPEC 0 state->end
NOSPEC 0 state->start
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 state->end 1-9223372036854775807,u64max[c][u]
USER_DATA 0 state->start 0-u64max[c]
LOCK2 &tree->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c set_extent_bit() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
NOSPEC 0 state->end
NOSPEC 0 state->start
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 state->end 1-9223372036854775807,u64max[c][u]
USER_DATA 0 state->start 1-u64max[c]
LOCK2 &tree->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c tree_search_for_insert() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
CAPPED_DATA 0 state->end 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tree->lock
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c tree_search_prev_next() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
CAPPED_DATA 0 state->end 1
PREEMPT_ADD
LOCK2 &tree->lock
HALF_LOCKED2 &fs_devices->device_list_mutex
HALF_LOCKED2 &fs_info->chunk_mutex
TYPE_LOCK (struct extent_io_tree)->lock

fs/btrfs/extent-io-tree.c wait_extent_bit() -> next_state()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
CAPPED_DATA 0 state->start 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tree->lock
HALF_LOCKED2 &fs_info->cleaner_mutex
HALF_LOCKED2 &inode->vfs_inode.i_rwsem
TYPE_LOCK (struct extent_io_tree)->lock