Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/f2fs/checkpoint.c f2fs_get_meta_folio() -> __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_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_op->get_acl | 0,434817594022129664,1176132492164517888,2308293591809245184,2352177825799393280,5894181231315005440,7161457072544161792,8358186677320523776 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_op->get_offset_ctx | 0,2606890545167454208 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_op->sync_lazytime | 0,6951464784224747520 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| 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->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_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->node_inode->i_mapping->i_mmap_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->s_feature_list_kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->s_kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->s_stat_kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| 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_root->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->sb->s_root->d_inode->i_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 |
| PARAM_VALUE | 2 | is_meta | 1 |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi->ckpt | (-1)-s32max |
| BUF_SIZE | 0 | sbi->nm_info | (-1),992 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | index | $1 |
| STR_LEN | 0 | sbi->sb | (-1) |
| NOSPEC | 0 | sbi->meta_inode->i_ino | |
| NOSPEC | 0 | sbi->node_inode->i_ino | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sbi->meta_inode->__i_nlink | 1-u32max |
| USER_DATA | 0 | sbi->meta_inode->i_ino | 0-u32max |
| USER_DATA | 0 | sbi->meta_inode->i_sb->s_flags | 0-2147550208[c] |
| USER_DATA | 0 | sbi->node_inode->__i_nlink | 1-u32max |
| USER_DATA | 0 | sbi->node_inode->i_ino | 0-u32max |
| USER_DATA | 0 | sbi->node_inode->i_sb->s_flags | 0-2147550208[c] |
| USER_DATA | 0 | sbi->sb->s_flags | 0-2181237759[c] |
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->cp_global_sem.sbi->total_sections | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->cp_rwsem.sbi->total_sections | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->gc_lock.sbi->total_sections | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_sb->s_blocksize_bits | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_change.sbi->total_sections | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_sb->s_blocksize_bits | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_write.sbi->total_sections | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections | |
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | index | unit_page |
| 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 |
fs/f2fs/checkpoint.c f2fs_get_meta_folio_retry() -> __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_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_op->get_acl | 0,434817594022129664,1176132492164517888,2308293591809245184,2352177825799393280,5894181231315005440,7161457072544161792,8358186677320523776 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_op->get_offset_ctx | 0,2606890545167454208 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_op->sync_lazytime | 0,6951464784224747520 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| 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->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_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->node_inode->i_mapping->i_mmap_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->s_feature_list_kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->s_kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->s_stat_kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| 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_root->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sbi->sb->s_root->d_inode->i_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 |
| PARAM_VALUE | 2 | is_meta | 1 |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi->nm_info | (-1),992 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | index | $1 |
| STR_LEN | 0 | sbi->sb | (-1) |
| NOSPEC | 0 | sbi->meta_inode->i_ino | |
| NOSPEC | 0 | sbi->node_inode->i_ino | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sbi->meta_inode->__i_nlink | 1-u32max |
| USER_DATA | 0 | sbi->meta_inode->i_ino | 0-u32max |
| USER_DATA | 0 | sbi->meta_inode->i_sb->s_flags | 0-2147550208[c] |
| USER_DATA | 0 | sbi->node_inode->__i_nlink | 1-u32max |
| USER_DATA | 0 | sbi->node_inode->i_ino | 0-u32max |
| USER_DATA | 0 | sbi->node_inode->i_sb->s_flags | 0-2147550208[c] |
| USER_DATA | 0 | sbi->sb->s_flags | 0-2181237759[c] |
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->compress_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->cp_global_sem.sbi->total_sections | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->cp_rwsem.sbi->total_sections | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->gc_lock.sbi->total_sections | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_sb->s_blocksize_bits | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->meta_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_change.sbi->total_sections | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_mapping->host->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_sb->s_blocksize_bits | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->node_write.sbi->total_sections | |
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections | |
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | index | unit_page |
| HALF_LOCKED2 | &nm_i->nat_tree_lock.internal_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->io_order_lock.internal_rwsem | |
| HALF_LOCKED2 | 0 | &sbi->pin_sem.internal_rwsem | |
| HALF_LOCKED2 | 0 | &sbi->umount_mutex |
fs/f2fs/checkpoint.c f2fs_get_tmp_folio() -> __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->type | 0-1 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| 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->node_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-4294967294,18446744071562067968-18446744073709551614 |
| PARAM_VALUE | 2 | is_meta | 0 |
| CAPPED_DATA | 0 | sbi->sb | 1 |
| CAPPED_DATA | 1 | index | 1 |
| CAPPED_DATA | 1 | index | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | index | $1 |
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections | |
| UNITS | 1 | index | unit_page |
| HALF_LOCKED2 | 0 | &sbi->cp_global_sem.internal_rwsem |