Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/tree-log.c copy_items() -> copy_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 dst_offset 101-4294967396
PARAM_VALUE 3 src_offset 101-4294967396
PARAM_VALUE 4 len 0-u32max
NOCHECK_CALL

fs/btrfs/tree-log.c flush_dir_items_batch() -> copy_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 dst_offset 101-4294967396
PARAM_VALUE 3 src_offset 101-4294967396
DATA_SOURCE 1 src $2
NOCHECK_CALL
UNITS 4 len unit_byte

fs/btrfs/tree-log.c overwrite_item() -> copy_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 dst_offset 101-4294967396
PARAM_VALUE 3 src_offset 101-4294967396
DATA_SOURCE 4 len r btrfs_item_size
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 dst_offset

fs/btrfs/tree-log.c replay_one_extent() -> copy_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 dst_offset 101-4294967396
PARAM_VALUE 3 src_offset 101-4294967396
PARAM_VALUE 4 len 53
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 3 src_offset
UNITS 4 len unit_byte

fs/btrfs/ctree.c balance_node_right() -> copy_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->fs_info 4096-ptr_max
PARAM_VALUE 0 dst->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 dst->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dst->lock.first_waiter->type 0-1
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 1 src->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 1 src->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 src->lock.first_waiter->type 0-1
PARAM_VALUE 2 dst_offset 101
PARAM_VALUE 3 src_offset 134-70866960419
PARAM_VALUE 4 len 33-35433480192
CAPPED_DATA 4 len 1
DATA_SOURCE 0 dst $1
DATA_SOURCE 1 src $2
BIT_INFO 2 dst_offset 0x65,0x65
BIT_INFO 3 src_offset 0x0,0x1fffffffff
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 dst->len
NO_OVERFLOW_SIMPLE 0 dst->start
NO_OVERFLOW_SIMPLE 1 src->len
NO_OVERFLOW_SIMPLE 1 src->start
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 0 &dst->lock
HALF_LOCKED2 1 &src->lock

fs/btrfs/ctree.c copy_leaf_data() -> copy_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 dst->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dst->lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 dst->lock.first_waiter->type 0-1
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 1 src->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 2 dst_offset 101-4294967396
PARAM_VALUE 3 src_offset 101-4294967396
PARAM_VALUE 4 len 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 dst (-1),1-s32max
BUF_SIZE 0 dst (-1),1-s32max
CAPPED_DATA 0 dst 1
DATA_SOURCE 0 dst $0
DATA_SOURCE 1 src $1
DATA_SOURCE 4 len $4
BIT_INFO 2 dst_offset 0x0,0x1ffffffff
BIT_INFO 3 src_offset 0x0,0x1ffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 dst->len
NO_OVERFLOW_SIMPLE 0 dst->start
UNITS 2 dst_offset unit_byte
UNITS 4 len unit_byte
LOCK2 0 &dst->lock
TYPE_LOCK (struct extent_buffer)->lock

fs/btrfs/ctree.c copy_leaf_items() -> copy_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 dst->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dst->lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 dst->lock.first_waiter->type 0-1
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 1 src->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
BUF_SIZE 0 dst (-1),1-s32max
BUF_SIZE 0 dst (-1),1-s32max
CAPPED_DATA 0 dst 1
DATA_SOURCE 0 dst $0
DATA_SOURCE 1 src $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 dst->len
NO_OVERFLOW_SIMPLE 0 dst->start
LOCK2 0 &dst->lock
TYPE_LOCK (struct extent_buffer)->lock

fs/btrfs/ctree.c push_node_left() -> copy_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->fs_info 4096-ptr_max
PARAM_VALUE 0 dst->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 dst->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dst->lock.first_waiter->type 0-1
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 1 src->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 1 src->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 src->lock.first_waiter->type 0-1
PARAM_VALUE 3 src_offset 101
DATA_SOURCE 0 dst $1
DATA_SOURCE 1 src $2
BIT_INFO 3 src_offset 0x65,0x65
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 dst->len
NO_OVERFLOW_SIMPLE 0 dst->start
NO_OVERFLOW_SIMPLE 1 src->len
NO_OVERFLOW_SIMPLE 1 src->start
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 0 &dst->lock
HALF_LOCKED2 1 &src->lock

fs/btrfs/ctree.c split_node() -> copy_extent_buffer()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->fs_info 4096-ptr_max
PARAM_VALUE 0 dst->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 dst->lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 dst->lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 dst->lock.first_waiter->type 0-1
PARAM_VALUE 0 dst->log_index (-1)-1
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 dst_offset 101
BUF_SIZE 0 dst (-1)-s32max
BUF_SIZE 0 dst (-1)-s32max
CAPPED_DATA 0 dst 1
DATA_SOURCE 0 dst r btrfs_alloc_tree_block
BIT_INFO 2 dst_offset 0x65,0x65
NOCHECK_CALL