Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 filep 4096-ptr_max
PARAM_VALUE 0 filep->f_inode->i_sb 4096-ptr_max
PARAM_VALUE 1 offset 0-s64max
BUF_SIZE 0 filep (-1),1-s32max
BUF_SIZE 0 filep (-1),1-s32max
DATA_SOURCE 0 filep $0
DATA_SOURCE 1 offset $2 [m]
NOSPEC 1 offset
NOSPEC 1 offset
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 filep->f_flags 0-u32max
USER_DATA 0 filep->f_mode 33554432-u32max
USER_DATA 0 filep->f_path.dentry->d_inode->i_mode 0-u16max
USER_DATA 0 filep->f_path.dentry->d_inode->i_size (-9223372036854775807)-(-4),0-s64max
USER_DATA 1 offset 0-s64max[c]
NO_OVERFLOW_SIMPLE 0 filep->f_path.d_inode->i_size
NO_OVERFLOW_SIMPLE 0 filep->f_path.dentry->dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 0 filep->f_path.dentry->moved->d_inode->i_size
NO_OVERFLOW_SIMPLE 0 filep->f_path.moved->d_inode->i_size
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/gfs2/file.c gfs2_file_splice_write() -> gfs2_size_hint()

Type Parameter Key Value
PARAM_VALUE 0 filep 4096-ptr_max
BUF_SIZE 0 filep s32min,(-1),1-s32max
BUF_SIZE 0 filep s32min,(-1),1-s32max
DATA_SOURCE 0 filep $1
DATA_SOURCE 2 size $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 offset 0-1000000000
USER_DATA 2 size 1-1000000000[c]
HALF_LOCKED2 &inode->i_rwsem

fs/gfs2/file.c gfs2_file_write_iter() -> gfs2_size_hint()

Type Parameter Key Value
PARAM_VALUE 0 filep 4096-ptr_max
PARAM_VALUE 2 size 0-1000000000
NOSPEC 2 size
NOSPEC 2 size
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 offset s64min-(-2),0-s64max
USER_DATA 2 size 0-1000000000
UNITS 1 offset unit_byte
HALF_LOCKED2 &pool->lock

fs/gfs2/file.c gfs2_page_mkwrite() -> gfs2_size_hint()

Type Parameter Key Value
PARAM_VALUE 0 filep 4096-ptr_max
PARAM_VALUE 0 filep->f_inode 4096-ptr_max
PARAM_VALUE 0 filep->f_inode->i_sb 4096-ptr_max
PARAM_VALUE 1 offset s64min-(-2),0-s64max
CAPPED_DATA 1 offset 1
DATA_SOURCE 1 offset r folio_pos
PARAM_COMPARE 0 filep->f_inode->i_sb->s_time_max >= $0->f_inode->i_sb->s_time_min
BIT_INFO 1 offset 0x0,0x7fffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL