Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ocfs2/suballoc.c ocfs2_reserve_cluster_bitmap_bits() -> ocfs2_reserve_suballoc_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->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->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 |
| PARAM_VALUE | 1 | ac->ac_group_search | 8993953457847455744 |
| PARAM_VALUE | 1 | ac->ac_which | 2 |
| PARAM_VALUE | 2 | type | 4 |
| PARAM_VALUE | 3 | slot | u16max |
| PARAM_VALUE | 4 | last_alloc_group | 0 |
| PARAM_VALUE | 5 | flags | 1 |
| BUF_SIZE | 0 | osb | (-1),1-s32max |
| BUF_SIZE | 0 | osb | (-1),1-s32max |
| DATA_SOURCE | 0 | osb | $0 |
| DATA_SOURCE | 1 | ac | $1 |
| 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 | ||
| HALF_LOCKED2 | &local_alloc_inode->i_rwsem |
fs/ocfs2/suballoc.c ocfs2_reserve_new_inode() -> ocfs2_reserve_suballoc_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | osb | 4096-ptr_max |
| PARAM_VALUE | 0 | osb->local_system_inodes | 1-u64max |
| PARAM_VALUE | 0 | osb->osb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | osb->s_mount_opt | 128-u64max |
| PARAM_VALUE | 0 | osb->s_num_inodes_stolen.counter | 0 |
| PARAM_VALUE | 0 | osb->sys_root_inode->free_inode | 5515272616080928768 |
| PARAM_VALUE | 0 | osb->sys_root_inode->i_fop | 5515272616080928768 |
| PARAM_VALUE | 0 | osb->sys_root_inode->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 1 | ac | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 9 |
| PARAM_VALUE | 4 | last_alloc_group | 8977194783498694656 |
| PARAM_VALUE | 5 | flags | 3 |
| BUF_SIZE | 0 | osb | 1-s32max |
| BUF_SIZE | 0 | osb | 1-s32max |
| DATA_SOURCE | 0 | osb | $0 |
| DATA_SOURCE | 1 | ac | r _kzalloc_noprof |
| UNITS | 0 | osb | unit_byte |
| UNITS | 3 | slot | unit_array_size |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &orphan_dir_inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ocfs2/suballoc.c ocfs2_reserve_new_metadata_blocks() -> ocfs2_reserve_suballoc_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->osb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | osb->s_num_meta_stolen.counter | 0 |
| 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 | 1 | ac | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 8 |
| PARAM_VALUE | 4 | last_alloc_group | 0 |
| PARAM_VALUE | 5 | flags | 3 |
| 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 |
| UNITS | 3 | slot | unit_array_size |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &new_inode->i_rwsem |
fs/ocfs2/suballoc.c ocfs2_steal_resource() -> ocfs2_reserve_suballoc_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->max_slots | 1-u32max |
| 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 |
| PARAM_VALUE | 1 | ac->ac_bh | 0 |
| PARAM_VALUE | 1 | ac->ac_find_loc_priv | 0 |
| PARAM_VALUE | 1 | ac->ac_inode | 0 |
| PARAM_VALUE | 1 | ac->ac_resv | 0 |
| PARAM_VALUE | 2 | type | 8-9 |
| PARAM_VALUE | 4 | last_alloc_group | 0 |
| PARAM_VALUE | 5 | flags | 0 |
| BUF_SIZE | 0 | osb | 1-s32max |
| BUF_SIZE | 0 | osb | 1-s32max |
| DATA_SOURCE | 0 | osb | $0 |
| DATA_SOURCE | 1 | ac | $1 |
| DATA_SOURCE | 2 | type | $2 |
| STR_LEN | 0 | osb | (-1),4 |
| STR_LEN | 0 | osb | (-1),4 |
| PARAM_COMPARE | 0 | osb->max_slots | > $3 |
| PARAM_COMPARE | 0 | osb->max_slots | >= $0->slot_num |
| PARAM_COMPARE | 0 | osb->slot_num | < $3 |
| PARAM_COMPARE | 3 | slot | < $0->max_slots |
| PARAM_COMPARE | 3 | slot | > $0->slot_num |
| HARD_MAX | 2 | type | 9 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | osb | unit_byte |
| UNITS | 3 | slot | unit_array_size |
| HALF_LOCKED2 | &alloc_inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |