Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

fs/btrfs/tree-log.c clone_leaf() -> btrfs_clone_extent_buffer()

Type Parameter Key Value

fs/btrfs/qgroup.c qgroup_rescan_leaf() -> btrfs_clone_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
LOCK2 &fs_info->qgroup_rescan_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btrfs_fs_info)->qgroup_rescan_lock

fs/btrfs/tree-mod-log.c btrfs_get_old_root() -> btrfs_clone_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 0 src->fs_info->dev_replace.bio_counter.lock.owner (-1)
PARAM_VALUE 0 src->fs_info->dev_replace.bio_counter.lock.owner_cpu u32max
PARAM_VALUE 0 src->fs_info->dev_replace.replace_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 src->fs_info->dev_replace.replace_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 src->fs_info->mapping_tree_lock.dep_map->name 0-255
PARAM_VALUE 0 src->fs_info->stripe_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 src->fs_info->stripe_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 src->lock.dep_map->name 0-255
PARAM_VALUE 0 src->lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 src->lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 src->lock.first_waiter->type 0-1
CAPPED_DATA 0 src 1
DATA_SOURCE 0 src r read_tree_block
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &src->lock
TYPE_LOCK (struct extent_buffer)->lock

fs/btrfs/tree-mod-log.c btrfs_get_old_root() -> btrfs_clone_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 0 src->fs_info->tree_mod_log_lock.dep_map->name 0-255
PARAM_VALUE 0 src->lock.dep_map->name 0-255
PARAM_VALUE 0 src->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 src->lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 src->lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 src->lock.first_waiter->type 0-1
PARAM_VALUE 0 src->refs.refs.counter (-1073741824),0-s32max
CAPPED_DATA 0 src 1
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/tree-mod-log.c btrfs_tree_mod_log_rewind() -> btrfs_clone_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 0 src->fs_info->eb_leak_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 src->lock.dep_map->name 0-255
PARAM_VALUE 0 src->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 src->lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 src->lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 src->lock.first_waiter->type 0-1
CAPPED_DATA 0 src->start 1
DATA_SOURCE 0 src $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 src->len
NO_OVERFLOW_SIMPLE 0 src->start
LOCK2 0 &src->lock
TYPE_LOCK (struct extent_buffer)->lock

fs/btrfs/ctree.c finish_need_commit_sem_search() -> btrfs_clone_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &caching_ctl->mutex
HALF_LOCKED2 &fs_info->commit_root_sem
HALF_LOCKED2 &next->lock
HALF_LOCKED2 &pool->lock

fs/btrfs/fiemap.c fiemap_search_slot() -> btrfs_clone_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
LOCK2 &inode->vfs_inode.i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/backref.c iterate_inode_extrefs() -> btrfs_clone_extent_buffer()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/backref.c iterate_inode_refs() -> btrfs_clone_extent_buffer()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/send.c replace_node_with_clone() -> btrfs_clone_extent_buffer()

Type Parameter Key Value