Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->block_rsv->failfast 0
PARAM_VALUE 0 trans->block_rsv->qgroup_rsv_reserved 0
PARAM_VALUE 0 trans->block_rsv->qgroup_rsv_size 0
PARAM_VALUE 0 trans->block_rsv->space_info 0,4096-ptr_max
PARAM_VALUE 0 trans->block_rsv->type 9
PARAM_VALUE 0 trans->fs_info->block_group_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->block_group_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->block_group_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 trans->fs_info->chunk_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->chunk_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->chunk_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->dev_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->dev_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->dev_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 trans->fs_info->quota_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->quota_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->quota_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 trans->fs_info->remap_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 trans->fs_info->stripe_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->stripe_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->stripe_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 trans->fs_info->uuid_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rc 4096-ptr_max
PARAM_VALUE 1 rc->backref_cache.fs_info->block_group_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->backref_cache.fs_info->chunk_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->backref_cache.fs_info->chunk_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->backref_cache.fs_info->dev_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->backref_cache.fs_info->dev_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->backref_cache.fs_info->quota_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->backref_cache.fs_info->quota_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->backref_cache.fs_info->stripe_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->backref_cache.fs_info->stripe_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->backref_cache.fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->backref_cache.fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->backref_cache.pending 4096-ptr_max
PARAM_VALUE 1 rc->backref_cache.pending_edge.next->next 4096-ptr_max
PARAM_VALUE 1 rc->backref_cache.pending_edge.prev->next 4096-ptr_max
PARAM_VALUE 1 rc->backref_cache.pending_edge.prev->prev 4096-ptr_max
PARAM_VALUE 1 rc->backref_cache.useless_node.next->next 4096-ptr_max
PARAM_VALUE 1 rc->backref_cache.useless_node.prev->next 4096-ptr_max
PARAM_VALUE 1 rc->backref_cache.useless_node.prev->prev 4096-ptr_max
PARAM_VALUE 1 rc->block_group 4096-ptr_max
PARAM_VALUE 1 rc->block_group->fs_info->discard_ctl.work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 rc->block_group->fs_info->discard_ctl.work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 rc->block_group->fs_info->discard_ctl.work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 rc->block_group->fs_info->ro_block_group_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 rc->block_group->fs_info->ro_block_group_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 rc->block_group->fs_info->sb->s_cop->inode_info_offs 1632,1808,2632,2648,2712
PARAM_VALUE 1 rc->block_group->io_ctl.inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->block_group->io_ctl.inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 rc->block_group->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 rc->block_group->space_info->groups_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->block_group->space_info->groups_sem.first_waiter->type 0-1
PARAM_VALUE 1 rc->block_rsv 4096-ptr_max
PARAM_VALUE 1 rc->block_rsv->failfast 0
PARAM_VALUE 1 rc->block_rsv->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 rc->block_rsv->qgroup_rsv_reserved 0
PARAM_VALUE 1 rc->block_rsv->qgroup_rsv_size 0
PARAM_VALUE 1 rc->block_rsv->space_info 0,4096-ptr_max
PARAM_VALUE 1 rc->block_rsv->space_info->fs_info->delalloc_roots.next->next 4096-ptr_max
PARAM_VALUE 1 rc->block_rsv->space_info->fs_info->delalloc_roots.prev->next 4096-ptr_max
PARAM_VALUE 1 rc->block_rsv->space_info->fs_info->delalloc_roots.prev->prev 4096-ptr_max
PARAM_VALUE 1 rc->block_rsv->space_info->tickets.prev->next 643370198843097104
PARAM_VALUE 1 rc->block_rsv->space_info->tickets.prev->next->next 4096-ptr_max
PARAM_VALUE 1 rc->block_rsv->type 9
PARAM_VALUE 1 rc->cluster.nr 0-128
PARAM_VALUE 1 rc->create_reloc_tree 1
PARAM_VALUE 1 rc->data_inode->i_mapping->host->i_op->get_offset_ctx 0,2606890545167454208
PARAM_VALUE 1 rc->data_inode->i_mapping->host->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 1 rc->data_inode->i_mapping->host->i_op->sync_lazytime 0,6951464784224747520
PARAM_VALUE 1 rc->data_inode->i_mapping->host->i_sb->s_cop->inode_info_offs 1632,1808,2632,2648,2704,2712
PARAM_VALUE 1 rc->data_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 rc->data_inode->i_mapping->host->i_sb->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->data_inode->i_mapping->host->i_sb->s_umount.first_waiter->type 0-1
PARAM_VALUE 1 rc->data_inode->i_mapping->invalidate_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->data_inode->i_mapping->invalidate_lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->dirty_subvol_roots.next->next 4096-ptr_max
PARAM_VALUE 1 rc->dirty_subvol_roots.prev->next 4096-ptr_max
PARAM_VALUE 1 rc->dirty_subvol_roots.prev->prev 4096-ptr_max
PARAM_VALUE 1 rc->extent_root 4096-ptr_max
PARAM_VALUE 1 rc->extent_root->fs_info->block_group_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->block_group_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->chunk_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->chunk_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->dev_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->dev_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->quota_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->quota_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->reloc_ctl->block_group 4096-ptr_max
PARAM_VALUE 1 rc->extent_root->fs_info->reloc_ctl->block_rsv 4096-ptr_max
PARAM_VALUE 1 rc->extent_root->fs_info->reloc_ctl->create_reloc_tree 1
PARAM_VALUE 1 rc->extent_root->fs_info->reloc_ctl->extent_root 4096-ptr_max
PARAM_VALUE 1 rc->extent_root->fs_info->reloc_ctl_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 rc->extent_root->fs_info->reloc_mutex.dep_map->name 0-255
PARAM_VALUE 1 rc->extent_root->fs_info->reloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 rc->extent_root->fs_info->reloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 rc->extent_root->fs_info->reloc_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 rc->extent_root->fs_info->reloc_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 rc->extent_root->fs_info->reloc_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 rc->extent_root->fs_info->remap_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->remap_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->stripe_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->stripe_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->uuid_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->extent_root->fs_info->uuid_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->extent_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->extent_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc->merging_rsv_size 0
PARAM_VALUE 1 rc->nodes_relocated 0
PARAM_VALUE 1 rc->reloc_roots.next->next 4096-ptr_max
PARAM_VALUE 1 rc->reloc_roots.prev->next 4096-ptr_max
PARAM_VALUE 1 rc->reloc_roots.prev->prev 4096-ptr_max
PARAM_VALUE 1 rc->search_start 1-u64max
PARAM_VALUE 2 node 4096-ptr_max
PARAM_VALUE 2 node->eb 4096-ptr_max
PARAM_VALUE 2 node->eb->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 2 node->eb->lock.first_waiter->type 0-1
PARAM_VALUE 2 node->list.next 4096-ptr_max
PARAM_VALUE 2 node->pending 1
PARAM_VALUE 3 key 3702667145525493760
PARAM_VALUE 4 path 1-u64max
PARAM_VALUE 4 *path->locks 0-255
PARAM_VALUE 4 *path->slots s32min-s32max
PARAM_VALUE 5 lowest 0
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 1 rc->backref_cache.fs_info (-1),128
BUF_SIZE 1 rc->data_inode (-1),1160
BUF_SIZE 1 rc->processed_blocks.fs_info (-1),128
CAPPED_DATA 1 rc->cluster.nr 1
DATA_SOURCE 0 trans $0
DATA_SOURCE 1 rc $1
DATA_SOURCE 2 node $2
DATA_SOURCE 4 path $3
MEM_ZERO 1 &rc->cluster
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 trans->transaction->dirty_pages.inode->vfs_inode.i_bytes
NO_OVERFLOW_SIMPLE 0 trans->transaction->pinned_extents.inode->vfs_inode.i_bytes
LOCK2 &fs_info->cleaner_mutex
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 relocate_tree_block() -> do_relocation()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->block_rsv 4096-ptr_max
PARAM_VALUE 0 trans->block_rsv->failfast 0
PARAM_VALUE 0 trans->block_rsv->qgroup_rsv_reserved 0
PARAM_VALUE 0 trans->block_rsv->qgroup_rsv_size 0
PARAM_VALUE 0 trans->block_rsv->space_info 0,4096-ptr_max
PARAM_VALUE 0 trans->block_rsv->type 9
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->global_root_lock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 rc 4096-ptr_max
PARAM_VALUE 1 rc->backref_cache.rb_root.rb_node 4096-ptr_max
PARAM_VALUE 1 rc->backref_cache.useless_node.next 4096-ptr_max
PARAM_VALUE 1 rc->block_rsv->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 rc->block_rsv->space_info->clamp s32min-8
PARAM_VALUE 1 rc->block_rsv->space_info->flush 1
PARAM_VALUE 1 rc->block_rsv->space_info->fs_info->delalloc_bytes.lock.dep_map->name 0-255
PARAM_VALUE 1 rc->block_rsv->space_info->fs_info->delalloc_root_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 rc->block_rsv->space_info->fs_info->delalloc_roots.next 4096-ptr_max
PARAM_VALUE 1 rc->block_rsv->space_info->fs_info->delalloc_roots.prev 4096-ptr_max
PARAM_VALUE 1 rc->block_rsv->space_info->fs_info->ordered_bytes.lock.dep_map->name 0-255
PARAM_VALUE 1 rc->block_rsv->space_info->fs_info->ordered_operations_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 rc->block_rsv->space_info->fs_info->ordered_roots.next 4096-ptr_max
PARAM_VALUE 1 rc->block_rsv->space_info->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 rc->extent_root 4096-ptr_max
PARAM_VALUE 1 rc->extent_root->fs_info->reloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 2 node 4096-ptr_max
PARAM_VALUE 2 node->eb->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 2 node->eb->lock.first_waiter->type 0-1
PARAM_VALUE 2 node->list.next->next 4096-ptr_max
PARAM_VALUE 2 node->list.prev->next 4096-ptr_max
PARAM_VALUE 2 node->list.prev->prev 4096-ptr_max
PARAM_VALUE 2 node->lower.next->next 4096-ptr_max
PARAM_VALUE 2 node->lower.prev->next 4096-ptr_max
PARAM_VALUE 2 node->lower.prev->prev 4096-ptr_max
PARAM_VALUE 2 node->processed 0
PARAM_VALUE 2 node->upper.next->next 4096-ptr_max
PARAM_VALUE 2 node->upper.prev->next 4096-ptr_max
PARAM_VALUE 2 node->upper.prev->prev 4096-ptr_max
PARAM_VALUE 3 key 40,4096-ptr_max
PARAM_VALUE 4 path 1-u64max
PARAM_VALUE 5 lowest 1
BUF_SIZE 2 node (-1),120
BUF_SIZE 2 node (-1),120
CAPPED_DATA 2 node 1
DATA_SOURCE 0 trans $0
DATA_SOURCE 1 rc $1
DATA_SOURCE 2 node $2
DATA_SOURCE 3 key $3
DATA_SOURCE 4 path $4