Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/inode.c btrfs_prune_dentries() -> btrfs_find_first_inode()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->anon_dev 0
PARAM_VALUE 0 root->root_item_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 min_ino 0
CAPPED_DATA 0 root 1
DATA_SOURCE 0 root $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock

fs/btrfs/inode.c btrfs_prune_dentries() -> btrfs_find_first_inode()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->anon_dev 0
PARAM_VALUE 0 root->root_item_lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 root 1
DATA_SOURCE 0 root $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock

fs/btrfs/relocation.c invalidate_extent_cache() -> btrfs_find_first_inode()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->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 root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->node->lock.dep_map->name 0-255
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->node->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 min_ino 0
BUF_SIZE 0 root (-1),2888
BUF_SIZE 0 root (-1),2888
CAPPED_DATA 0 root 1
DATA_SOURCE 0 root $0
UNITS 1 min_ino unit_byte

fs/btrfs/relocation.c replace_file_extents() -> btrfs_find_first_inode()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->fs_info 4096-ptr_max
PARAM_VALUE 0 root->fs_info->block_group_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->block_group_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->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 root->fs_info->chunk_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->chunk_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->dev_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->dev_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->flush_workers->thresh s32min-s32max
PARAM_VALUE 0 root->fs_info->quota_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->quota_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->reloc_ctl 4096-ptr_max
PARAM_VALUE 0 root->fs_info->reloc_ctl_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->fs_info->running_transaction 4096-ptr_max
PARAM_VALUE 0 root->fs_info->sb->s_cop->inode_info_offs 1632,1808,2632,2648,2704,2712
PARAM_VALUE 0 root->fs_info->stripe_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->stripe_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->reloc_root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->reloc_root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->root_key.objectid 0-18446744073709551607,18446744073709551609-u64max
BUF_SIZE 0 root (-1),2888
BUF_SIZE 0 root (-1),2888
CAPPED_DATA 0 root 1
DATA_SOURCE 0 root $2
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->disk_i_size
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->vfs_inode.i_bytes
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->vfs_inode.i_size
NO_OVERFLOW_SIMPLE 0 root->log_csum_range.inode->vfs_inode.i_bytes
NO_OVERFLOW_SIMPLE 0 root->node->start
UNITS 1 min_ino unit_byte
LOCK2 &leaf->lock
HALF_LOCKED2 &buf->lock
HALF_LOCKED2 &trans->fs_info->commit_root_sem
HALF_LOCKED2 &trans->fs_info->fs_devices->device_list_mutex
HALF_LOCKED2 &trans->fs_info->fs_roots_radix_lock
HALF_LOCKED2 &trans->fs_info->qgroup_ioctl_lock
HALF_LOCKED2 &trans->fs_info->qgroup_lock
HALF_LOCKED2 &trans->fs_info->unused_bg_unpin_mutex
HALF_LOCKED2 &trans->transaction->delayed_refs.lock
TYPE_LOCK (struct extent_buffer)->lock

fs/btrfs/relocation.c replace_file_extents() -> btrfs_find_first_inode()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->fs_info 4096-ptr_max
PARAM_VALUE 0 root->fs_info->block_group_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->block_group_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->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 root->fs_info->chunk_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->chunk_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->dev_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->dev_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->flush_workers->thresh s32min-s32max
PARAM_VALUE 0 root->fs_info->quota_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->quota_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->reloc_ctl 4096-ptr_max
PARAM_VALUE 0 root->fs_info->reloc_ctl_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 root->fs_info->running_transaction 4096-ptr_max
PARAM_VALUE 0 root->fs_info->sb->s_cop->inode_info_offs 1632,1808,2632,2648,2704,2712
PARAM_VALUE 0 root->fs_info->stripe_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->stripe_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->reloc_root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->reloc_root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->root_key.objectid 0-18446744073709551607,18446744073709551609-u64max
PARAM_VALUE 1 min_ino 1-u64max
BUF_SIZE 0 root (-1),2888
BUF_SIZE 0 root (-1),2888
CAPPED_DATA 0 root 1
DATA_SOURCE 0 root $2
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->disk_i_size
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->vfs_inode.i_bytes
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->vfs_inode.i_size
NO_OVERFLOW_SIMPLE 0 root->log_csum_range.inode->vfs_inode.i_bytes
NO_OVERFLOW_SIMPLE 0 root->node->start
UNITS 1 min_ino unit_byte
LOCK2 &leaf->lock
HALF_LOCKED2 &buf->lock
HALF_LOCKED2 &trans->fs_info->commit_root_sem
HALF_LOCKED2 &trans->fs_info->fs_devices->device_list_mutex
HALF_LOCKED2 &trans->fs_info->fs_roots_radix_lock
HALF_LOCKED2 &trans->fs_info->qgroup_ioctl_lock
HALF_LOCKED2 &trans->fs_info->qgroup_lock
HALF_LOCKED2 &trans->fs_info->unused_bg_unpin_mutex
HALF_LOCKED2 &trans->transaction->delayed_refs.lock
TYPE_LOCK (struct extent_buffer)->lock