Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

fs/gfs2/log.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->nrpages 1-u64max
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
DATA_SOURCE 0 mapping $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sdp->sd_log_flush_lock
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock

fs/netfs/locking.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host->i_sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 0 mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 0 mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 0 mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 mapping->i_mmap_rwsem.dep_map->name 0-255
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->handoff_set 1
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 mapping->nrpages 1-u64max
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
DATA_SOURCE 0 mapping $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 end_byte 0-s64max
DATA_SOURCE 1 start_byte $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start_byte 0-s64max
UNITS 1 start_byte unit_byte
UNITS 2 end_byte unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &inode->vfs_inode.i_rwsem
HALF_LOCKED2 &vfs_inode->i_rwsem

fs/jfs/resize.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
DATA_SOURCE 0 mapping $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount

fs/afs/inode.c afs_setattr() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 2 end_byte 0-s64max
CAPPED_DATA 1 start_byte 1
CAPPED_DATA 1 start_byte 1
CAPPED_DATA 2 end_byte 1
CAPPED_DATA 2 end_byte 1
PARAM_COMPARE 1 start_byte <= $2
PARAM_COMPARE 1 start_byte <= $2
PARAM_COMPARE 2 end_byte >= $1
NOSPEC 1 start_byte
NOSPEC 2 end_byte
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start_byte 0-9223372036854775806[c]
USER_DATA 2 end_byte 0-s64max[c]
UNITS 1 start_byte unit_byte
UNITS 2 end_byte unit_byte
LOCK2 &vnode->validate_lock
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct afs_vnode)->validate_lock

fs/btrfs/file.c btrfs_sync_file() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
NOSPEC 1 start_byte
RX_PATH
TASK_NOT_RUNNING
UNITS 1 start_byte unit_byte
UNITS 2 end_byte unit_byte
HALF_LOCKED2 &inode->i_mmap_lock
HALF_LOCKED2 &inode->vfs_inode.i_rwsem

fs/nfs/file.c nfs_file_write() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host->i_io_list.next 4096-ptr_max
PARAM_VALUE 0 mapping->host->i_io_list.prev 4096-ptr_max
PARAM_VALUE 0 mapping->host->i_io_list.prev->next 4096-ptr_max
PARAM_VALUE 0 mapping->host->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mapping->host->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648
PARAM_VALUE 0 mapping->host->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576
PARAM_VALUE 0 mapping->host->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360
PARAM_VALUE 0 mapping->host->i_wb->dwork->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 mapping->host->i_wb->list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mapping->i_mmap_rwsem.dep_map->name 0-255
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->type 0-1
CAPPED_DATA 0 mapping 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 end_byte s64min-s64max
UNITS 1 start_byte unit_byte
UNITS 2 end_byte unit_byte
HALF_LOCKED2 &pool->lock

fs/fs-writeback.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
DATA_SOURCE 0 mapping $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/fat/file.c fat_cont_expand() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host 0,4096-ptr_max
PARAM_VALUE 0 mapping->host->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 start_byte s64min-9223372036854775806
CAPPED_DATA 1 start_byte 1
CAPPED_DATA 1 start_byte 1
NOSPEC 1 start_byte
NOSPEC 1 start_byte
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start_byte (-9223372036854775807)-(-4),0-9223372036854775806[c]
UNITS 1 start_byte unit_byte
UNITS 2 end_byte unit_byte
HALF_LOCKED2 &inode->i_rwsem

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

Type Parameter Key Value
NOSPEC 1 start_byte
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start_byte s64min-(-2),0-s64max
USER_DATA 2 end_byte s64min-s64max
UNITS 1 start_byte unit_byte
UNITS 2 end_byte unit_byte
HALF_LOCKED2 &pool->lock

fs/smb/client/file.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host 0,4096-ptr_max
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
DATA_SOURCE 0 mapping $0
PREEMPT_ADD
HALF_LOCKED2 &pool->lock

fs/gfs2/glops.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host 0,4096-ptr_max
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
BUF_SIZE 0 mapping (-1),552
BUF_SIZE 0 mapping (-1),552
DATA_SOURCE 0 mapping $0
RX_PATH
HALF_LOCKED2 &pool->lock

fs/gfs2/glops.c gfs2_rgrp_metasync() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host 0,4096-ptr_max
PARAM_VALUE 0 mapping->host->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 start_byte s64min-0,4096-s64max
PARAM_VALUE 2 end_byte (-1)
BIT_INFO 1 start_byte 0x0,0x7ffffffffffff000
BIT_INFO 1 start_byte 0x0,0xfffffffffffff000
RX_PATH
HALF_LOCKED2 &pool->lock

fs/ocfs2/file.c ocfs2_file_write_iter() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host 0,4096-ptr_max
PARAM_VALUE 0 mapping->host->i_lock.rlock.dep_map->name 0-255
RX_PATH
TASK_NOT_RUNNING
UNITS 1 start_byte unit_byte
UNITS 2 end_byte unit_byte
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/gfs2/super.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host 0,4096-ptr_max
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
BUF_SIZE 0 mapping (-1),552
BUF_SIZE 0 mapping (-1),552
DATA_SOURCE 0 mapping $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 mapping->host->i_size

fs/gfs2/file.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host 0,4096-ptr_max
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
DATA_SOURCE 0 mapping $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/refcounttree.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host 0,4096-ptr_max
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
DATA_SOURCE 0 mapping $0
LOCK2 &inode->i_rwsem

fs/smb/client/inode.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->nrpages 1-u64max
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
DATA_SOURCE 0 mapping $0
RX_PATH
TASK_NOT_RUNNING

fs/nfs/pnfs.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
DATA_SOURCE 0 mapping $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &inode->i_rwsem

fs/f2fs/super.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host 0,4096-ptr_max
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
DATA_SOURCE 0 mapping $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 &sbi->cp_rwsem.internal_rwsem
HALF_LOCKED2 &sbi->quota_sem.internal_rwsem

fs/smb/client/cifsfs.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->nrpages 1-u64max
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
DATA_SOURCE 0 mapping $0
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/dlmglue.c filemap_fdatawait() -> filemap_fdatawait_range()

Type Parameter Key Value
PARAM_VALUE 0 mapping 4096-ptr_max
PARAM_VALUE 0 mapping->host 0,4096-ptr_max
PARAM_VALUE 0 mapping->host->i_sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 0 mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864
PARAM_VALUE 0 mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 0 mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 mapping->i_mmap_rwsem.dep_map->name 0-255
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->handoff_set 1
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 start_byte 0
PARAM_VALUE 2 end_byte s64max
DATA_SOURCE 0 mapping $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &osb->obs_trim_fs_mutex