Defined in 1 files as a function:
Referenced in 11 files:
- drivers/mtd/devices/block2mtd.c, line 52
- fs/cramfs/inode.c, line 233
- fs/f2fs/verity.c, line 52
- fs/hfs/bnode.c, line 388
- fs/hfsplus/bitmap.c
- fs/hfsplus/bnode.c, line 501
- fs/hfsplus/btree.c, line 297
- fs/hfsplus/xattr.c, line 182
- fs/ntfs/compress.c, line 644
- fs/ntfs3/inode.c, line 1264
- kernel/events/uprobes.c, line 1061
Smatch caller information:
fs/hfsplus/bitmap.c hfsplus_block_allocate() -> read_mapping_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 0-131071 |
| PARAM_VALUE | 2 | file | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hip->extents_lock | ||
| LOCK2 | &sbi->alloc_mutex | ||
| TYPE_LOCK | (struct hfsplus_inode_info)->extents_lock | ||
| TYPE_LOCK | (struct hfsplus_sb_info)->alloc_mutex |
fs/hfsplus/bitmap.c hfsplus_block_allocate() -> read_mapping_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-131071 |
| PARAM_VALUE | 2 | file | 0 |
| CAPPED_DATA | 1 | index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hip->extents_lock | ||
| LOCK2 | &sbi->alloc_mutex | ||
| TYPE_LOCK | (struct hfsplus_inode_info)->extents_lock | ||
| TYPE_LOCK | (struct hfsplus_sb_info)->alloc_mutex |
fs/hfsplus/bitmap.c hfsplus_block_allocate() -> read_mapping_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-131071 |
| PARAM_VALUE | 2 | file | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hip->extents_lock | ||
| LOCK2 | &sbi->alloc_mutex | ||
| TYPE_LOCK | (struct hfsplus_inode_info)->extents_lock | ||
| TYPE_LOCK | (struct hfsplus_sb_info)->alloc_mutex |
fs/hfsplus/bitmap.c hfsplus_block_free() -> read_mapping_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | file | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sbi->alloc_mutex | ||
| HALF_LOCKED2 | &hip->extents_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct hfsplus_sb_info)->alloc_mutex |
fs/hfsplus/bitmap.c hfsplus_block_free() -> read_mapping_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-u32max |
| PARAM_VALUE | 2 | file | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sbi->alloc_mutex | ||
| HALF_LOCKED2 | &hip->extents_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct hfsplus_sb_info)->alloc_mutex |
fs/cramfs/inode.c cramfs_blkdev_read() -> read_mapping_page()
| 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_op->get_acl | 0,434817594022129664,1176132492164517888,2308293591809245184,2352177825799393280,5894181231315005440,7161457072544161792,8358186677320523776 |
| PARAM_VALUE | 0 | mapping->host->i_op->get_offset_ctx | 0,2606890545167454208 |
| PARAM_VALUE | 0 | mapping->host->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | mapping->host->i_op->sync_lazytime | 0,6951464784224747520 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| 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,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->host->i_sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mapping->host->i_sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | index | 0-1048578 |
| PARAM_VALUE | 2 | file | 0 |
| CAPPED_DATA | 1 | index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_page |
| LOCK2 | global &read_mutex |
fs/hfsplus/bnode.c __hfs_bnode_create() -> read_mapping_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | file | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_page |
drivers/mtd/devices/block2mtd.c page_read() -> read_mapping_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | file | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | index | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | index | 0-1292716[c] |
| USER_DATA | 1 | index | 0-2251799813685247,18444492273895866368-u64max |
| UNITS | 1 | index | unit_page |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &dev->write_mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock |
fs/ntfs/compress.c ntfs_read_compressed_block() -> read_mapping_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | file | 0 |
| DATA_SOURCE | 1 | index | r ntfs_cluster_to_pidx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ntfs_cb_lock | ||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &ni->runlist.lock |
fs/hfs/bnode.c __hfs_bnode_create() -> read_mapping_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | file | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/ntfs3/inode.c inode_read_data() -> read_mapping_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | file | 0 |
fs/f2fs/verity.c pagecache_read() -> read_mapping_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_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 | 1 | index | 0-2251799813685247,18444492273895866368-u64max |
| PARAM_VALUE | 2 | file | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_page |
kernel/events/uprobes.c __copy_insn() -> read_mapping_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops->read_folio | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-2251799813685247,18444492273895866368-u64max |
| PARAM_VALUE | 2 | file | 4096-ptr_max |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 2 | file | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_page |
| LOCK2 | &uprobe->consumer_rwsem | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &uprobe->register_rwsem | ||
| TYPE_LOCK | (struct uprobe)->consumer_rwsem |
fs/hfsplus/xattr.c hfsplus_write_attributes_file_node() -> read_mapping_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | file | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/hfsplus/btree.c hfsplus_btree_open() -> read_mapping_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 0 |
| PARAM_VALUE | 2 | file | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |