Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ext4/mballoc.c ext4_free_blocks_simple() -> ext4_mb_mark_context()

Type Parameter Key Value
PARAM_VALUE 0 handle 0
PARAM_VALUE 1 sb 4096-ptr_max
PARAM_VALUE 2 state 0
PARAM_VALUE 6 flags 3
PARAM_VALUE 7 ret_changed 0
BUF_SIZE 1 sb s32min,(-10),(-1),1-s32max
BUF_SIZE 1 sb s32min,(-10),(-1),1-s32max
DATA_SOURCE 5 len $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 sb->s_flags 0-u64max[c]
USER_DATA 3 group 0-u32max
USER_DATA 4 blkoff 0-s32max[c]
USER_DATA 5 len 0-s32max[c]
NO_OVERFLOW_SIMPLE 1 sb->s_blocksize
NO_OVERFLOW_SIMPLE 1 sb->s_blocksize_bits
UNITS 1 sb unit_byte

fs/ext4/mballoc.c ext4_group_add_blocks() -> ext4_mb_mark_context()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 handle->h_transaction->t_journal->j_revoke_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 1 sb 4096-ptr_max
PARAM_VALUE 1 sb->s_bdev->bd_mapping 4096-ptr_max
PARAM_VALUE 1 sb->s_cop->empty_dir 0,4096-ptr_max
PARAM_VALUE 1 sb->s_cop->inode_info_offs 1632,1808,2632,2648
PARAM_VALUE 1 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 sb->s_fs_info->s_add_error_count s32min-s32max
PARAM_VALUE 1 sb->s_fs_info->s_addr_per_block_bits s32min-s32max
PARAM_VALUE 1 sb->s_fs_info->s_awu_max 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_awu_min 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_bdev_wb_err 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_bdev_wb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 sb->s_fs_info->s_blockfile_groups 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_cluster_bits 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_cluster_ratio 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_csum_seed 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_def_hash_version s32min-s32max
PARAM_VALUE 1 sb->s_fs_info->s_def_mount_opt 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_def_mount_opt2 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_desc_per_block_bits s32min-s32max
PARAM_VALUE 1 sb->s_fs_info->s_es 4096-ptr_max
PARAM_VALUE 1 sb->s_fs_info->s_extent_max_zeroout_kb 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_fc_bytes 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_fc_debug_max_replay s32min-s32max
PARAM_VALUE 1 sb->s_fs_info->s_fc_ineligible_tid 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_first_error_code s32min-s32max
PARAM_VALUE 1 sb->s_fs_info->s_first_error_ino 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_first_error_line 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_first_ino s32min-s32max
PARAM_VALUE 1 sb->s_fs_info->s_flex_groups_allocated 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_group_info_size 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_groups_count 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_hash_unsigned s32min-s32max
PARAM_VALUE 1 sb->s_fs_info->s_inode_goal 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_inode_readahead_blks 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_inode_size s32min-s32max
PARAM_VALUE 1 sb->s_fs_info->s_jquota_fmt s32min-s32max
PARAM_VALUE 1 sb->s_fs_info->s_last_error_code s32min-s32max
PARAM_VALUE 1 sb->s_fs_info->s_last_error_ino 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_last_error_line 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_li_wait_mult 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_log_groups_per_flex 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_max_batch_time 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_max_dir_size_kb 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_max_folio_order 0-u16max
PARAM_VALUE 1 sb->s_fs_info->s_mb_best_avail_max_trim_order 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_mb_group_prealloc 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_mb_max_linear_groups 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_mb_max_to_scan 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_mb_min_to_scan 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_mb_nr_global_goals 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_mb_order2_reqs 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_mb_prefetch 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_mb_prefetch_limit 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_mb_stats 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_mb_stream_request 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_min_batch_time 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_min_folio_order 0-u16max
PARAM_VALUE 1 sb->s_fs_info->s_mount_opt 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_mount_opt2 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_mount_state 0-u16max
PARAM_VALUE 1 sb->s_fs_info->s_pad 0-u16max
PARAM_VALUE 1 sb->s_fs_info->s_sb_update_kb 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_sb_update_sec 0-4294967295
PARAM_VALUE 1 sb->s_fs_info->s_want_extra_isize 0-4294967295
PARAM_VALUE 1 sb->s_op->show_path 0,4096-ptr_max
PARAM_VALUE 2 state 0
PARAM_VALUE 3 group 0-4294967294
PARAM_VALUE 6 flags 1
PARAM_VALUE 7 ret_changed 4306486321732452352
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
CAPPED_DATA 1 sb->s_fs_info->s_es->s_first_data_block 1
CAPPED_DATA 3 group 1
DATA_SOURCE 0 handle $0
DATA_SOURCE 1 sb $1
UNITS 1 sb unit_byte

fs/ext4/mballoc.c ext4_mb_clear_bb() -> ext4_mb_mark_context()

Type Parameter Key Value
PARAM_VALUE 0 handle->h_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_checksum_type 4
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_header.h_blocktype 0-2,4-u32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_header.h_magic 3225106840
PARAM_VALUE 1 sb 4096-ptr_max
PARAM_VALUE 1 sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 1 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 sb->s_op->get_dquots 0,4096-ptr_max
PARAM_VALUE 1 sb->s_op->quota_read 0,4096-ptr_max
PARAM_VALUE 1 sb->s_op->show_stats 0,4096-ptr_max
PARAM_VALUE 1 sb->s_op->shutdown 0,4096-ptr_max
PARAM_VALUE 1 sb->s_op->thaw_super 0,4096-ptr_max
PARAM_VALUE 2 state 0
PARAM_VALUE 3 group 0-4294967294
PARAM_VALUE 6 flags 0
PARAM_VALUE 7 ret_changed 7789988653825638400
BUF_SIZE 0 handle (-1)-s32max
BUF_SIZE 0 handle (-1)-s32max
CAPPED_DATA 3 group 1
DATA_SOURCE 0 handle $0
STR_LEN 0 handle (-1)-1
STR_LEN 0 handle (-1)-1
NOSPEC 3 group
NOSPEC 3 group
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 sb->s_flags 0-u64max[c]
USER_DATA 1 sb->s_fs_info->s_first_error_block s64min-s64max[c]
USER_DATA 1 sb->s_fs_info->s_first_error_ino 0-4294967295
USER_DATA 3 group 0-4294967294[c]
USER_DATA 4 blkoff 0-s32max[c]
USER_DATA 5 len s32min-s32max
USER_DATA 7 *ret_changed s32min-s32max
NO_OVERFLOW_SIMPLE 1 sb->s_blocksize
NO_OVERFLOW_SIMPLE 1 sb->s_blocksize_bits
UNITS 1 sb unit_byte
UNITS 3 group unit_byte
USER_PTR 7 ret_changed
HALF_LOCKED2 &inode->i_rwsem

fs/ext4/mballoc.c ext4_mb_mark_bb() -> ext4_mb_mark_context()

Type Parameter Key Value
PARAM_VALUE 0 handle 0
PARAM_VALUE 1 sb 4096-ptr_max
PARAM_VALUE 1 sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 1 sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 1 sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 1 sb->s_export_op->fh_to_parent 0,4672,5297,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max
PARAM_VALUE 1 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 sb->s_fs_info->s_es s64min-(-4096),4096-s64max
PARAM_VALUE 1 sb->s_op->get_dquots 0,4096-ptr_max
PARAM_VALUE 1 sb->s_op->quota_read 0,4096-ptr_max
PARAM_VALUE 1 sb->s_op->show_stats 0,4096-ptr_max
PARAM_VALUE 1 sb->s_op->shutdown 0,4096-ptr_max
PARAM_VALUE 1 sb->s_op->thaw_super 0,4096-ptr_max
PARAM_VALUE 6 flags 3
PARAM_VALUE 7 ret_changed 0
CAPPED_DATA 1 sb->s_fs_info->s_es->s_first_data_block 1
DATA_SOURCE 1 sb $0
DATA_SOURCE 2 state $3
RX_PATH
TASK_NOT_RUNNING
UNITS 1 sb unit_byte

fs/ext4/mballoc.c ext4_mb_mark_diskspace_used() -> ext4_mb_mark_context()

Type Parameter Key Value
PARAM_VALUE 0 handle->h_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_checksum_type 4
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_header.h_blocktype 1-2,5
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_header.h_magic 3225106840
PARAM_VALUE 1 sb 4096-ptr_max
PARAM_VALUE 1 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 2 state 1
PARAM_VALUE 3 group 0-4294967294
PARAM_VALUE 5 len 1-s32max
PARAM_VALUE 6 flags 0
PARAM_VALUE 7 ret_changed 0
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 1 sb s32min,(-10),(-1),1-s32max
BUF_SIZE 1 sb s32min,(-10),(-1),1-s32max
CAPPED_DATA 1 sb->s_fs_info->s_group_desc 1
CAPPED_DATA 3 group 1
DATA_SOURCE 0 handle $1
STR_LEN 0 handle (-1)-1
STR_LEN 0 handle (-1)-1
NOSPEC 3 group
NOSPEC 5 len
NOSPEC 5 len
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 group 0-4294967294[c]
USER_DATA 4 blkoff 0-s32max[c]
USER_DATA 5 len 2-s32max[c]
UNITS 1 sb unit_byte
UNITS 3 group unit_byte
UNITS 4 blkoff unit_byte
UNITS 5 len unit_byte

fs/ext4/mballoc.c ext4_mb_mark_diskspace_used() -> ext4_mb_mark_context()

Type Parameter Key Value
PARAM_VALUE 0 handle->h_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_checksum_type 4
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_errno 0-4294967187,4294967189-u32max
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_header.h_blocktype 1-2,5
PARAM_VALUE 0 handle->h_transaction->t_journal->j_superblock->s_header.h_magic 3225106840
PARAM_VALUE 1 sb 4096-ptr_max
PARAM_VALUE 1 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 2 state 1
PARAM_VALUE 3 group 0-4294967294
PARAM_VALUE 5 len 1-s32max
PARAM_VALUE 6 flags 0
PARAM_VALUE 7 ret_changed 1342127729997160448
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 0 handle (-1),1-s32max
BUF_SIZE 1 sb s32min,(-10),(-1),1-s32max
BUF_SIZE 1 sb s32min,(-10),(-1),1-s32max
CAPPED_DATA 1 sb->s_fs_info->s_group_desc 1
CAPPED_DATA 3 group 1
DATA_SOURCE 0 handle $1
STR_LEN 0 handle (-1)-1
STR_LEN 0 handle (-1)-1
NOSPEC 3 group
NOSPEC 5 len
NOSPEC 5 len
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 group 0-4294967294[c]
USER_DATA 4 blkoff 0-s32max[c]
USER_DATA 5 len 2-s32max[c]
UNITS 1 sb unit_byte
UNITS 3 group unit_byte
UNITS 4 blkoff unit_byte
UNITS 5 len unit_byte