Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/ocfs2/extent_map.c ocfs2_overwrite_io() -> ocfs2_size_fits_inline_data()

Type Parameter Key Value
DATA_SOURCE 0 di_bh $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 new_size unit_byte
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/file.c ocfs2_allocate_unwritten_extents() -> ocfs2_size_fits_inline_data()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 1 new_size unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/file.c ocfs2_extend_file() -> ocfs2_size_fits_inline_data()

Type Parameter Key Value
PARAM_VALUE 0 di_bh 1-u64max
PARAM_VALUE 1 new_size 1-9223372036854775807
CAPPED_DATA 1 new_size 1
CAPPED_DATA 1 new_size 1
DATA_SOURCE 0 di_bh $1
DATA_SOURCE 1 new_size $2
NOSPEC 1 new_size
NOSPEC 1 new_size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 new_size 1-9223372036854775807[c]
UNITS 1 new_size unit_byte
LOCK2 &oi->ip_alloc_sem
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ocfs2_inode_info)->ip_alloc_sem

fs/ocfs2/aops.c ocfs2_try_to_write_inline_data() -> ocfs2_size_fits_inline_data()

Type Parameter Key Value
PARAM_VALUE 0 di_bh 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 new_size unit_byte
HALF_LOCKED2 &oi->ip_alloc_sem