Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/ocfs2/alloc.c ocfs2_complete_truncate_log_recovery() -> __ocfs2_flush_truncate_log()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->journal->j_trans_barrier.first_waiter->handoff_set 0-1
PARAM_VALUE 0 osb->journal->j_trans_barrier.first_waiter->type 0-1
PARAM_VALUE 0 osb->osb_tl_bh 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_inode 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 0 osb->sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 osb->sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 osb->sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 osb->sys_root_inode->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
CAPPED_DATA 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_count 1
CAPPED_DATA 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_used 1
DATA_SOURCE 0 osb $0
PARAM_COMPARE 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_count == $0->osb_tl_bh->b_data->id2.i_dealloc.tl_used
LOCK2 &tl_inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/alloc.c ocfs2_flush_truncate_log() -> __ocfs2_flush_truncate_log()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->journal->j_trans_barrier.first_waiter->handoff_set 0-1
PARAM_VALUE 0 osb->journal->j_trans_barrier.first_waiter->type 0-1
PARAM_VALUE 0 osb->osb_tl_inode 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 0 osb->sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 osb->sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 osb->sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 osb->sys_root_inode->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
BUF_SIZE 0 osb (-1),1-s32max
BUF_SIZE 0 osb (-1),1-s32max
DATA_SOURCE 0 osb $0
STR_LEN 0 osb (-1),4
STR_LEN 0 osb (-1),4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 osb unit_byte
LOCK2 &tl_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/alloc.c ocfs2_free_cached_clusters() -> __ocfs2_flush_truncate_log()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->journal->j_trans_barrier.first_waiter->handoff_set 0-1
PARAM_VALUE 0 osb->journal->j_trans_barrier.first_waiter->type 0-1
PARAM_VALUE 0 osb->osb_tl_bh 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_inode 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 0 osb->sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 osb->sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 osb->sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 osb->sys_root_inode->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
CAPPED_DATA 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_count 1
CAPPED_DATA 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_used 1
DATA_SOURCE 0 osb $0
PARAM_COMPARE 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_count == $0->osb_tl_bh->b_data->id2.i_dealloc.tl_used
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 osb unit_byte
LOCK2 &tl_inode->i_rwsem
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/alloc.c ocfs2_remove_btree_range() -> __ocfs2_flush_truncate_log()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_bh 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_inode 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.osq.tail.counter 0-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
CAPPED_DATA 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_count 1
CAPPED_DATA 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_used 1
PARAM_COMPARE 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_count == $0->osb_tl_bh->b_data->id2.i_dealloc.tl_used
RX_PATH
TASK_NOT_RUNNING
UNITS 0 osb unit_byte
LOCK2 &tl_inode->i_rwsem
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/move_extents.c ocfs2_defrag_extent() -> __ocfs2_flush_truncate_log()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_bh 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_inode 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.osq.tail.counter 0-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
CAPPED_DATA 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_count 1
CAPPED_DATA 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_used 1
PARAM_COMPARE 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_count == $0->osb_tl_bh->b_data->id2.i_dealloc.tl_used
UNITS 0 osb unit_byte
LOCK2 &inode->i_rwsem
LOCK2 &tl_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/xattr.c ocfs2_rm_xattr_cluster() -> __ocfs2_flush_truncate_log()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_bh 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_inode 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.osq.tail.counter 0-s32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
CAPPED_DATA 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_count 1
CAPPED_DATA 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_used 1
PARAM_COMPARE 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_count == $0->osb_tl_bh->b_data->id2.i_dealloc.tl_used
RX_PATH
TASK_NOT_RUNNING
UNITS 0 osb unit_byte
LOCK2 &tl_inode->i_rwsem
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &new_inode->i_rwsem
HALF_LOCKED2 &oi->ip_xattr_sem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/xattr.c ocfs2_xattr_set() -> __ocfs2_flush_truncate_log()

Type Parameter Key Value
PARAM_VALUE 0 osb 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_bh 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_inode 4096-ptr_max
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.dep_map->name 0-255
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 0 osb->s_feature_incompat 512-u32max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
CAPPED_DATA 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_count 1
CAPPED_DATA 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_used 1
PARAM_COMPARE 0 osb->osb_tl_bh->b_data->id2.i_dealloc.tl_count == $0->osb_tl_bh->b_data->id2.i_dealloc.tl_used
RX_PATH
TASK_NOT_RUNNING
UNITS 0 osb unit_byte
LOCK2 &tl_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem