Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 28 files:
- fs/affs/inode.c, line 241
- fs/afs/inode.c, line 788
- fs/attr.c
- fs/btrfs/file.c, line 3107
- fs/buffer.c, line 2393
- fs/ceph/file.c, line 2896
- fs/ecryptfs/inode.c, line 762
- fs/exfat/file.c, line 37
- fs/ext4/extents.c
- fs/f2fs/file.c
- fs/fuse/file.c, line 2870
- fs/gfs2/bmap.c, line 2175
- fs/gfs2/file.c, line 1400
- fs/hfs/inode.c, line 664
- fs/hpfs/inode.c, line 284
- fs/hugetlbfs/inode.c, line 734
- fs/jfs/file.c, line 118
- fs/minix/file.c, line 38
- fs/nfs/inode.c
- fs/nfs/nfs4file.c, line 236
- fs/ntfs/file.c
- fs/ntfs3/file.c
- fs/ocfs2/file.c
- fs/omfs/file.c, line 353
- fs/ramfs/file-nommu.c, line 79
- fs/smb/client/smb2ops.c, line 3752
- fs/xfs/xfs_file.c, line 1247
- mm/shmem.c, line 3678
Smatch caller information:
fs/attr.c setattr_prepare() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| BIT_INFO | 0 | inode->i_flags | 0x0,0xfffeffff |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_blocks | 0-36028797018963960[c] |
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-2),0-s64max |
| USER_DATA | 1 | offset | (-9223372036854775807)-(-4096),0-s64max |
| UNITS | 1 | offset | unit_byte |
| HALF_LOCKED2 | &root->kernfs_iattr_rwsem | ||
| HALF_LOCKED2 | &sbi->hpfs_mutex |
fs/afs/inode.c afs_setattr() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| BUF_SIZE | 0 | inode | 1160 |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | offset | (-9223372036854775807)-(-4096),0-s64max |
| UNITS | 1 | offset | 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/nfs/inode.c nfs_setattr() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| 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 | offset | (-9223372036854775807)-(-4096),0-s64max |
| UNITS | 1 | offset | 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/nfs/inode.c nfs_vmtruncate() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_mapping | 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 | 0 | inode->i_sb->s_fs_info->nfs_client->cl_net->refcnt_tracker.quarantine_avail | 0-4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->nfs_client->cl_nfs_mod->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | inode->i_sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | *inode->i_sb->s_fs_info->nfs_client->cl_owner_id | 0-255 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| PREEMPT_ADD | |||
| 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 | offset | (-9223372036854775807)-(-4096),0-s64max |
| UNITS | 1 | offset | unit_byte |
| LOCK2 | 0 | &inode->i_lock | |
| TYPE_LOCK | (struct inode)->i_lock |
fs/omfs/file.c omfs_setattr() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| 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 | offset | (-9223372036854775807)-(-4096),0-s64max |
| UNITS | 1 | offset | 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/btrfs/file.c btrfs_fallocate() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_size | s64min-9223372036854775806 |
| PARAM_VALUE | 1 | offset | (-9223372036854775807)-s64max |
| CAPPED_DATA | 0 | inode->i_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/ecryptfs/inode.c __ecryptfs_truncate() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 1-281470681677825 |
| DATA_SOURCE | 1 | offset | r upper_size_to_lower_size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/extents.c ext4_do_fallocate() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | (-9223372036854775807)-s64max |
| CAPPED_DATA | 1 | offset | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/extents.c ext4_zero_range() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | (-9223372036854775807)-s64max |
| CAPPED_DATA | 1 | offset | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
mm/shmem.c shmem_fallocate() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inode->i_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/jfs/file.c jfs_setattr() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| 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 | offset | (-9223372036854775807)-(-4096),0-s64max |
| UNITS | 1 | offset | 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/nfs/nfs4file.c nfs42_fallocate() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/gfs2/bmap.c gfs2_setattr_size() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| 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 | offset | (-9223372036854775807)-(-4096),0-s64max |
| UNITS | 1 | offset | 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/ocfs2/file.c ocfs2_fallocate() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/ocfs2/file.c ocfs2_setattr() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_data.host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| 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_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| 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 | offset | (-9223372036854775807)-(-4096),0-s64max |
| UNITS | 1 | offset | 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/minix/file.c minix_setattr() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| 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 | offset | (-9223372036854775807)-(-4096),0-s64max |
| UNITS | 1 | offset | 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/smb/client/smb2ops.c smb3_simple_falloc() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | (-9223372036854775807)-s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/exfat/file.c exfat_cont_expand() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| 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_size | s64min-9223372036854775806 |
| PARAM_VALUE | 1 | offset | (-9223372036854775807)-s64max |
| CAPPED_DATA | 0 | inode->i_mapping | 1 |
| CAPPED_DATA | 0 | inode->i_mapping->i_pages.xa_head | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-9223372036854775806 |
| USER_DATA | 1 | offset | (-9223372036854775807)-(-2),0-s64max[c] |
| UNITS | 1 | offset | unit_byte |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/hfs/inode.c hfs_inode_setattr() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| 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 | offset | (-9223372036854775807)-(-4096),0-s64max |
| UNITS | 1 | offset | 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/hugetlbfs/inode.c hugetlbfs_fallocate() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inode->i_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/f2fs/file.c f2fs_expand_inode_data() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_flags | 0,4096-u32max |
| PARAM_VALUE | 0 | inode->i_io_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_io_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_io_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | inode->i_wb->dwork->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->dwork.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_wb->work_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inode->i_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/f2fs/file.c f2fs_insert_range() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_flags | 0,4096-u32max |
| PARAM_VALUE | 0 | inode->i_io_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_io_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_io_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | inode->i_wb->dwork->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->dwork.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_wb->work_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inode->i_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/f2fs/file.c f2fs_zero_range() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_flags | 0,4096-u32max |
| PARAM_VALUE | 0 | inode->i_io_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_io_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_io_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | inode->i_wb->dwork->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->dwork.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_wb->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_wb->work_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inode->i_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/file.c ntfs_allocate_range() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| BUF_SIZE | 0 | inode | 1160 |
| DATA_SOURCE | 0 | inode | r VFS_I |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/file.c ntfs_insert_range() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-s64max |
| BUF_SIZE | 0 | inode | 1160 |
| DATA_SOURCE | 0 | inode | r VFS_I |
| FUZZY_MAX | 1 | offset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_byte |
| LOCK2 | &vi->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vi->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/file.c ntfs_setattr_size() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| 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 | offset | (-9223372036854775807)-(-4096),0-s64max |
| UNITS | 1 | offset | 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/buffer.c generic_cont_expand_simple() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_size | s64min-9223372036854775806 |
| PARAM_VALUE | 1 | offset | (-9223372036854775807)-s64max |
| CAPPED_DATA | 0 | inode->i_size | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-(-4),0-9223372036854775806[c] |
| USER_DATA | 1 | offset | (-9223372036854775807)-(-2),0-s64max |
| UNITS | 1 | offset | unit_byte |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |
fs/xfs/xfs_file.c xfs_falloc_newsize() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_size | s64min-9223372036854775806 |
| PARAM_VALUE | 1 | offset | (-9223372036854775807)-s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/gfs2/file.c gfs2_fallocate() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_size | s64min-9223372036854775806 |
| PARAM_VALUE | 1 | offset | (-9223372036854775807)-s64max |
| CAPPED_DATA | 0 | inode | 1 |
| CAPPED_DATA | 0 | inode->i_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inode->i_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/affs/inode.c affs_setattr() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| 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 | offset | (-9223372036854775807)-(-4096),0-s64max |
| UNITS | 1 | offset | 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/ntfs3/file.c ntfs_fallocate() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inode->i_rwsem | |
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs3/file.c ntfs_fallocate() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inode->i_rwsem | |
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/hpfs/inode.c hpfs_setattr() -> inode_newsize_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| CAPPED_DATA | 1 | offset | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| PARAM_COMPARE | 1 | offset | <= $0->i_size |
| PARAM_COMPARE | 1 | offset | <= $0->i_size |
| CONSTRAINT | 1 | offset | <=3994 |
| NOSPEC | 1 | offset | |
| NOSPEC | 1 | offset | |
| 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 | offset | (-9223372036854775807)-(-4096),0-s64max |
| UNITS | 1 | offset | unit_byte |
| LOCK2 | &sbi->hpfs_mutex | ||
| 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 is_file_size_ok() -> inode_newsize_ok()
| 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 |
| CAPPED_DATA | 0 | inode->i_sb | 1 |
| DATA_SOURCE | 0 | inode | $1 |
| BIT_INFO | 0 | inode->i_flags | 0x0,0xffffbfff |
| RX_PATH | |||
| USER_DATA | 1 | offset | 2-2000000000[c] |
| UNITS | 1 | offset | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/fuse/file.c fuse_file_fallocate() -> inode_newsize_ok()
| 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_mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_size | s64min-9223372036854775806 |
| PARAM_VALUE | 1 | offset | (-9223372036854775807)-s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &inode->i_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &inode->i_mapping->invalidate_lock | |
| TYPE_LOCK | (struct inode)->i_rwsem |