Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ceph/inode.c ceph_setattr() -> ceph_quota_is_max_bytes_exceeded()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_sb 4096-ptr_max
PARAM_VALUE 0 inode->i_sb->s_fs_info 4096-ptr_max
PARAM_VALUE 0 inode->i_sb->s_fs_info->mount_state s32min-3
CAPPED_DATA 1 newsize 1
CAPPED_DATA 1 newsize 1
NOSPEC 1 newsize
NOSPEC 1 newsize
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 inode->i_mode 0-u16max
USER_DATA 0 inode->i_size (-9223372036854775807)-(-4),0-s64max
USER_DATA 1 newsize (-9223372036854775807)-(-4096),0-s64max
UNITS 1 newsize unit_byte
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock

fs/ceph/file.c ceph_write_iter() -> ceph_quota_is_max_bytes_exceeded()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_mapping->host->i_sb->s_cop->empty_dir 0,86,4096-ptr_max
PARAM_VALUE 0 inode->i_mapping->host->i_sb->s_cop->get_context 0,706,4096-ptr_max
PARAM_VALUE 0 inode->i_mapping->host->i_sb->s_cop->set_context 0,67,4096-ptr_max
PARAM_VALUE 0 inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 inode->i_op->get_acl 0,4096-ptr_max
PARAM_VALUE 0 inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 0 inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 inode->i_rwsem.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 inode->i_rwsem.first_waiter->list.prev 2212933610777083904,2624917664208203776
PARAM_VALUE 0 inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 inode->i_sb 4096-ptr_max
PARAM_VALUE 0 inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 0 inode->i_sb->s_fs_info 4096-ptr_max
PARAM_VALUE 0 inode->i_sb->s_fs_info->mount_state s32min-3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 newsize s64min-9223372036854775805
UNITS 1 newsize unit_byte
LOCK2 0 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/ceph/file.c is_file_size_ok() -> ceph_quota_is_max_bytes_exceeded()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 inode->i_sb 4096-ptr_max
PARAM_VALUE 1 newsize 0-s64max
CAPPED_DATA 0 inode->i_sb 1
CAPPED_DATA 1 newsize 1
CAPPED_DATA 1 newsize 1
DATA_SOURCE 0 inode $1
BIT_INFO 0 inode->i_flags 0x0,0xffffbfff
RX_PATH
USER_DATA 1 newsize 2-2000000000[c]
UNITS 1 newsize unit_byte
HALF_LOCKED2 &pool->lock