Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/btrfs/ioctl.c, line 940
- fs/btrfs/ordered-data.c, line 847
- fs/btrfs/qgroup.c, line 4234
- fs/btrfs/send.c
Smatch caller information:
fs/btrfs/ordered-data.c btrfs_wait_ordered_roots() -> btrfs_wait_ordered_extents()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->ordered_root.next | 4096-ptr_max |
| PARAM_VALUE | 0 | root->refs.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | nr | 1-u64max |
| PARAM_VALUE | 2 | bg | 0,4096-ptr_max |
| PARAM_VALUE | 2 | bg->fs_info | 4096-ptr_max |
| PARAM_VALUE | 2 | bg->fs_info->ro_block_group_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | bg->fs_info->ro_block_group_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | bg->fs_info->ro_block_group_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 2 | bg->fs_info->ro_block_group_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | bg->fs_info->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 2 | bg->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | bg->ro | 1-u32max |
| PARAM_VALUE | 2 | bg->space_info->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | bg->swap_extents | 0 |
| DATA_SOURCE | 1 | nr | $1 |
| DATA_SOURCE | 2 | bg | $2 |
| PARAM_COMPARE | 0 | root | == $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_info->ordered_operations_mutex | ||
| 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 | ||
| TYPE_LOCK | (struct btrfs_fs_info)->ordered_operations_mutex |
fs/btrfs/qgroup.c try_flush_qgroup() -> btrfs_wait_ordered_extents()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->delalloc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->delalloc_mutex.osq.tail.counter | 0-s32max |
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->fs_error | 0 |
| PARAM_VALUE | 0 | root->fs_info->log_root_tree->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | root->fs_info->log_root_tree->node->lock.first_waiter->type | 0-1 |
| 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->remap_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | root->fs_info->remap_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | root->fs_info->sb->s_cop->empty_dir | 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | root->fs_info->sb->s_cop->get_context | 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | root->fs_info->sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | root->fs_info->sb->s_cop->set_context | 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| 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->subvol_sem.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->fs_info->uuid_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | root->fs_info->uuid_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | root->log_root->fs_info->log_root_tree->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | root->log_root->fs_info->log_root_tree->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->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | root->reloc_root->fs_info->commit_root_sem.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->reloc_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | root->reloc_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | nr | u64max |
| PARAM_VALUE | 2 | bg | 0 |
| BUF_SIZE | 0 | root | (-1),2888 |
| BUF_SIZE | 0 | root | (-1),2888 |
| DATA_SOURCE | 0 | root | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
fs/btrfs/ioctl.c btrfs_mksnapshot() -> btrfs_wait_ordered_extents()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->delalloc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->delalloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->flush_workers | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->fs_error | 0 |
| PARAM_VALUE | 1 | nr | u64max |
| PARAM_VALUE | 2 | bg | 0 |
| DATA_SOURCE | 0 | root | $3 |
| NOCHECK_CALL |
fs/btrfs/send.c flush_delalloc_roots() -> btrfs_wait_ordered_extents()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->delalloc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->delalloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->flush_workers | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->fs_error | 0 |
| PARAM_VALUE | 1 | nr | u64max |
| PARAM_VALUE | 2 | bg | 0 |
| NOCHECK_CALL |
fs/btrfs/send.c flush_delalloc_roots() -> btrfs_wait_ordered_extents()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | root | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_inodes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->delalloc_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->delalloc_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->delalloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | root->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->flush_workers | 4096-ptr_max |
| PARAM_VALUE | 0 | root->fs_info->fs_error | 0 |
| PARAM_VALUE | 0 | root->ordered_extent_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->ordered_extent_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | root->ordered_extent_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | root->ordered_extent_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | root->ordered_extents.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | nr | u64max |
| PARAM_VALUE | 2 | bg | 0 |
| NOCHECK_CALL |