Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 29 files:
- block/bdev.c, line 91
- fs/btrfs/verity.c, line 455
- fs/ext4/ioctl.c
- fs/ext4/orphan.c, line 337
- fs/ext4/truncate.h, line 21
- fs/ext4/verity.c, line 264
- fs/f2fs/inline.c, line 541
- fs/f2fs/super.c, line 3396
- fs/f2fs/verity.c, line 208
- fs/fuse/readdir.c, line 114
- fs/gfs2/file.c, line 254
- fs/gfs2/glops.c
- fs/gfs2/inode.c
- fs/gfs2/lops.c, line 593
- fs/gfs2/super.c
- fs/jfs/jfs_dmap.c, line 351
- fs/jfs/jfs_imap.c
- fs/jfs/jfs_mount.c
- fs/jfs/super.c
- fs/nilfs2/btnode.c, line 44
- fs/nilfs2/gcinode.c, line 180
- fs/nilfs2/mdt.c
- fs/nilfs2/segment.c, line 2502
- fs/ntfs/attrib.c, line 4336
- fs/ntfs/logfile.c
- fs/ocfs2/dlmglue.c, line 3992
- fs/ocfs2/file.c
- fs/quota/dquot.c
- mm/truncate.c
Smatch caller information:
fs/btrfs/verity.c rollback_verity() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nilfs2/gcinode.c nilfs_remove_all_gcinodes() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
fs/quota/dquot.c dquot_disable() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/quota/dquot.c dquot_quota_sync() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sb->s_umount |
fs/ext4/inode.c ext4_truncate_failed_write() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->invalidate_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | lstart | s64min-9223372036854775806 |
| CAPPED_DATA | 1 | lstart | 1 |
| CAPPED_DATA | 1 | lstart | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mapping->invalidate_lock | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock |
fs/fuse/readdir.c fuse_readdir_cache_end() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 1 | lstart | 0x0,0x7ffffffffffff000 |
| BIT_INFO | 1 | lstart | 0x0,0xfffffffffffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_bytes | |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nilfs2/btnode.c nilfs_btnode_cache_clear() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lstart | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_bytes |
fs/ext4/orphan.c ext4_process_orphan() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/inline.c ext4_truncate_failed_write() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->invalidate_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mapping->invalidate_lock | |
| TYPE_LOCK | (struct address_space)->invalidate_lock |
fs/ntfs/logfile.c ntfs_empty_logfile() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/ntfs/logfile.c ntfs_empty_logfile() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| CAPPED_DATA | 0 | mapping->i_pages.xa_head | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
mm/truncate.c truncate_inode_pages_final() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | 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 | mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | lstart | 0 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| DATA_SOURCE | 0 | mapping | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->cp_global_sem.internal_rwsem |
mm/truncate.c truncate_pagecache() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| DATA_SOURCE | 1 | lstart | $1 |
| NOSPEC | 1 | lstart | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | lstart | (-9223372036854775807)-(-2),0-s64max |
| UNITS | 1 | lstart | unit_byte |
| HALF_LOCKED2 | &ci->i_truncate_mutex | ||
| HALF_LOCKED2 | &inode->i_mapping->invalidate_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_sb->s_fs_info->hpfs_mutex | ||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &sbi->cp_rwsem.internal_rwsem | ||
| HALF_LOCKED2 | &sdp->sd_log_flush_lock | ||
| HALF_LOCKED2 | &vi->i_rwsem |
fs/ext4/verity.c ext4_end_enable_verity() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/glops.c inode_go_inval() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 0,4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| DATA_SOURCE | 0 | mapping | r gfs2_glock2aspace |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/gfs2/glops.c inode_go_inval() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/jfs/super.c jfs_fill_super() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->nrpages | 0-1 |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/jfs/super.c jfs_put_super() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping->host->i_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | mapping->host->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_isw_nr_in_flight.counter | s32min-s32max |
| PARAM_VALUE | 0 | mapping->host->i_state.__state | 0-4294967295 |
| PARAM_VALUE | 0 | mapping->nrpages | 0-1 |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &s->s_umount | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/jfs/super.c jfs_reconfigure() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
block/bdev.c kill_bdev() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->i_pages.xa_head | 1-u64max |
| PARAM_VALUE | 0 | mapping->nrpages | 0-1 |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &disk->open_mutex | ||
| HALF_LOCKED2 | &inode->i_mapping->invalidate_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/jfs/jfs_mount.c jfs_mount_rw() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
fs/jfs/jfs_mount.c jfs_mount_rw() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
fs/gfs2/lops.c gfs2_find_jhead() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdp->sd_freeze_mutex |
fs/ocfs2/file.c ocfs2_remove_inode_range() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/file.c ocfs2_truncate_file() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | 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 | mapping->host->i_sb->s_export_op->fh_to_parent | 0,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| CAPPED_DATA | 1 | lstart | 1 |
| DATA_SOURCE | 1 | lstart | $2 |
| NOSPEC | 1 | lstart | |
| NOSPEC | 1 | lstart | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | lstart | 1-s32max[c] |
| UNITS | 1 | lstart | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/ocfs2/file.c ocfs2_truncate_file() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | 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 | mapping->host->i_sb->s_export_op->fh_to_parent | 0,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| CAPPED_DATA | 1 | lstart | 1 |
| DATA_SOURCE | 1 | lstart | $2 |
| NOSPEC | 1 | lstart | |
| NOSPEC | 1 | lstart | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | lstart | 1-s32max[c] |
| UNITS | 1 | lstart | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/f2fs/inline.c f2fs_add_inline_entries() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sbi->cp_rwsem.internal_rwsem | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/verity.c f2fs_end_enable_verity() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/file.c ext4_truncate_failed_write() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->invalidate_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | lstart | (-9223372036854775807)-9223372036854775806 |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | 0 | &mapping->invalidate_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/super.c evict_linked_inode() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 0,4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| DATA_SOURCE | 0 | mapping | r gfs2_glock2aspace |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/gfs2/super.c gfs2_truncate_inode_pages() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| BUF_SIZE | 0 | mapping | 552 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdp->sd_log_flush_lock |
fs/ext4/ioctl.c swap_inode_boot_loader() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock |
fs/ext4/ioctl.c swap_inode_boot_loader() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_mapping->invalidate_lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock |
fs/gfs2/file.c do_gfs2_set_flags() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host | 0,4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs/attrib.c ntfs_non_resident_attr_shrink() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lstart | 0-s64max |
| CAPPED_DATA | 1 | lstart | 1 |
| CAPPED_DATA | 1 | lstart | 1 |
| DATA_SOURCE | 1 | lstart | $1 |
| NOSPEC | 1 | lstart | |
| NOSPEC | 1 | lstart | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | lstart | 0-s64max[c] |
| UNITS | 1 | lstart | unit_byte |
| HALF_LOCKED2 | &ni->mrec_lock |
fs/gfs2/inode.c gfs2_final_release_pages() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 0,4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sdp->sd_log_flush_lock | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |
fs/gfs2/inode.c gfs2_final_release_pages() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sdp->sd_log_flush_lock | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |
fs/jfs/jfs_imap.c diFreeSpecial() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | mapping->nrpages | 0-1 |
| PARAM_VALUE | 1 | lstart | 0 |
| CAPPED_DATA | 0 | mapping | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &imap->im_freelock |
fs/jfs/jfs_imap.c diUnmount() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/f2fs/super.c f2fs_quota_sync_file() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sbi->cp_rwsem.internal_rwsem | ||
| LOCK2 | &sbi->quota_sem.internal_rwsem | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | &sbi->cp_global_sem.internal_rwsem | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/nilfs2/mdt.c nilfs_mdt_clear_shadow_map() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lstart | 0 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | &mi->mi_sem | ||
| TYPE_LOCK | (struct nilfs_mdt_info)->mi_sem |
fs/nilfs2/mdt.c nilfs_mdt_clear_shadow_map() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | lstart | 0 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | &mi->mi_sem | ||
| TYPE_LOCK | (struct nilfs_mdt_info)->mi_sem |
fs/ocfs2/dlmglue.c ocfs2_data_convert_worker() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &osb->obs_trim_fs_mutex |
fs/jfs/jfs_dmap.c dbUnmount() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 1 | lstart | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nilfs2/segment.c nilfs_remove_written_gcinodes() -> truncate_inode_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | lstart | 0 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |