Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ocfs2/localalloc.c ocfs2_local_alloc_reserve_for_window() -> ocfs2_reserve_cluster_bitmap_bits()

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->la_enable_wq.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 osb->la_enable_wq.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 osb->la_enable_wq.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 osb->local_alloc_bh 4096-ptr_max
PARAM_VALUE 0 osb->local_alloc_bh->b_data 4096-ptr_max
PARAM_VALUE 0 osb->local_alloc_state 1-3
PARAM_VALUE 0 osb->osb_lock.rlock.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->type 0-1
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
PARAM_VALUE 1 ac 4096-ptr_max
BUF_SIZE 0 osb 1-s32max
BUF_SIZE 0 osb 1-s32max
DATA_SOURCE 0 osb $0
DATA_SOURCE 1 ac r _kzalloc_noprof
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 &local_alloc_inode->i_rwsem
HALF_LOCKED2 &alloc_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/suballoc.c ocfs2_reserve_clusters_with_limit() -> ocfs2_reserve_cluster_bitmap_bits()

Type Parameter Key Value
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->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 osb->osb_tl_inode->i_rwsem.first_waiter->type 0-1
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
PARAM_VALUE 1 ac 4096-ptr_max
BUF_SIZE 0 osb (-1),1-s32max
BUF_SIZE 0 osb (-1),1-s32max
DATA_SOURCE 0 osb $0
DATA_SOURCE 1 ac r _kzalloc_noprof
STR_LEN 0 osb (-1),4
STR_LEN 0 osb (-1),4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 osb unit_byte
HALF_LOCKED2 &alloc_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem