Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ntfs/compress.c grab_cache_page_nowait() -> pagecache_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | fgp_flags | 54 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| NOSPEC | 0 | mapping->writeback_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | mapping->writeback_index | 0-524287[c] |
| UNITS | 1 | index | unit_page |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/fuse/readdir.c find_get_page_flags() -> pagecache_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 0-2251799813685247,18444492273895866368-u64max |
| PARAM_VALUE | 2 | fgp_flags | 3 |
| PARAM_VALUE | 3 | gfp | 0 |
| CAPPED_DATA | 1 | index | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | fgp_flags | $2 |
| BIT_INFO | 1 | index | 0x0,0x7ffffffffffff |
| BIT_INFO | 1 | index | 0x0,0x7ffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_page |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/fuse/readdir.c find_lock_page() -> pagecache_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 0-2251799813685247,18444492273895866368-u64max |
| PARAM_VALUE | 2 | fgp_flags | 2 |
| PARAM_VALUE | 3 | gfp | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| BIT_INFO | 1 | index | 0x0,0x7ffffffffffff |
| BIT_INFO | 1 | index | 0x0,0x7ffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_page |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/fuse/readdir.c find_or_create_page() -> pagecache_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | fgp_flags | 7 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 3 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_page |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ceph/caps.c find_get_page() -> pagecache_get_page()
| 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 |
| PARAM_VALUE | 1 | index | 0 |
| PARAM_VALUE | 2 | fgp_flags | 0 |
| PARAM_VALUE | 3 | gfp | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/tests/extent-io-tests.c find_get_page() -> pagecache_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops | 8032838596130566144 |
| PARAM_VALUE | 0 | mapping->flags | 0 |
| PARAM_VALUE | 0 | mapping->gfp_mask | 1051850 |
| PARAM_VALUE | 0 | mapping->host | 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->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->wb_err | 0 |
| PARAM_VALUE | 0 | mapping->writeback_index | 0 |
| PARAM_VALUE | 1 | index | 33024 |
| PARAM_VALUE | 2 | fgp_flags | 0 |
| PARAM_VALUE | 3 | gfp | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| UNITS | 1 | index | unit_page |
fs/btrfs/tests/extent-io-tests.c find_lock_page() -> pagecache_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops | 8032838596130566144 |
| PARAM_VALUE | 0 | mapping->flags | 0 |
| PARAM_VALUE | 0 | mapping->gfp_mask | 1051850 |
| PARAM_VALUE | 0 | mapping->host | 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->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->wb_err | 0 |
| PARAM_VALUE | 0 | mapping->writeback_index | 0 |
| PARAM_VALUE | 1 | index | 16384,32768-1081343 |
| PARAM_VALUE | 2 | fgp_flags | 2 |
| PARAM_VALUE | 3 | gfp | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| UNITS | 1 | index | unit_page |
fs/btrfs/tests/extent-io-tests.c find_or_create_page() -> pagecache_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops | 8032838596130566144 |
| PARAM_VALUE | 0 | mapping->flags | 0 |
| PARAM_VALUE | 0 | mapping->gfp_mask | 1051850 |
| PARAM_VALUE | 0 | mapping->host | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->invalidate_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->wb_err | 0 |
| PARAM_VALUE | 0 | mapping->writeback_index | 0 |
| PARAM_VALUE | 1 | index | 0-u16max |
| PARAM_VALUE | 2 | fgp_flags | 7 |
| PARAM_VALUE | 3 | gfp | 3264 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 3 | gfp | $2 |
| FUZZY_MAX | 1 | index | u16max |
| HARD_MAX | 1 | index | u16max |
| UNITS | 1 | index | unit_page |
fs/isofs/compress.c grab_cache_page_nowait() -> pagecache_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | fgp_flags | 54 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_page |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/squashfs/block.c find_get_page() -> pagecache_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 1-u64max |
| PARAM_VALUE | 1 | index | 0-4503601774854142 |
| PARAM_VALUE | 2 | fgp_flags | 0 |
| PARAM_VALUE | 3 | gfp | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_bytes | |
| UNITS | 1 | index | unit_page |
drivers/mtd/nand/raw/nandsim.c find_get_page() -> pagecache_get_page()
| 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 | 0 | mapping->host->i_sb->s_export_op->fh_to_dentry | 0,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,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 | 1 | index | 0-4503599627370495 |
| PARAM_VALUE | 2 | fgp_flags | 0 |
| PARAM_VALUE | 3 | gfp | 0 |
| CAPPED_DATA | 1 | index | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_bytes | |
| UNITS | 1 | index | unit_page |
drivers/mtd/nand/raw/nandsim.c find_or_create_page() -> pagecache_get_page()
| 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 | 0 | mapping->host->i_sb->s_export_op->fh_to_dentry | 0,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,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 | 1 | index | 0-4503599627370495 |
| PARAM_VALUE | 2 | fgp_flags | 7 |
| PARAM_VALUE | 3 | gfp | 3136 |
| CAPPED_DATA | 1 | index | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 3 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_bytes | |
| UNITS | 1 | index | unit_page |
fs/btrfs/compression.c find_get_page() -> pagecache_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 0-4503599627370494 |
| PARAM_VALUE | 2 | fgp_flags | 0 |
| PARAM_VALUE | 3 | gfp | 0 |
| CAPPED_DATA | 1 | index | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_page |
| HALF_LOCKED2 | &pool->lock |
fs/ceph/addr.c find_or_create_page() -> pagecache_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | index | 0 |
| PARAM_VALUE | 2 | fgp_flags | 7 |
| CAPPED_DATA | 3 | gfp | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 3 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &mapping->invalidate_lock |