Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ceph/inode.c ceph_fill_file_size() -> calc_inode_blocks()

Type Parameter Key Value
DATA_SOURCE 0 size $4 [m]
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ci->i_ceph_lock
HALF_LOCKED2 &mdsc->snap_rwsem

fs/ceph/inode.c ceph_fill_inode() -> calc_inode_blocks()

Type Parameter Key Value
PARAM_VALUE 0 size 0-s32max
CAPPED_DATA 0 size 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mdsc->snap_rwsem
HALF_LOCKED2 &req->r_fill_mutex
HALF_LOCKED2 &session->s_mutex
TYPE_LOCK (struct ceph_mds_client)->snap_rwsem

fs/ceph/inode.c ceph_fill_inode() -> calc_inode_blocks()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mdsc->snap_rwsem
HALF_LOCKED2 &req->r_fill_mutex
HALF_LOCKED2 &session->s_mutex
TYPE_LOCK (struct ceph_mds_client)->snap_rwsem

fs/ceph/inode.c ceph_inode_set_size() -> calc_inode_blocks()

Type Parameter Key Value
DATA_SOURCE 0 size $1
NOSPEC 0 size
NOSPEC 0 size
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 size 0-9223372036854775806,9223372036854775808-u64max
UNITS 0 size unit_byte
LOCK2 &ci->i_ceph_lock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct ceph_inode_info)->i_ceph_lock