Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- fs/btrfs/compression.c, line 266
- fs/btrfs/file.c, line 2221
- fs/buffer.c, line 1636
- fs/ext4/inode.c
- fs/f2fs/compress.c, line 1993
- fs/hugetlbfs/inode.c, line 565
- fs/nilfs2/page.c, line 307
- fs/ntfs3/file.c, line 339
- mm/filemap.c, line 2255
- mm/shmem.c, line 1080
Smatch caller information:
fs/nilfs2/page.c nilfs_copy_back_pages() -> filemap_get_folios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 4932980747163623424 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | fbatch | 3781717602262499328 |
| PARAM_VALUE | 3 | fbatch->i | 0 |
| DATA_SOURCE | 0 | mapping | $1 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &mi->mi_sem | ||
| TYPE_LOCK | (struct nilfs_mdt_info)->mi_sem |
fs/btrfs/file.c check_range_has_page() -> filemap_get_folios()
| 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->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-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 | start | 1978690012088291328 |
| PARAM_VALUE | 1 | *start | 0-4503599627370495 |
| PARAM_VALUE | 2 | end | 4503599627370495 |
| PARAM_VALUE | 3 | fbatch | 3786140835586936832 |
| PARAM_VALUE | 3 | fbatch->i | 0 |
| PARAM_VALUE | 3 | fbatch->nr | 0 |
| CAPPED_DATA | 0 | mapping | 1 |
| CAPPED_DATA | 0 | mapping->i_pages.xa_head | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | end | 4503599627370495 |
| UNITS | 2 | end | unit_page |
| HALF_LOCKED2 | &pool->lock |
fs/ext4/inode.c mpage_map_and_submit_buffers() -> filemap_get_folios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 1328416048684285952 |
| PARAM_VALUE | 1 | *start | 0-2251799813685247 |
| PARAM_VALUE | 2 | end | 0-2251799813685247 |
| PARAM_VALUE | 3 | fbatch | 871579425790595072 |
| PARAM_VALUE | 3 | fbatch->i | 0 |
| PARAM_VALUE | 3 | fbatch->nr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext4/inode.c mpage_release_unused_pages() -> filemap_get_folios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 112655132487766016 |
| PARAM_VALUE | 1 | *start | 0-2251799813685247,18444492273895866368-18446744073709551614 |
| PARAM_VALUE | 2 | end | 0-2251799813685246 |
| PARAM_VALUE | 3 | fbatch | 9086423946209533952 |
| PARAM_VALUE | 3 | fbatch->i | 0 |
| PARAM_VALUE | 3 | fbatch->nr | 0 |
| CAPPED_DATA | 2 | end | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | end | unit_page |
mm/shmem.c shmem_unlock_mapping() -> filemap_get_folios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 0,4096-ptr_max |
| PARAM_VALUE | 1 | start | 7580239744708247552 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | fbatch | 2447206239845744640 |
| PARAM_VALUE | 3 | fbatch->i | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| NS_CAPABLE | 0 | 14 |
mm/shmem.c shmem_unlock_mapping() -> filemap_get_folios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 0,4096-ptr_max |
| PARAM_VALUE | 1 | start | 7580239744708247552 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | fbatch | 2447206239845744640 |
| PARAM_VALUE | 3 | fbatch->i | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| NS_CAPABLE | 0 | 14 |
fs/btrfs/compression.c end_compressed_writeback() -> filemap_get_folios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 7675687095846498304 |
| PARAM_VALUE | 1 | *start | 0-4503599627370495 |
| PARAM_VALUE | 2 | end | 0-4503599627370495 |
| PARAM_VALUE | 3 | fbatch | 3439950327561175040 |
| PARAM_VALUE | 3 | fbatch->i | 0 |
| PARAM_VALUE | 3 | fbatch->nr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | end | unit_page |
| HALF_LOCKED2 | &pool->lock |
fs/hugetlbfs/inode.c remove_inode_hugepages() -> filemap_get_folios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| 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 | start | 2034614278574186496 |
| PARAM_VALUE | 2 | end | 0-2251799813685246,u64max |
| PARAM_VALUE | 3 | fbatch | 3251144604938170368 |
| PARAM_VALUE | 3 | fbatch->i | 0 |
| BUF_SIZE | 0 | mapping | 552 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *start | 0-2251799813685247,18444492273895866368-u64max |
| USER_DATA | 2 | end | 0-2251799813685246,u64max |
| UNITS | 2 | end | unit_page |
| USER_PTR | 1 | start | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/hugetlbfs/inode.c remove_inode_hugepages() -> filemap_get_folios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| 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 | start | 2034614278574186496 |
| PARAM_VALUE | 2 | end | 0-2251799813685246,u64max |
| PARAM_VALUE | 3 | fbatch | 3251144604938170368 |
| PARAM_VALUE | 3 | fbatch->i | 0 |
| BUF_SIZE | 0 | mapping | 552 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *start | 0-2251799813685247,18444492273895866368-u64max |
| USER_DATA | 2 | end | 0-2251799813685246,u64max |
| UNITS | 2 | end | unit_page |
| USER_PTR | 1 | start | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/buffer.c clean_bdev_aliases() -> filemap_get_folios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 6566953758254759936 |
| PARAM_VALUE | 3 | fbatch | 1448347427538845696 |
| PARAM_VALUE | 3 | fbatch->i | 0 |
| PARAM_VALUE | 3 | fbatch->nr | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | end | unit_page |
| HALF_LOCKED2 | &wnd->rw_lock |
fs/buffer.c clean_bdev_aliases() -> filemap_get_folios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->host | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 6566953758254759936 |
| PARAM_VALUE | 1 | *start | 1-u64max |
| PARAM_VALUE | 3 | fbatch | 1448347427538845696 |
| PARAM_VALUE | 3 | fbatch->i | 0 |
| PARAM_VALUE | 3 | fbatch->nr | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | end | unit_page |
| HALF_LOCKED2 | &wnd->rw_lock |
fs/ntfs3/file.c ntfs_zero_tail() -> filemap_get_folios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 3696579815332917248 |
| PARAM_VALUE | 1 | *start | 0-2251799813685247 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | fbatch | 2959884631268057088 |
| PARAM_VALUE | 3 | fbatch->i | 0 |
| PARAM_VALUE | 3 | fbatch->nr | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/f2fs/compress.c f2fs_invalidate_compress_pages() -> filemap_get_folios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->nrpages | 1-u64max |
| PARAM_VALUE | 1 | start | 8660379512708993024 |
| PARAM_VALUE | 1 | *start | 0-4294967294 |
| PARAM_VALUE | 2 | end | 0-4294967294,u64max |
| PARAM_VALUE | 3 | fbatch | 5477817204046508032 |
| PARAM_VALUE | 3 | fbatch->i | 0 |
| PARAM_VALUE | 3 | fbatch->nr | 0 |
| CAPPED_DATA | 0 | mapping | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |