Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/btrfs/block-group.c, line 3178
- fs/btrfs/disk-io.c, line 4999
- fs/btrfs/ioctl.c, line 3054
- fs/btrfs/transaction.c, line 904
Smatch caller information:
fs/btrfs/block-group.c btrfs_inc_block_group_ro() -> btrfs_wait_for_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->ro_block_group_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->ro_block_group_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->ro_block_group_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->ro_block_group_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| CAPPED_DATA | 0 | &fs_info->ro_block_group_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/transaction.c btrfs_attach_transaction_barrier() -> btrfs_wait_for_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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->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->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | 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->log_root_tree->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->log_root_tree->node->lock.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->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->empty_dir | 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | fs_info->sb->s_cop->get_context | 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | fs_info->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | fs_info->sb->s_cop->set_context | 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| 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->subvol_sem.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->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->uuid_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | transid | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/disk-io.c btrfs_cleanup_transaction() -> btrfs_wait_for_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->cleaner_kthread | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_error | s32min-(-1),1-s32max |
| 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->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | fs_info->trans_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->transaction_kthread_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->transaction_kthread_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->transaction_kthread_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->transaction_kthread_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->transaction_kthread_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->transaction_kthread_mutex.wait_lock.owner_cpu | u32max |
| 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 |
| CAPPED_DATA | 0 | fs_info->cleaner_kthread | 1 |
| CAPPED_DATA | 0 | &fs_info->trans_list | 1 |
| CAPPED_DATA | 0 | &fs_info->transaction_kthread_mutex | 1 |
| DATA_SOURCE | 0 | fs_info | $0 |
| PARAM_COMPARE | 0 | &fs_info->trans_list | != $0->trans_list.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fs_info->fs_error | |
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | 0 | &fs_info->transaction_kthread_mutex | |
| TYPE_LOCK | (struct btrfs_fs_info)->transaction_kthread_mutex |
fs/btrfs/ioctl.c btrfs_ioctl_wait_sync() -> btrfs_wait_for_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | fs_info | $0 |
| USER_DATA | 1 | transid | 0-u64max |
| UNITS | 0 | fs_info | unit_byte |