Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/ocfs2/inode.c ocfs2_filecheck_repair_inode_block() -> ocfs2_compute_meta_ecc()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info->osb_ecc_stats.b_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sb->s_fs_info->osb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 2 bc 4096-ptr_max
DATA_SOURCE 0 sb $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
UNITS 1 data unit_byte

fs/ocfs2/localalloc.c ocfs2_begin_local_alloc_recovery() -> ocfs2_compute_meta_ecc()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_bdev->bd_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 2 bc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
UNITS 1 data unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/alloc.c ocfs2_begin_truncate_log_recovery() -> ocfs2_compute_meta_ecc()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 2 bc 4096-ptr_max
NOCHECK_CALL
UNITS 0 sb unit_byte
UNITS 1 data unit_byte

fs/ocfs2/journal.c ocfs2_journal_toggle_dirty() -> ocfs2_compute_meta_ecc()

Type Parameter Key Value
PARAM_VALUE 0 sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 2 bc 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sb unit_byte
UNITS 1 data unit_byte

fs/ocfs2/journal.c ocfs2_replay_journal() -> ocfs2_compute_meta_ecc()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 2 bc 4096-ptr_max
NOCHECK_CALL
UNITS 0 sb unit_byte
UNITS 1 data unit_byte

fs/ocfs2/buffer_head_io.c ocfs2_write_super_or_backup() -> ocfs2_compute_meta_ecc()

Type Parameter Key Value
PARAM_VALUE 2 bc 4096-ptr_max
CAPABLE 0 24
NOCHECK_CALL
UNITS 0 sb unit_byte
UNITS 1 data unit_byte
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem