Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/gfs2/bmap.c do_grow() -> gfs2_clear_beyond_eof()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inode->i_sb 4096-ptr_max
PARAM_VALUE 0 inode->i_size 0-s64max
PARAM_VALUE 1 end 0-s64max
CAPPED_DATA 0 inode->i_size 1
CAPPED_DATA 1 end 1
DATA_SOURCE 0 inode $0
DATA_SOURCE 1 end $1
NOSPEC 0 inode->i_size
NOSPEC 1 end
NOSPEC 1 end
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 inode->i_mode 0-u16max
USER_DATA 0 inode->i_size 0-s64max
USER_DATA 1 end 1-s64max[c]
UNITS 1 end unit_byte
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &inode->i_rwsem

fs/gfs2/file.c __gfs2_fallocate() -> gfs2_clear_beyond_eof()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_sb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/gfs2/file.c gfs2_file_buffered_write() -> gfs2_clear_beyond_eof()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_sb 4096-ptr_max
CAPPED_DATA 0 inode 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 end s64min-(-2),0-s64max
UNITS 1 end unit_byte
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem