Defined in 3 files as a member:
- fs/direct-io.c, line 87 (as a member)
- fs/mpage.c, line 138 (as a member)
- fs/mpage.c, line 421 (as a member)
Defined in 2 files as a function:
- drivers/md/dm-era-target.c, line 1224 (as a function)
- fs/minix/itree_common.c, line 153 (as a function)
Referenced in 14 files:
- drivers/md/dm-era-target.c
- fs/buffer.c
- fs/direct-io.c
- fs/ext4/ext4.h, line 4070
- fs/ext4/inode.c
- fs/internal.h, line 37
- fs/minix/itree_common.c, line 314
- fs/minix/itree_v1.c, line 56
- fs/minix/itree_v2.c, line 64
- fs/mpage.c
- fs/ocfs2/aops.c
- include/linux/buffer_head.h
- include/linux/fs.h
- include/linux/mpage.h
Smatch caller information:
drivers/md/dm-era-target.c era_map() -> get_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| BUF_SIZE | 0 | inode | 16,40-s32max |
| BUF_SIZE | 0 | inode | 16,40-s32max |
| BUF_SIZE | 1 | block | (-1),144 |
| BUF_SIZE | 1 | block | (-1),144 |
| DATA_SOURCE | 1 | block | $1 |
| NOSPEC | 1 | block->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | block->bi_iter.bi_size | 0[c] |
| HOST_DATA | 1 | block->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 1 | block->bi_ioprio | 0-u16max |
| USER_DATA | 1 | block->bi_iter.bi_size | 0 |
| USER_DATA | 1 | block->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 1 | block->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | block->bi_pool->bvec_pool.min_nr | |
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-era-target.c process_deferred_bios() -> get_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | block | r bio_list_pop |
| NO_OVERFLOW_SIMPLE | 0 | inode->digest.info.array_info.btree_info.tm->real->bm->bufio->block_size | |
| NO_OVERFLOW_SIMPLE | 0 | inode->md->bitset_info.array_info.btree_info.tm->bm->bufio->block_size | |
| NO_OVERFLOW_SIMPLE | 0 | inode->md->era_array_info.btree_info.tm->bm->bufio->block_size | |
| UNITS | 1 | block | unit_jiffy |
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-era-target.c process_deferred_bios() -> get_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 4096-ptr_max |
| CAPPED_DATA | 0 | inode->md->bitset_info.array_info.btree_info.levels | 1 |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | block | r bio_list_pop |
| NO_OVERFLOW_SIMPLE | 0 | inode->digest.info.array_info.btree_info.tm->real->bm->bufio->block_size | |
| NO_OVERFLOW_SIMPLE | 0 | inode->md->bitset_info.array_info.btree_info.tm->bm->bufio->block_size | |
| NO_OVERFLOW_SIMPLE | 0 | inode->md->bm->bufio->slab_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | inode->md->era_array_info.btree_info.tm->bm->bufio->block_size | |
| UNITS | 1 | block | unit_jiffy |
| HALF_LOCKED2 | &pool->lock |
fs/minix/itree_v1.c V1_minix_get_block() -> get_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| 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_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 3 | create | 0-1 |
| BUF_SIZE | 2 | bh | (-1)-s32max |
| BUF_SIZE | 2 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | block | $1 |
| DATA_SOURCE | 2 | bh | $2 |
| DATA_SOURCE | 3 | create | $3 |
| HARD_MAX | 3 | create | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | block | 0-s32max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_ino | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size |
fs/minix/itree_v2.c V2_minix_get_block() -> get_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| 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_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 3 | create | 0-1 |
| BUF_SIZE | 2 | bh | (-1)-s32max |
| BUF_SIZE | 2 | bh | (-1)-s32max |
| DATA_SOURCE | 0 | inode | $0 |
| DATA_SOURCE | 1 | block | $1 |
| DATA_SOURCE | 2 | bh | $2 |
| DATA_SOURCE | 3 | create | $3 |
| HARD_MAX | 3 | create | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | block | 0-s32max |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_ino | |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_size | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size |
fs/buffer.c block_truncate_page() -> block_truncate_page param 2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 3 | create | 0 |
| BUF_SIZE | 2 | bh | (-1)-s32max |
| BUF_SIZE | 2 | bh | (-1)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | block | 0-9223372036854771712[c] |
| NO_OVERFLOW_SIMPLE | 0 | inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 2 | bh->b_size |
fs/mpage.c do_mpage_readpage() -> (struct mpage_readpage_args)->get_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | inode | 4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_data.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 | inode->i_data.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_data.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 | inode->i_data.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 | inode->i_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 | inode->i_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 | inode->i_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 | 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->get_acl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | inode->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| 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,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | inode->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 1 | block | 0-9223372036854775806 |
| PARAM_VALUE | 2 | bh | 4611558233697423392,7983777379158966304 |
| PARAM_VALUE | 2 | bh->b_folio | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_folio->mapping | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_page | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_state | 0 |
| PARAM_VALUE | 3 | create | 0 |
| BUF_SIZE | 2 | bh | 168 |
| CAPPED_DATA | 1 | block | 1 |
| CAPPED_DATA | 1 | block | 1 |
| CONTAINER | 2 | -208+32 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | bh->b_blocknr | |
| HALF_LOCKED2 | &mapping->invalidate_lock |