Defined in 1 files as a function:
Referenced in 14 files:
- fs/f2fs/super.c
- fs/fs-writeback.c, line 1798
- fs/gfs2/file.c, line 251
- fs/gfs2/glops.c
- fs/gfs2/log.c, line 748
- fs/gfs2/super.c
- fs/jfs/resize.c, line 369
- fs/netfs/locking.c, line 146
- fs/nfs/pnfs.c, line 1508
- fs/ocfs2/dlmglue.c, line 3999
- fs/ocfs2/refcounttree.c, line 4255
- fs/smb/client/cifsfs.c, line 1116
- fs/smb/client/file.c, line 3359
- fs/smb/client/inode.c
Smatch caller information:
fs/gfs2/log.c gfs2_ordered_wait() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->nrpages | 1-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sdp->sd_log_flush_lock | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |
fs/netfs/locking.c netfs_block_buffered() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| 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->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096 |
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/jfs/resize.c jfs_extendfs() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
fs/fs-writeback.c __writeback_single_inode() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/smb/client/file.c cifs_oplock_break() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host | 0,4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| HALF_LOCKED2 | &pool->lock |
fs/gfs2/glops.c gfs2_inode_metasync() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host | 0,4096-ptr_max |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| DATA_SOURCE | 0 | mapping | r gfs2_glock2aspace |
| RX_PATH | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sdp->sd_freeze_mutex | ||
| HALF_LOCKED2 | &sdp->sd_log_flush_lock |
fs/gfs2/glops.c inode_go_sync() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host | 0,4096-ptr_max |
| RX_PATH | |||
| HALF_LOCKED2 | &pool->lock |
fs/gfs2/super.c evict_linked_inode() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host | 0,4096-ptr_max |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| DATA_SOURCE | 0 | mapping | r gfs2_glock2aspace |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/gfs2/super.c gfs2_write_inode() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host | 0,4096-ptr_max |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| DATA_SOURCE | 0 | mapping | r gfs2_glock2aspace |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/gfs2/file.c do_gfs2_set_flags() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ocfs2/refcounttree.c __ocfs2_reflink() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host | 0,4096-ptr_max |
| LOCK2 | &inode->i_rwsem |
fs/smb/client/inode.c cifs_fiemap() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->nrpages | 1-u64max |
fs/smb/client/inode.c cifs_getattr() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->nrpages | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &iint->mutex | ||
| HALF_LOCKED2 | &lo->lo_mutex |
fs/nfs/pnfs.c pnfs_commit_and_return_layout() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/f2fs/super.c f2fs_quota_on() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host | 0,4096-ptr_max |
| HALF_LOCKED2 | &sb->s_umount |
fs/f2fs/super.c f2fs_quota_sync_file() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sbi->cp_rwsem.internal_rwsem | ||
| LOCK2 | &sbi->quota_sem.internal_rwsem | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | &sbi->cp_global_sem.internal_rwsem | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/smb/client/cifsfs.c cifs_llseek() -> filemap_fdatawait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->nrpages | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/dlmglue.c ocfs2_data_convert_worker() -> filemap_fdatawait()
| 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->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->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096 |
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &osb->obs_trim_fs_mutex |