Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/btrfs/ordered-data.c btrfs_wait_ordered_range() -> btrfs_fdatawrite_range()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 inode->i_mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 inode->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 inode->root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 inode->root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 inode->root->fs_info->log_root_tree->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 inode->root->fs_info->log_root_tree->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 inode->root->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 0 inode->root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 inode->root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 inode->vfs_inode.i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 inode->vfs_inode.i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 inode->vfs_inode.i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 inode->vfs_inode.i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 end 0-s64max
DATA_SOURCE 0 inode $0
DATA_SOURCE 1 start $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start 0-s64max
NO_OVERFLOW_SIMPLE 0 inode->i_size
UNITS 1 start unit_byte
UNITS 2 end unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &vfs_inode->i_rwsem
HALF_LOCKED2 0 &inode->i_mmap_lock
HALF_LOCKED2 0 &inode->vfs_inode.i_rwsem

fs/btrfs/file.c start_ordered_ops() -> btrfs_fdatawrite_range()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 inode->root 4096-ptr_max
PARAM_VALUE 0 inode->vfs_inode.i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 start 0
PARAM_VALUE 2 end s64max
DATA_SOURCE 0 inode $0
DATA_SOURCE 1 start $1
DATA_SOURCE 2 end $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 start unit_byte
UNITS 2 end unit_byte
HALF_LOCKED2 0 &inode->i_mmap_lock
HALF_LOCKED2 0 &inode->vfs_inode.i_rwsem

fs/btrfs/direct-io.c btrfs_direct_write() -> btrfs_fdatawrite_range()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
NOSPEC 1 start
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start s64min-(-2),0-s64max
USER_DATA 2 end s64min-s64max
UNITS 1 start unit_byte
UNITS 2 end unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/free-space-cache.c __btrfs_write_out_cache() -> btrfs_fdatawrite_range()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 1 start 0
PARAM_VALUE 2 end (-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &trans->transaction->cache_write_mutex