Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/f2fs/segment.c get_current_sit_folio() -> f2fs_get_meta_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->raw_super->feature | 0,2-u32max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sm_info | 4096-ptr_max |
| PARAM_VALUE | 0 | *sbi->page_eio_cnt | s32min-s32max |
| PARAM_VALUE | 1 | index | 0-u32max |
| DATA_SOURCE | 0 | sbi | $0 |
fs/f2fs/segment.c read_compacted_summaries() -> f2fs_get_meta_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->ckpt | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sm_info | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-u32max |
| DATA_SOURCE | 0 | sbi | $0 |
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections |
fs/f2fs/segment.c read_compacted_summaries() -> f2fs_get_meta_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->ckpt | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->ckpt->alloc_type | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->ckpt->cur_data_blkoff | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->ckpt->cur_data_segno | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->meta_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->meta_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | sbi->node_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | sbi->raw_super->feature | 0,2-u32max |
| PARAM_VALUE | 0 | sbi->raw_super->sit_blkaddr | 0 |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sm_info | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sum_journal_size | 0-u32max |
| PARAM_VALUE | 1 | index | 0-u32max |
| DATA_SOURCE | 0 | sbi | $0 |
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections |
fs/f2fs/segment.c read_normal_summaries() -> f2fs_get_meta_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->ckpt->cur_node_blkoff | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->ckpt->cur_node_segno | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sm_info | 4096-ptr_max |
| DATA_SOURCE | 0 | sbi | $0 |
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections | |
| UNITS | 1 | index | unit_page |
fs/f2fs/checkpoint.c f2fs_get_valid_checkpoint() -> f2fs_get_meta_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->blocks_per_seg | 1-u32max |
| PARAM_VALUE | 0 | sbi->ckpt | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->ckpt->ckpt_flags | 1024-u32max |
| PARAM_VALUE | 0 | sbi->ckpt->user_block_count | 1-4294967294 |
| PARAM_VALUE | 0 | sbi->ckpt->valid_block_count | 0-4294967294 |
| PARAM_VALUE | 0 | sbi->cur_cp_pack | 1-2 |
| PARAM_VALUE | 0 | sbi->iostat_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->meta_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->raw_super | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->raw_super->segment_count | 1-u32max |
| PARAM_VALUE | 0 | sbi->raw_super->segment_count_main | 1-u32max |
| PARAM_VALUE | 0 | *sbi->page_eio_cnt | s32min-s32max |
| PARAM_VALUE | 1 | index | 0-u32max |
| BUF_SIZE | 0 | sbi->ckpt | (-1)-s32max |
| CAPPED_DATA | 0 | sbi->ckpt->nat_ver_bitmap_bytesize | 1 |
| CAPPED_DATA | 0 | sbi->ckpt->sit_ver_bitmap_bytesize | 1 |
| CAPPED_DATA | 0 | sbi->ckpt->user_block_count | 1 |
| CAPPED_DATA | 0 | sbi->ckpt->valid_block_count | 1 |
| CAPPED_DATA | 0 | sbi->ckpt->valid_node_count | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| FUZZY_MAX | 0 | sbi->cur_cp_pack | 2 |
| PARAM_COMPARE | 0 | sbi->ckpt->user_block_count | >= $0->ckpt->valid_block_count |
| HARD_MAX | 0 | sbi->cur_cp_pack | 2 |
fs/f2fs/checkpoint.c f2fs_recover_orphan_inodes() -> f2fs_get_meta_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->error_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->iostat_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->s_error_work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-u32max |
| CAPPED_DATA | 0 | sbi->s_ndevs | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
fs/f2fs/checkpoint.c get_checkpoint_version() -> f2fs_get_meta_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->ckpt | 16,4096-ptr_max |
| PARAM_VALUE | 0 | sbi->raw_super | 4096-ptr_max |
| BUF_SIZE | 0 | sbi->ckpt | (-1)-s32max |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | index | $1 |
fs/f2fs/node.c __get_nat_bitmaps() -> f2fs_get_meta_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->ckpt | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->build_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->nm_info->build_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->build_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->build_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->dirty_nats_ratio | 10 |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_root.xa_flags | 2080 |
| PARAM_VALUE | 0 | sbi->nm_info->free_nid_root.xa_head | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->max_rf_node_blocks | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_bitmap | 1-u64max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_bits | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_bits_blocks | 1 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_entries.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_entries.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_entries.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_entries.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_entries.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_root.xa_flags | 3072 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_root.xa_head | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_set_root.xa_flags | 3072 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_set_root.xa_head | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.name | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.read_waiters.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.read_waiters.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.read_waiters.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.read_waiters.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.read_waiters.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.sbi | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->nid_cnt | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->ra_nid_pages | 0 |
| PARAM_VALUE | 0 | sbi->nm_info->ram_thresh | 1 |
| PARAM_VALUE | 1 | index | 0-u32max |
| BUF_SIZE | 0 | sbi->nm_info | 992 |
| DATA_SOURCE | 0 | sbi | $0 |
fs/f2fs/node.c f2fs_get_node_info() -> f2fs_get_meta_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_rwsem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_rwsem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->gc_lock.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->gc_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->io_order_lock.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->io_order_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->node_change.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->node_change.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->node_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2712 |
| PARAM_VALUE | 0 | sbi->node_write.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->node_write.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->pin_sem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->pin_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->quota_sem.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->quota_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->sb->s_bdi->wb_switch_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->sb->s_bdi->wb_switch_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->sb_lock.internal_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->sb_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | *sbi->next_victim_seg | 0-4294967295 |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | index | r current_nat_addr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->cp_rwsem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem | ||
| HALF_LOCKED2 | &src_inode->i_rwsem | ||
| HALF_LOCKED2 | 0 | &sbi->cp_global_sem.internal_rwsem | |
| HALF_LOCKED2 | 0 | &sbi->cp_rwsem.internal_rwsem | |
| HALF_LOCKED2 | 0 | &sbi->gc_lock.internal_rwsem | |
| HALF_LOCKED2 | 0 | &sbi->pin_sem.internal_rwsem |