Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/inode.c filemap_range_needs_writeback() -> filemap_range_has_writeback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->nrpages | 1-u64max |
| PARAM_VALUE | 1 | start_byte | 0-5294967294 |
| PARAM_VALUE | 2 | end_byte | 131071-5295098365 |
| CAPPED_DATA | 1 | start_byte | 1 |
| CAPPED_DATA | 1 | start_byte | 1 |
| CAPPED_DATA | 2 | end_byte | 1 |
| CAPPED_DATA | 2 | end_byte | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | start_byte | $1 |
| DATA_SOURCE | 2 | end_byte | $2 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | start_byte | 1-5294967294[c] |
| USER_DATA | 2 | end_byte | 131071-5295098365[c] |
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/xfs/xfs_iomap.c filemap_range_needs_writeback() -> filemap_range_has_writeback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->nrpages | 1-u64max |
| CAPPED_DATA | 1 | start_byte | 1 |
| CAPPED_DATA | 1 | start_byte | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | start_byte | $1 |
| DATA_SOURCE | 2 | end_byte | $2 |
| NOSPEC | 1 | start_byte | |
| NOSPEC | 1 | start_byte | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | start_byte | s64min-s64max[c] |
| HALF_LOCKED2 | &inode->i_rwsem |
mm/filemap.c filemap_range_needs_writeback() -> filemap_range_has_writeback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->nrpages | 1-u64max |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | start_byte | $1 |
| DATA_SOURCE | 2 | end_byte | $2 |
| NOSPEC | 1 | start_byte | |
| NOSPEC | 1 | start_byte | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | start_byte | s64min-(-2),0-9223372036854775806 |
| USER_DATA | 2 | end_byte | s64min-(-9223372035854775811),0-s64max |
| UNITS | 1 | start_byte | unit_byte |
| UNITS | 2 | end_byte | unit_byte |
fs/btrfs/direct-io.c filemap_range_needs_writeback() -> filemap_range_has_writeback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->nrpages | 1-u64max |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | start_byte | $1 |
| DATA_SOURCE | 2 | end_byte | $2 |
| UNITS | 1 | start_byte | unit_byte |
| UNITS | 2 | end_byte | unit_byte |
fs/iomap/buffered-io.c filemap_range_needs_writeback() -> filemap_range_has_writeback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->nrpages | 1-u64max |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | start_byte | $1 |
| DATA_SOURCE | 2 | end_byte | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | start_byte | (-9223372036854775807)-s64max |
| UNITS | 1 | start_byte | unit_byte |
| UNITS | 2 | end_byte | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &vi->i_rwsem |
fs/fuse/file.c fuse_direct_io() -> filemap_range_has_writeback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops->bmap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | start_byte | s64min-(-2),0-s64max |
| UNITS | 1 | start_byte | unit_byte |
| UNITS | 2 | end_byte | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &iocb->ki_filp->f_inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |