Defined in 2 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- fs/f2fs/checkpoint.c, line 472
- fs/f2fs/compress.c, line 1924
- fs/f2fs/data.c
- fs/f2fs/extent_cache.c
- fs/f2fs/f2fs.h, line 3811
- fs/f2fs/file.c
- fs/f2fs/gc.c
- fs/f2fs/node.c
- fs/f2fs/recovery.c
- fs/f2fs/segment.c, line 346
Smatch caller information:
fs/f2fs/gc.c ra_data_block() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | type | 8 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
| LOCK2 | &sbi->gc_lock.internal_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->cp_global_sem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->cp_rwsem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->pin_sem.internal_rwsem |
fs/f2fs/gc.c ra_data_block() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
| LOCK2 | &sbi->gc_lock.internal_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->cp_global_sem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->cp_rwsem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->pin_sem.internal_rwsem |
fs/f2fs/segment.c __f2fs_commit_atomic_write() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi->current_reserved_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->discard_blks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_root.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->raw_super->feature | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->total_valid_block_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->unusable_block_count | 0-4294967295 |
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 1 | blkaddr | r f2fs_data_blkaddr |
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &sbi->cp_rwsem.internal_rwsem | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/f2fs/recovery.c do_recover_data() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.sbi | 4096-ptr_max |
| 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->nm_info | 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->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_set_root.xa_flags | 0,67108864-u32max |
| 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->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_fs_info->error_dirty | 0-1 |
| PARAM_VALUE | 0 | sbi->stat_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner | (-1) |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 5 |
| CAPPED_DATA | 0 | sbi->sb | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | blkaddr | r f2fs_data_blkaddr |
| LOCK2 | 0 | &sbi->cp_global_sem.internal_rwsem | |
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/recovery.c do_recover_data() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.sbi | 4096-ptr_max |
| 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->nm_info | 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->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_set_root.xa_flags | 0,67108864-u32max |
| 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->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_fs_info->error_dirty | 0-1 |
| PARAM_VALUE | 0 | sbi->stat_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner | (-1) |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 5 |
| CAPPED_DATA | 0 | sbi->sb | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | blkaddr | r data_blkaddr |
| LOCK2 | 0 | &sbi->cp_global_sem.internal_rwsem | |
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/recovery.c do_recover_data() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.sbi | 4096-ptr_max |
| 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->nm_info | 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->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_set_root.xa_flags | 0,67108864-u32max |
| 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->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_fs_info->error_dirty | 0-1 |
| PARAM_VALUE | 0 | sbi->stat_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner | (-1) |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | blkaddr | 1-4294967294 |
| PARAM_VALUE | 2 | type | 5 |
| CAPPED_DATA | 0 | sbi->sb | 1 |
| CAPPED_DATA | 1 | blkaddr | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | blkaddr | r data_blkaddr |
| LOCK2 | 0 | &sbi->cp_global_sem.internal_rwsem | |
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/recovery.c do_recover_data() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.sbi | 4096-ptr_max |
| 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->nm_info | 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->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_set_root.xa_flags | 0,67108864-u32max |
| 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->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_fs_info->error_dirty | 0-1 |
| PARAM_VALUE | 0 | sbi->stat_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner | (-1) |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | blkaddr | 1-4294967294 |
| PARAM_VALUE | 2 | type | 9 |
| CAPPED_DATA | 0 | sbi->sb | 1 |
| CAPPED_DATA | 1 | blkaddr | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | blkaddr | r data_blkaddr |
| UNITS | 1 | blkaddr | unit_page |
| LOCK2 | 0 | &sbi->cp_global_sem.internal_rwsem | |
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/recovery.c find_fsync_dnodes() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->meta_inode->i_sb->s_cop->inode_info_offs | 1632,1720,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,2632,2648 |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 5 |
| CAPPED_DATA | 0 | sbi->sb | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| UNITS | 1 | blkaddr | unit_page |
| LOCK2 | 0 | &sbi->cp_global_sem.internal_rwsem | |
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/recovery.c recover_data() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->alloc_valid_block_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->iostat_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_entries.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_entries.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info->nat_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_set_root.xa_flags | 0,67108864-u32max |
| 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 | 0-1 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| 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,2632,2648 |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->sb->s_fs_info->error_dirty | 0-1 |
| PARAM_VALUE | 0 | sbi->stat_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner | (-1) |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sbi->total_valid_inode_count.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | *sbi->page_eio_cnt | s32min-s32max |
| PARAM_VALUE | 2 | type | 5 |
| CAPPED_DATA | 0 | sbi->sb | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| UNITS | 1 | blkaddr | unit_page |
| LOCK2 | 0 | &sbi->cp_global_sem.internal_rwsem | |
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/recovery.c sanity_check_node_chain() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->cp_global_sem.internal_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sbi->cp_global_sem.sbi | 4096-ptr_max |
| 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->meta_inode->i_sb->s_cop->inode_info_offs | 1632,1720,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,2632,2648 |
| PARAM_VALUE | 0 | sbi->sb | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 5 |
| CAPPED_DATA | 0 | sbi->sb | 1 |
| DATA_SOURCE | 0 | sbi | $0 |
| LOCK2 | 0 | &sbi->cp_global_sem.internal_rwsem | |
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/checkpoint.c f2fs_ra_meta_pages() -> f2fs_is_valid_blkaddr()
| 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.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_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_cop->empty_dir | 0,86,4096-ptr_max |
| 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 | type | 0-3,5 |
| 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 | 2 | type | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sbi->total_sections | |
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | 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->pin_sem.internal_rwsem | |
| HALF_LOCKED2 | 0 | &sbi->umount_mutex |
fs/f2fs/data.c f2fs_do_write_data_page() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | type | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
| HALF_LOCKED2 | &sbi->cp_rwsem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem |
fs/f2fs/data.c f2fs_do_write_data_page() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 7 |
| CAPPED_DATA | 1 | blkaddr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
| HALF_LOCKED2 | &sbi->cp_rwsem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem | ||
| HALF_LOCKED2 | 0 | &sbi->cp_rwsem.internal_rwsem |
fs/f2fs/data.c f2fs_get_read_data_folio() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | type | 8 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | blkaddr | 0-u32max |
| UNITS | 1 | blkaddr | unit_page |
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem |
fs/f2fs/data.c f2fs_get_read_data_folio() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | blkaddr | 1-4294967294 |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | blkaddr | unit_page |
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem |
fs/f2fs/data.c f2fs_merge_page_bio() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| 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 | 1 | blkaddr | 0-4294967294 |
| PARAM_VALUE | 2 | type | 6 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| CAPPED_DATA | 1 | blkaddr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem |
fs/f2fs/data.c f2fs_read_data_large_folio() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | type | 8 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | blkaddr | unit_page |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/f2fs/data.c f2fs_read_multi_pages() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 6 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
fs/f2fs/data.c f2fs_read_single_page() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | type | 8 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | blkaddr | unit_page |
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/f2fs/data.c f2fs_submit_page_bio() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 2 | type | 5,7,10 |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| FUZZY_MAX | 2 | type | 10 |
| HARD_MAX | 2 | type | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem |
fs/f2fs/data.c verify_blkaddr() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | type | 6-7,10 |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | blkaddr | $1 |
| DATA_SOURCE | 2 | type | $2 |
| FUZZY_MAX | 2 | type | 10 |
| BIT_INFO | 2 | type | 0x2,0xf |
| HARD_MAX | 2 | type | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
| LOCK2 | &io->io_rwsem.internal_rwsem | ||
| HALF_LOCKED2 | &fio->sbi->cp_rwsem.internal_rwsem | ||
| HALF_LOCKED2 | &fio->sbi->io_order_lock.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/file.c __read_out_blkaddrs() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 1 | blkaddr | r f2fs_data_blkaddr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | &dst_inode->i_rwsem | ||
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &sbi->cp_rwsem.internal_rwsem | ||
| HALF_LOCKED2 | &dst_inode->i_mapping->invalidate_lock | ||
| HALF_LOCKED2 | &inode->i_mapping->invalidate_lock | ||
| HALF_LOCKED2 | &mapping->invalidate_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/f2fs/file.c f2fs_do_zero_range() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi->total_valid_block_count | 0-4294967295 |
| PARAM_VALUE | 1 | blkaddr | 1-4294967294 |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 1 | blkaddr | r f2fs_data_blkaddr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &mapping->invalidate_lock | ||
| LOCK2 | &sbi->cp_rwsem.internal_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/f2fs/file.c f2fs_sec_trim_file() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->adjust_lock_priority | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->alloc_valid_block_count.lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->alloc_valid_block_count.lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | sbi->allocate_section_hint | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->allocate_section_policy | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->bggc_io_aware | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->blkzone_alloc_policy | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->blocks_per_blkz | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->blocks_per_seg | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->blocksize | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->compr_new_inode | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->compress_percent | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->compress_watermark | 0-4294967295 |
| 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->cur_victim_sec | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->current_reserved_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->data_io_flag | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->dirty_device | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->discard_blks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->donate_files | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->entries_in_sum | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->first_seq_zone_segno | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->flush_lock.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | sbi->fsync_node_num | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->fsync_seg_id | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->gc_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->gc_mode | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->gc_remaining_trials | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->gc_segment_mode | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->hot_data_age_threshold | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->io_skip_bggc | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->iostat_period_ms | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->last_age_weight | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->last_valid_block_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->lock_duration_priority | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->log_blocks_per_seg | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->log_blocksize | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->log_sectors_per_block | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_io_bytes | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_open_zones | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_orphans | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_read_extent_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_victim_search | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->meta_ino_num | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->meta_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | sbi->migration_granularity | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->migration_window_granularity | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nat_journal_entries | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->available_nids | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->dirty_nats_ratio | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->max_nid | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->max_rf_node_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_bits_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_blkaddr | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_root.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_set_root.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->nm_info->next_scan_nid | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->ra_nid_pages | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nm_info->ram_thresh | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->node_ino_num | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->node_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | sbi->node_io_flag | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nquota_files | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->other_skip_bggc | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->page_array_slab_size | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->reserved_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->reserved_pin_section | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->rf_node_block_count.lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | sbi->root_ino_num | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->s_chksum_seed | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->secs_per_zone | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->segs_per_sec | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->seq_file_ra_mul | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->shrinker_run_no | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sit_journal_entries | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->ipu_policy | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->main_blkaddr | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->main_segments | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->min_fsync_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->min_hot_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->min_ipu_util | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->min_seq_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->min_ssr_sections | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->ovp_segments | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->rec_prefree_segments | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->reserved_segments | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->seg0_blkaddr | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->segment_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sm_info->ssa_blkaddr | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sum_blocksize | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sum_entry_size | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sum_journal_size | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sums_per_block | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->total_node_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->total_sections | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->total_valid_block_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->total_valid_node_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->unusable_block_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->unusable_blocks_per_sec | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->user_block_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->warm_data_age_threshold | 0-4294967295 |
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 1 | blkaddr | r f2fs_data_blkaddr |
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &mapping->invalidate_lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/f2fs/file.c f2fs_seek_block() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 1 | blkaddr | r f2fs_data_blkaddr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/f2fs/file.c release_compress_blocks() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 1 | blkaddr | r data_blkaddr |
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | &inode->i_mapping->invalidate_lock | ||
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &sbi->cp_rwsem.internal_rwsem | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/f2fs/file.c reserve_compress_blocks() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 1 | blkaddr | r data_blkaddr |
| UNITS | 0 | sbi | unit_byte |
| LOCK2 | &inode->i_mapping->invalidate_lock | ||
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &sbi->cp_rwsem.internal_rwsem | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/f2fs/node.c __write_node_folio() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info | 4096-ptr_max |
| 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->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sbi->node_write.read_waiters.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->node_write.read_waiters.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->node_write.sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 0 | sbi | r F2FS_F_SB |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | blkaddr | unit_page |
| LOCK2 | 0 | &sbi->node_write.internal_rwsem | |
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/f2fs/node.c f2fs_get_node_info() -> f2fs_is_valid_blkaddr()
| 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 |
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| BUF_SIZE | 0 | sbi | (-1),1-s32max |
| DATA_SOURCE | 0 | sbi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
| 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 |
fs/f2fs/node.c truncate_node() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->nm_info | 4096-ptr_max |
| 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->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sbi->nm_info->nat_tree_lock.internal_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | blkaddr | 0-4294967294 |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
| HALF_LOCKED2 | &sbi->cp_rwsem.internal_rwsem |
fs/f2fs/extent_cache.c __get_new_block_age() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 0 | sbi->adjust_lock_priority | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->aligned_blksize | 0-1 |
| PARAM_VALUE | 0 | sbi->allocate_section_hint | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->allocate_section_policy | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->bggc_io_aware | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->blkzone_alloc_policy | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->blocks_per_blkz | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->blocks_per_seg | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->blocksize | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->carve_out | 0-1 |
| PARAM_VALUE | 0 | sbi->compr_new_inode | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->compress_percent | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->compress_watermark | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->cur_cp_pack | s32min-s32max |
| PARAM_VALUE | 0 | sbi->cur_victim_sec | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->current_reserved_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->data_io_flag | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->dir_level | s32min-s32max |
| PARAM_VALUE | 0 | sbi->dirty_device | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->discard_blks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->donate_files | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->entries_in_sum | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->error_dirty | 0-1 |
| PARAM_VALUE | 0 | sbi->first_seq_zone_segno | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->fsync_node_num | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->fsync_seg_id | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->gc_mode | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->gc_pin_file_threshold | 0-u16max |
| PARAM_VALUE | 0 | sbi->gc_remaining_trials | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->gc_segment_mode | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->hot_data_age_threshold | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->io_skip_bggc | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->iostat_enable | 0-1 |
| PARAM_VALUE | 0 | sbi->iostat_period_ms | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->last_age_weight | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->last_valid_block_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->lock_duration_priority | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->log_blocks_per_seg | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->log_blocksize | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->log_sectors_per_block | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_fragment_chunk | s32min-s32max |
| PARAM_VALUE | 0 | sbi->max_fragment_hole | s32min-s32max |
| PARAM_VALUE | 0 | sbi->max_io_bytes | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_open_zones | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_orphans | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_read_extent_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->max_victim_search | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->meta_ino_num | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->migration_granularity | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->migration_window_granularity | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nat_journal_entries | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->node_ino_num | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->node_io_flag | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->nquota_files | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->other_skip_bggc | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->page_array_slab_size | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->readdir_ra | 0-1 |
| PARAM_VALUE | 0 | sbi->reserved_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->reserved_pin_section | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->root_ino_num | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->s_chksum_seed | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->s_ndevs | s32min-s32max |
| PARAM_VALUE | 0 | sbi->secs_per_zone | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->segs_per_sec | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->seq_file_ra_mul | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->shrinker_run_no | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sit_journal_entries | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->stop_reason_dirty | 0-1 |
| PARAM_VALUE | 0 | sbi->sum_blocksize | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sum_entry_size | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sum_journal_size | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->sums_per_block | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->total_node_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->total_sections | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->total_valid_block_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->total_valid_node_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->unusable_block_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->unusable_blocks_per_sec | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->user_block_count | 0-4294967295 |
| PARAM_VALUE | 0 | sbi->valid_super_block | s32min-s32max |
| PARAM_VALUE | 0 | sbi->warm_data_age_threshold | 0-4294967295 |
| PARAM_VALUE | 1 | blkaddr | 1-4294967293 |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| DATA_SOURCE | 1 | blkaddr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
fs/f2fs/extent_cache.c sanity_check_extent_cache() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem |
fs/f2fs/extent_cache.c sanity_check_extent_cache() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 7 |
| BUF_SIZE | 0 | sbi | 1-s32max |
| BUF_SIZE | 0 | sbi | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
| HALF_LOCKED2 | &sbi->gc_lock.internal_rwsem |
fs/f2fs/compress.c f2fs_cache_compressed_page() -> f2fs_is_valid_blkaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbi | 4096-ptr_max |
| PARAM_VALUE | 1 | blkaddr | 1-u32max |
| PARAM_VALUE | 2 | type | 8 |
| DATA_SOURCE | 0 | sbi | $0 |
| DATA_SOURCE | 1 | blkaddr | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sbi | unit_byte |
| UNITS | 1 | blkaddr | unit_page |
| HALF_LOCKED2 | &pool->lock |