Documented in 1 files:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/btrfs/inode.c btrfs_encoded_read() -> filemap_range_needs_writeback()

Type Parameter Key Value
PARAM_VALUE 1 start_byte 0-5294967294
PARAM_VALUE 2 end_byte 131071-5295098365
CAPPED_DATA 1 start_byte 1
CAPPED_DATA 2 end_byte 1
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start_byte 1-s64max[c]
USER_DATA 2 end_byte 131071-s64max[c]
LOCK2 &inode->vfs_inode.i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/xfs/xfs_iomap.c xfs_zoned_buffered_write_iomap_begin() -> filemap_range_needs_writeback()

Type Parameter Key Value
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
DATA_SOURCE 1 start_byte $1
UNITS 1 start_byte unit_byte
UNITS 2 end_byte unit_byte

mm/filemap.c kiocb_write_and_wait() -> filemap_range_needs_writeback()

Type Parameter Key Value
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
HALF_LOCKED2 &inode->i_rwsem

fs/btrfs/direct-io.c btrfs_dio_iomap_begin() -> filemap_range_needs_writeback()

Type Parameter Key Value
DATA_SOURCE 1 start_byte $1
NOSPEC 1 start_byte
NOSPEC 1 start_byte
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start_byte s64min-s64max
UNITS 1 start_byte unit_byte
UNITS 2 end_byte unit_byte

fs/iomap/buffered-io.c iomap_zero_range() -> filemap_range_needs_writeback()

Type Parameter Key Value
DATA_SOURCE 1 start_byte $1
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 &inode->i_rwsem
HALF_LOCKED2 &vi->i_rwsem