Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/btrfs/qgroup.c btrfs_qgroup_trace_subtree() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->lock.first_waiter->type 0-1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->cleaner_mutex
LOCK2 &root_eb->lock
HALF_LOCKED2 &next->lock
HALF_LOCKED2 &node->lock
HALF_LOCKED2 0 &parent->lock
TYPE_LOCK (struct btrfs_fs_info)->cleaner_mutex
TYPE_LOCK (struct extent_buffer)->lock

fs/btrfs/qgroup.c qgroup_trace_extent_swap() -> btrfs_read_node_slot()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &eb->lock
HALF_LOCKED2 &trans->fs_info->chunk_mutex
HALF_LOCKED2 &trans->fs_info->commit_root_sem
HALF_LOCKED2 &trans->fs_info->fs_devices->device_list_mutex
HALF_LOCKED2 &trans->fs_info->fs_roots_radix_lock
HALF_LOCKED2 &trans->fs_info->qgroup_ioctl_lock
HALF_LOCKED2 &trans->fs_info->qgroup_lock
HALF_LOCKED2 &trans->fs_info->remap_mutex
HALF_LOCKED2 &trans->fs_info->unused_bg_unpin_mutex
HALF_LOCKED2 &trans->transaction->cache_write_mutex
HALF_LOCKED2 &trans->transaction->delayed_refs.lock

fs/btrfs/qgroup.c qgroup_trace_new_subtree_blocks() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &trans->fs_info->commit_root_sem
HALF_LOCKED2 &trans->fs_info->fs_devices->device_list_mutex
HALF_LOCKED2 &trans->fs_info->fs_roots_radix_lock
HALF_LOCKED2 &trans->fs_info->qgroup_ioctl_lock
HALF_LOCKED2 &trans->fs_info->qgroup_lock
HALF_LOCKED2 &trans->fs_info->unused_bg_unpin_mutex
HALF_LOCKED2 &trans->transaction->delayed_refs.lock

fs/btrfs/relocation.c do_relocation() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 parent->lock.first_waiter->type 0-1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fs_info->cleaner_mutex
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 &eb->lock
HALF_LOCKED2 &fs_info->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_fs_info)->cleaner_mutex
TYPE_LOCK (struct btrfs_fs_info)->reclaim_bgs_lock

fs/btrfs/relocation.c replace_path() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 parent->lock.first_waiter->type 0-1
PARAM_VALUE 0 parent->lock.osq.tail.counter 0-s32max
BUF_SIZE 0 parent (-1)-s32max
BUF_SIZE 0 parent (-1)-s32max
NO_OVERFLOW_SIMPLE 0 parent->len
NO_OVERFLOW_SIMPLE 0 parent->start
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 &eb->lock

fs/btrfs/relocation.c walk_down_reloc_tree() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 slot s32min-(-2),0-s32max

fs/btrfs/defrag.c btrfs_realloc_node() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 slot 1-s32max
CAPPED_DATA 1 slot 1
DATA_SOURCE 0 parent $2
CAPABLE 0 21

fs/btrfs/ref-verify.c walk_down_tree() -> btrfs_read_node_slot()

Type Parameter Key Value
HALF_LOCKED2 &eb->lock

fs/btrfs/ctree.c balance_level() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 1-u64max

fs/btrfs/ctree.c balance_level() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 slot 1
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 &left->lock

fs/btrfs/ctree.c btrfs_search_forward() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 0 parent->lock.dep_map->name 0-255
PARAM_VALUE 0 parent->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 parent->lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 parent->lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 parent->lock.first_waiter->type 0-1
PARAM_VALUE 1 slot s32min-(-2),0-s32max
CAPPED_DATA 0 parent 1
CAPPED_DATA 1 slot 1
HALF_LOCKED2 &inode->vfs_inode.i_rwsem
HALF_LOCKED2 0 &parent->lock

fs/btrfs/ctree.c promote_child_to_root() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 slot 0
DATA_SOURCE 0 parent $4

fs/btrfs/ctree.c push_leaf_left() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 1-u64max
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/ctree.c push_leaf_right() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 slot (-2147483647)-(-1)
CAPPED_DATA 1 slot 1
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/ctree.c push_nodes_for_insert() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 1-u64max

fs/btrfs/ctree.c push_nodes_for_insert() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 slot 1
HALF_LOCKED2 &cow->lock

fs/btrfs/send.c tree_move_down() -> btrfs_read_node_slot()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max