Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/transaction.c switch_commit_roots() -> btrfs_drop_and_free_fs_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->commit_root_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->commit_root_sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | fs_info->commit_root_sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->commit_root_sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->commit_root_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->commit_root_sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->commit_root_sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->tree_root | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | root->log_root | 0 |
| CAPPED_DATA | 0 | &fs_info->commit_root_sem | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &cow->lock | ||
| LOCK2 | &fs_info->reloc_mutex | ||
| LOCK2 | 0 | &fs_info->commit_root_sem | |
| HALF_LOCKED2 | &dev_replace->lock_finishing_cancel_unmount | ||
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &fs_info->subvol_sem | ||
| HALF_LOCKED2 | &fs_info->transaction_kthread_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->commit_root_sem | ||
| TYPE_LOCK | (struct btrfs_fs_info)->reloc_mutex |
fs/btrfs/disk-io.c btrfs_free_fs_roots() -> btrfs_drop_and_free_fs_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->block_group_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->block_group_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->block_group_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | 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 | fs_info->chunk_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->chunk_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->chunk_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->chunk_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->cleanup_work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->cleanup_work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->dev_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->dev_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->dev_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->dev_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->fs_root->fs_info->sb->s_cop->empty_dir | 0,86,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_root->fs_info->sb->s_cop->get_context | 0,706,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_root->fs_info->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | fs_info->fs_root->fs_info->sb->s_cop->set_context | 0,67,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->qgroup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->qgroup_tree.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->qgroups_kobj | 0 |
| PARAM_VALUE | 0 | fs_info->quota_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->quota_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->quota_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->quota_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->remap_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->remap_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->remap_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->remap_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | fs_info->stripe_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->stripe_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->stripe_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->stripe_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->tree_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->tree_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->uuid_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->uuid_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->uuid_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->uuid_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->uuid_tree_rescan_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| BUF_SIZE | 0 | fs_info | (-1),1-s32max |
| BUF_SIZE | 0 | fs_info | (-1),1-s32max |
| BUF_SIZE | 0 | fs_info->stripe_root | (-1),2888 |
| CAPPED_DATA | 0 | &fs_info->dead_roots | 1 |
| DATA_SOURCE | 0 | fs_info | $0 |
| PARAM_COMPARE | 0 | &fs_info->dead_roots | != $0->dead_roots.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fs_info->fs_error | |
| NO_OVERFLOW_SIMPLE | 0 | fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | fs_info->sectorsize | |
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/disk-io.c btrfs_free_fs_roots() -> btrfs_drop_and_free_fs_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->block_group_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->block_group_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->block_group_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | 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 | fs_info->chunk_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->chunk_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->chunk_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->chunk_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->cleanup_work_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->cleanup_work_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->dev_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->dev_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->dev_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->dev_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->fs_root->fs_info->sb->s_cop->empty_dir | 0,86,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_root->fs_info->sb->s_cop->get_context | 0,706,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_root->fs_info->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | fs_info->fs_root->fs_info->sb->s_cop->set_context | 0,67,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->qgroup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->qgroup_tree.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->qgroups_kobj | 0 |
| PARAM_VALUE | 0 | fs_info->quota_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->quota_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->quota_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->quota_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->remap_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->remap_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->remap_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->remap_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | fs_info->stripe_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->stripe_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->stripe_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->stripe_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->tree_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->tree_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->uuid_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->uuid_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->uuid_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->uuid_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->uuid_tree_rescan_sem.first_waiter->up | 0-1 |
| BUF_SIZE | 0 | fs_info | (-1),1-s32max |
| BUF_SIZE | 0 | fs_info | (-1),1-s32max |
| BUF_SIZE | 0 | fs_info->stripe_root | (-1),2888 |
| CAPPED_DATA | 0 | &fs_info->dead_roots | 1 |
| DATA_SOURCE | 0 | fs_info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fs_info->fs_error | |
| NO_OVERFLOW_SIMPLE | 0 | fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | fs_info->sectorsize | |
| UNITS | 0 | fs_info | unit_byte |