Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/btrfs/ctree.c
- fs/btrfs/extent_io.c, line 3412
- fs/btrfs/fiemap.c, line 351
- fs/btrfs/tree-log.c, line 4089
Smatch caller information:
fs/btrfs/tree-log.c clone_leaf() -> copy_extent_buffer_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 1-u64max |
| NOCHECK_CALL |
fs/btrfs/extent_io.c btrfs_clone_extent_buffer() -> copy_extent_buffer_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->folio_shift | 12 |
| PARAM_VALUE | 0 | dst->folio_size | 4096 |
| PARAM_VALUE | 0 | dst->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->fs_info->allocated_ebs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->fs_info->allocated_ebs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->fs_info->allocated_ebs.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->fs_info->eb_leak_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dst->leak_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->leak_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->lock.count.counter | 0 |
| PARAM_VALUE | 0 | dst->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dst->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | dst->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | dst->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | dst->refs.refs.counter | 1 |
| PARAM_VALUE | 0 | dst->writeback_inhibitors.counter | 0 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | src->fs_info | 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 |
| BUF_SIZE | 1 | src | (-1)-s32max |
| BUF_SIZE | 1 | src | (-1)-s32max |
| DATA_SOURCE | 0 | dst | r __alloc_extent_buffer |
| DATA_SOURCE | 1 | src | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dst->fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | dst->fs_info->sectorsize | |
| 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 | &fs_info->qgroup_rescan_lock | ||
| HALF_LOCKED2 | &inode->vfs_inode.i_rwsem | ||
| HALF_LOCKED2 | 1 | &src->lock |
fs/btrfs/ctree.c btrfs_copy_root() -> copy_extent_buffer_full()
| 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->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 | 1 | src->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | src->lock.first_waiter->type | 0-1 |
| 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 |
| DATA_SOURCE | 1 | src | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fs_info->reloc_mutex |
fs/btrfs/ctree.c btrfs_force_cow_block() -> copy_extent_buffer_full()
| 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->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 | 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 |
| BUF_SIZE | 0 | dst | (-1)-s32max |
| BUF_SIZE | 0 | dst | (-1)-s32max |
| BUF_SIZE | 1 | src | (-1)-s32max |
| BUF_SIZE | 1 | src | (-1)-s32max |
| CAPPED_DATA | 0 | dst | 1 |
| CAPPED_DATA | 1 | src | 1 |
| DATA_SOURCE | 0 | dst | r btrfs_alloc_tree_block |
| DATA_SOURCE | 1 | src | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | src->len | |
| NO_OVERFLOW_SIMPLE | 1 | src->start | |
| HALF_LOCKED2 | 1 | &src->lock |
fs/btrfs/fiemap.c fiemap_next_leaf_item() -> copy_extent_buffer_full()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| NOCHECK_CALL |