Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/ext4/extents.c ext4_update_inode_size() -> ext4_update_i_disksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096 |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| 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 | 0-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_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | inode->i_size | 1-s64max |
| PARAM_VALUE | 1 | newsize | 1-s64max |
| CAPPED_DATA | 0 | inode | 1 |
| CAPPED_DATA | 0 | inode->i_mapping | 1 |
| CAPPED_DATA | 1 | newsize | 1 |
| CAPPED_DATA | 1 | newsize | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | newsize | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | newsize | 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 |
fs/ext4/inode.c ext4_da_do_write_end() -> ext4_update_i_disksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_size | (-9223372036854775807)-s64max |
| PARAM_VALUE | 1 | newsize | (-9223372036854775807)-s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/inode.c ext4_update_disksize_before_punch() -> ext4_update_i_disksize()
| 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_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 1 | newsize | (-9223372036854775807)-s64max |
| CAPPED_DATA | 0 | inode | 1 |
| CAPPED_DATA | 1 | newsize | 1 |
| CAPPED_DATA | 1 | newsize | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | newsize | 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 |
fs/ext4/inode.c ext4_update_inode_size() -> ext4_update_i_disksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | newsize | (-9223372036854775807)-s64max |
| CAPPED_DATA | 1 | newsize | 1 |
| CAPPED_DATA | 1 | newsize | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | newsize | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | newsize | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/xattr.c ext4_xattr_inode_write() -> ext4_update_i_disksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->free_inode | 5940081188897697792 |
| PARAM_VALUE | 0 | inode->i_flags | 0,32-u32max |
| PARAM_VALUE | 0 | inode->i_fop | 5940081188897697792 |
| PARAM_VALUE | 0 | inode->i_ino | 2-u32max |
| 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->a_ops | 2516934354385506304,2712085621946273792,3356274092082380800,4446768011941285888 |
| PARAM_VALUE | 0 | inode->i_mapping->a_ops->bmap | 2704442564616388608 |
| PARAM_VALUE | 0 | inode->i_mapping->a_ops->dirty_folio | 1900981180420345856,5003030906497077248,6238236541637095424 |
| PARAM_VALUE | 0 | inode->i_mapping->a_ops->error_remove_folio | 0,3650281484867371008 |
| PARAM_VALUE | 0 | inode->i_mapping->a_ops->invalidate_folio | 0,3043936529414438912,4171027571669192704 |
| PARAM_VALUE | 0 | inode->i_mapping->a_ops->is_partially_uptodate | 0,1933474595957665792 |
| PARAM_VALUE | 0 | inode->i_mapping->a_ops->migrate_folio | 0,366217828614144000,1116275328706387968 |
| PARAM_VALUE | 0 | inode->i_mapping->a_ops->read_folio | 0,330668319981912064 |
| PARAM_VALUE | 0 | inode->i_mapping->a_ops->readahead | 0,2900903692412899328 |
| PARAM_VALUE | 0 | inode->i_mapping->a_ops->release_folio | 0,7708064358502932480 |
| PARAM_VALUE | 0 | inode->i_mapping->a_ops->swap_activate | 1429905111713320960 |
| PARAM_VALUE | 0 | inode->i_mapping->a_ops->write_begin | 0,26640849986056192,8424503434694873088 |
| PARAM_VALUE | 0 | inode->i_mapping->a_ops->write_end | 0,270880766896562176,1540026968074792960,7123840939656998912 |
| PARAM_VALUE | 0 | inode->i_mapping->a_ops->writepages | 630850992525471744,7111727506995642368 |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| 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 | 3728026721618821120 |
| PARAM_VALUE | 0 | inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_rwsem.first_waiter->handoff_set | 1 |
| 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_cop->empty_dir | 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->get_context | 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->set_context | 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->s_bdev_wb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->s_freeclusters_counter.lock.owner | (-1) |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->s_freeclusters_counter.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->s_freeclusters_counter.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->s_freeinodes_counter.lock.owner | (-1) |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->s_freeinodes_counter.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->s_freeinodes_counter.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info->s_journal->j_state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | inode->i_size | s32min-s32max |
| PARAM_VALUE | 0 | inode->i_version.counter | 1 |
| CAPPED_DATA | 0 | inode | 1 |
| CAPPED_DATA | 0 | inode->i_ino | 1 |
| CAPPED_DATA | 0 | inode->i_sb | 1 |
| DATA_SOURCE | 0 | inode | $1 |
| STR_LEN | 0 | inode | (-1) |
| STR_LEN | 0 | inode | (-1) |
| BIT_INFO | 0 | inode->i_flags | 0x20,0xffffffffffffffff |
| NOSPEC | 0 | inode->i_size | |
| NOSPEC | 1 | newsize | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_size | 1-65536[c][u] |
| USER_DATA | 1 | newsize | 1-65536[c][u] |
| UNITS | 1 | newsize | unit_byte |
| LOCK2 | 0 | &inode->i_rwsem | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/inline.c ext4_update_inode_size() -> ext4_update_i_disksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_ino | 2-u32max |
| PARAM_VALUE | 0 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | newsize | (-9223372036854775807)-s64max |
| CAPPED_DATA | 0 | inode->i_ino | 1 |
| CAPPED_DATA | 1 | newsize | 1 |
| CAPPED_DATA | 1 | newsize | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | newsize | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | newsize | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/file.c ext4_update_inode_size() -> ext4_update_i_disksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| 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_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,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 1 | newsize | (-9223372036854775807)-s64max |
| CAPPED_DATA | 1 | newsize | 1 |
| CAPPED_DATA | 1 | newsize | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | newsize | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | inode->i_bytes | 0-65023[c] |
| USER_DATA | 0 | inode->i_mode | 0-u16max |
| USER_DATA | 0 | inode->i_size | (-9223372036854775807)-9223372036854775806 |
| USER_DATA | 1 | newsize | (-9223372036854775807)-9223372036854775806[c] |
| UNITS | 1 | newsize | unit_byte |
| HALF_LOCKED2 | 0 | &inode->i_rwsem |