Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ceph/caps.c ceph_check_caps() -> __ceph_should_report_size()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
CAPPED_DATA 0 ci->i_auth_cap 1
CAPPED_DATA 0 ci->i_wanted_max_size 1
DATA_SOURCE 0 ci $0
NOSPEC 0 ci->i_wanted_max_size
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ci->i_wanted_max_size 1-s32max[c]
LOCK2 0 &ci->i_ceph_lock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct ceph_inode_info)->i_ceph_lock

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

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
DATA_SOURCE 0 ci r ceph_inode
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ci->i_ceph_lock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct ceph_inode_info)->i_ceph_lock