Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

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.path 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->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 1 rc->block_group->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 rc->block_group->fs_info->tree_root->node->lock.first_waiter->type 0-1
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->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->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,1640,1808,1816,2632,2640,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 2 node->eb->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 2 node->eb->lock.first_waiter->type 0-1
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 1 rc->backref_cache.fs_info (-1),64,128,280,1024
BUF_SIZE 1 rc->data_inode (-1),1160
BUF_SIZE 1 rc->processed_blocks.fs_info (-1),64,128,280,1024
BUF_SIZE 3 edges 56
CAPPED_DATA 1 rc->cluster.nr 1
DATA_SOURCE 0 trans $0
DATA_SOURCE 1 rc $1
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
NO_OVERFLOW_SIMPLE 1 rc->data_inode->disk_i_size
NO_OVERFLOW_SIMPLE 1 rc->data_inode->file_extent_tree->inode->vfs_inode.i_bytes
NO_OVERFLOW_SIMPLE 1 rc->data_inode->vfs_inode.i_bytes
NO_OVERFLOW_SIMPLE 1 rc->data_inode->vfs_inode.i_size
NO_OVERFLOW_SIMPLE 1 rc->processed_blocks.inode->vfs_inode.i_bytes
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