Documented in 1 files:
Defined in 1 files as a function:
Referenced in 8 files:
- fs/ext2/inode.c, line 1635
- fs/ext4/inode.c, line 6044
- fs/f2fs/file.c, line 1130
- fs/quota/dquot.c, line 2093
- fs/xfs/xfs_iops.c, line 849
- include/linux/quotaops.h, line 27
- mm/shmem.c, line 1390
- security/integrity/evm/evm_main.c, line 942
Smatch caller information:
fs/quota/dquot.c dquot_transfer() -> i_uid_needs_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->ia_mode | 0-64511 |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 1 | attr->ia_file | (-1),1-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | attr | $2 |
| DATA_SOURCE | 2 | inode | $1 |
| NOSPEC | 1 | attr->ia_size | |
| NOSPEC | 2 | inode->i_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->ia_mode | 0-64511 |
| USER_DATA | 1 | attr->ia_size | (-9223372036854775807)-(-4096),0-s64max |
| USER_DATA | 2 | inode->i_blocks | 0-18014398515341359,18428729675200069633-u64max |
| USER_DATA | 2 | inode->i_mode | 0-u16max |
| USER_DATA | 2 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &sbi->cp_global_sem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->cp_rwsem.internal_rwsem |
fs/ext4/inode.c is_quota_modification() -> i_uid_needs_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | attr | $2 |
| DATA_SOURCE | 2 | inode | $1 |
| BIT_INFO | 1 | attr->ia_valid | 0x0,0xfffffff7 |
mm/shmem.c is_quota_modification() -> i_uid_needs_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->ia_mode | 0-64511 |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 1 | attr->ia_file | (-1),1-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | attr | $2 |
| DATA_SOURCE | 2 | inode | $1 |
| BIT_INFO | 1 | attr->ia_valid | 0x0,0xfffffff7 |
| NOSPEC | 1 | attr->ia_size | |
| NOSPEC | 2 | inode->i_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->ia_mode | 0-64511 |
| USER_DATA | 1 | attr->ia_size | (-9223372036854775807)-(-4096),0-s64max |
| USER_DATA | 2 | inode->i_blocks | 0-18014398515341359,18428729675200069633-u64max |
| USER_DATA | 2 | inode->i_mode | 0-u16max |
| USER_DATA | 2 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
mm/shmem.c shmem_setattr() -> i_uid_needs_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->ia_mode | 0-64511 |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,4096-ptr_max |
| PARAM_VALUE | 2 | inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 1 | attr->ia_file | (-1),1-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | attr | $2 |
| NOSPEC | 1 | attr->ia_size | |
| NOSPEC | 2 | inode->i_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->ia_mode | 0-64511 |
| USER_DATA | 1 | attr->ia_size | (-9223372036854775807)-(-4096),0-s64max |
| USER_DATA | 2 | inode->i_blocks | 0-18014398515341359,18428729675200069633-u64max |
| USER_DATA | 2 | inode->i_mode | 0-u16max |
| USER_DATA | 2 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/ext2/inode.c ext2_setattr() -> i_uid_needs_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->ia_mode | 0-64511 |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| BUF_SIZE | 1 | attr->ia_file | (-1),1-s32max |
| DATA_SOURCE | 1 | attr | $2 |
| NOSPEC | 1 | attr->ia_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->ia_mode | 0-64511 |
| USER_DATA | 1 | attr->ia_size | (-9223372036854775807)-(-4096),0-s64max |
| USER_DATA | 2 | inode->i_mode | 0-u16max |
| USER_DATA | 2 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/ext2/inode.c is_quota_modification() -> i_uid_needs_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->ia_mode | 0-64511 |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| BUF_SIZE | 1 | attr->ia_file | (-1),1-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | attr | $2 |
| DATA_SOURCE | 2 | inode | $1 |
| BIT_INFO | 1 | attr->ia_valid | 0x0,0xfffffff7 |
| NOSPEC | 1 | attr->ia_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->ia_mode | 0-64511 |
| USER_DATA | 1 | attr->ia_size | (-9223372036854775807)-(-4096),0-s64max |
| USER_DATA | 2 | inode->i_mode | 0-u16max |
| USER_DATA | 2 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/jfs/file.c is_quota_modification() -> i_uid_needs_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->ia_mode | 0-64511 |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| BUF_SIZE | 1 | attr->ia_file | (-1),1-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | attr | $2 |
| DATA_SOURCE | 2 | inode | $1 |
| BIT_INFO | 1 | attr->ia_valid | 0x0,0xfffffff7 |
| NOSPEC | 1 | attr->ia_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->ia_mode | 0-64511 |
| USER_DATA | 1 | attr->ia_size | (-9223372036854775807)-(-4096),0-s64max |
| USER_DATA | 2 | inode->i_mode | 0-u16max |
| USER_DATA | 2 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
security/integrity/evm/evm_main.c evm_attr_change() -> i_uid_needs_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->ia_valid | 1-u32max |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | attr | $2 |
fs/ocfs2/file.c is_quota_modification() -> i_uid_needs_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1531479832127729664 |
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->ia_valid | 1-u32max |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | inode->i_sb | 4096-ptr_max |
| BUF_SIZE | 1 | attr->ia_file | (-1),1-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | attr | $2 |
| DATA_SOURCE | 2 | inode | $1 |
| BIT_INFO | 1 | attr->ia_valid | 0x0,0xfffffff7 |
| NOSPEC | 1 | attr->ia_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->ia_mode | 0-u16max |
| USER_DATA | 1 | attr->ia_size | (-9223372036854775807)-(-4096),0-s64max |
| USER_DATA | 2 | inode->i_mode | 0-u16max |
| USER_DATA | 2 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_iops.c xfs_setattr_nonsize() -> i_uid_needs_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->ia_mode | 0-64511 |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| BUF_SIZE | 1 | attr->ia_file | s32min,(-1),1-s32max |
| BUF_SIZE | 2 | inode | 1160 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | attr | $3 |
| DATA_SOURCE | 2 | inode | r VFS_I |
| BIT_INFO | 1 | attr->ia_valid | 0x0,0xfffffff7 |
| NOSPEC | 1 | attr->ia_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->ia_size | (-9223372036854775807)-(-4096),0-s64max |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/f2fs/file.c f2fs_setattr() -> i_uid_needs_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->ia_mode | 0-64511 |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | inode->i_sb | 4096-ptr_max |
| BUF_SIZE | 1 | attr->ia_file | (-1),1-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | attr | $2 |
| BIT_INFO | 2 | inode->i_flags | 0x0,0xfffffff7 |
| NOSPEC | 1 | attr->ia_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->ia_mode | 0-64511 |
| USER_DATA | 1 | attr->ia_size | (-9223372036854775807)-(-4096),0-s64max |
| USER_DATA | 2 | inode->i_mode | 0-u16max |
| USER_DATA | 2 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/f2fs/file.c is_quota_modification() -> i_uid_needs_update()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 4096-ptr_max |
| PARAM_VALUE | 1 | attr->ia_mode | 0-64511 |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | inode->i_sb | 4096-ptr_max |
| BUF_SIZE | 1 | attr->ia_file | (-1),1-s32max |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 1 | attr | $2 |
| DATA_SOURCE | 2 | inode | $1 |
| BIT_INFO | 1 | attr->ia_valid | 0x0,0xfffffff7 |
| BIT_INFO | 2 | inode->i_flags | 0x0,0xfffffff7 |
| NOSPEC | 1 | attr->ia_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | attr->ia_mode | 0-64511 |
| USER_DATA | 1 | attr->ia_size | (-9223372036854775807)-(-4096),0-s64max |
| USER_DATA | 2 | inode->i_mode | 0-u16max |
| USER_DATA | 2 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |