Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/f2fs/data.c __reserve_data_block() -> f2fs_map_unlock()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 0 sbi->node_change.read_waiters.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sbi->node_change.read_waiters.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 lc 2657392173612843008
PARAM_VALUE 2 flag 5
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sbi unit_byte
LOCK2 0 &sbi->node_change.internal_rwsem
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct f2fs_rwsem)->internal_rwsem

fs/f2fs/data.c f2fs_get_block_locked() -> f2fs_map_unlock()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
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_set_root.xa_flags 0-4294967295
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_change.read_waiters.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sbi->node_change.read_waiters.head.prev->next->next 4096-ptr_max
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 1 lc 1942057800952578048
PARAM_VALUE 2 flag 5
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sbi unit_byte
LOCK2 &inode->i_mapping->invalidate_lock
LOCK2 0 &sbi->node_change.internal_rwsem
TYPE_LOCK (struct address_space)->invalidate_lock
TYPE_LOCK (struct f2fs_rwsem)->internal_rwsem

fs/f2fs/data.c prepare_write_begin() -> f2fs_map_unlock()

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 0 sbi->gc_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
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_change.read_waiters.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sbi->node_change.read_waiters.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 sbi->node_inode->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 1 lc 6844093421078138880
PARAM_VALUE 2 flag 0,5
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
DATA_SOURCE 0 sbi $0
FUZZY_MAX 2 flag 5
BIT_INFO 2 flag 0x0,0x5
HARD_MAX 2 flag 5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sbi unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 0 &sbi->node_change.internal_rwsem