Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/ocfs2/alloc.c, line 7108
- fs/ocfs2/dir.c
- fs/ocfs2/move_extents.c, line 272
- fs/ocfs2/namei.c
- fs/ocfs2/refcounttree.c, line 2903
- fs/ocfs2/suballoc.c, line 3120
- fs/ocfs2/xattr.c
Smatch caller information:
fs/ocfs2/dir.c ocfs2_expand_inline_dx_root() -> ocfs2_reserve_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bits_wanted | 1 |
| PARAM_VALUE | 2 | ac | 4154006147533672448 |
| PARAM_VALUE | 2 | *ac | 0 |
| BUF_SIZE | 0 | osb | 1-s32max |
| BUF_SIZE | 0 | osb | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | osb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |
fs/ocfs2/dir.c ocfs2_extend_dir() -> ocfs2_reserve_clusters()
| 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->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 | 4096-ptr_max |
| 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->sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | osb->sys_root_inode->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 1 | bits_wanted | 1 |
| PARAM_VALUE | 2 | ac | 6088771100079980544 |
| PARAM_VALUE | 2 | *ac | 0 |
| BUF_SIZE | 0 | osb | 1-s32max |
| BUF_SIZE | 0 | osb | 1-s32max |
| DATA_SOURCE | 0 | osb | $0 |
| STR_LEN | 0 | osb | (-1),4 |
| STR_LEN | 0 | osb | (-1),4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | osb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |
fs/ocfs2/suballoc.c ocfs2_lock_allocators() -> ocfs2_reserve_clusters()
| 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->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->s_feature_incompat | 16-u32max |
| PARAM_VALUE | 0 | osb->sys_root_inode->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 1 | bits_wanted | 1-u32max |
| PARAM_VALUE | 2 | ac | 1123396684161802240,3826536020338188288,4000663045395509248 |
| PARAM_VALUE | 2 | *ac | 0 |
| BUF_SIZE | 0 | osb | 1-s32max |
| BUF_SIZE | 0 | osb | 1-s32max |
| DATA_SOURCE | 1 | bits_wanted | $2 |
| DATA_SOURCE | 2 | ac | $4 |
| NOSPEC | 1 | bits_wanted | |
| NOSPEC | 1 | bits_wanted | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | bits_wanted | 1-u32max[c] |
| UNITS | 0 | osb | unit_byte |
| UNITS | 1 | bits_wanted | unit_byte |
fs/ocfs2/alloc.c ocfs2_convert_inline_data_to_extents() -> ocfs2_reserve_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bits_wanted | 1 |
| PARAM_VALUE | 2 | ac | 6548364786062012416 |
| PARAM_VALUE | 2 | *ac | 0 |
| BUF_SIZE | 0 | osb | 1-s32max |
| BUF_SIZE | 0 | osb | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | osb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &oi->ip_alloc_sem |
fs/ocfs2/move_extents.c ocfs2_defrag_extent() -> ocfs2_reserve_clusters()
| 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->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->sys_root_inode->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 2 | ac | 4096-ptr_max |
| BUF_SIZE | 0 | osb | 1-s32max |
| BUF_SIZE | 0 | osb | 1-s32max |
| CAPPED_DATA | 0 | osb->osb_tl_bh | 1 |
| USER_DATA | 1 | bits_wanted | 1-4294967294[c] |
| UNITS | 0 | osb | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &tl_inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ocfs2/refcounttree.c ocfs2_lock_refcount_allocators() -> ocfs2_reserve_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | osb | 4096-ptr_max |
| PARAM_VALUE | 2 | ac | 4096-ptr_max |
| BUF_SIZE | 0 | osb | 1-s32max |
| CAPPED_DATA | 1 | bits_wanted | 1 |
| DATA_SOURCE | 1 | bits_wanted | $2 |
| DATA_SOURCE | 2 | ac | $7 |
| NOSPEC | 1 | bits_wanted | |
| NOSPEC | 1 | bits_wanted | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | bits_wanted | 1-s32max[c] |
| UNITS | 0 | osb | unit_byte |
| UNITS | 1 | bits_wanted | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/xattr.c ocfs2_init_xattr_set_ctxt() -> ocfs2_reserve_clusters()
| 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->sys_root_inode->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 1 | bits_wanted | 1-u32max |
| PARAM_VALUE | 2 | ac | 7856686698109157392 |
| PARAM_VALUE | 2 | *ac | 0 |
| BUF_SIZE | 0 | osb | 1-s32max |
| BUF_SIZE | 0 | osb | 1-s32max |
| MEM_ZERO | 2 | ac | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | bits_wanted | 1-u32max[c][u] |
| UNITS | 0 | osb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/xattr.c ocfs2_lock_reflink_xattr_rec_allocators() -> ocfs2_reserve_clusters()
| 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->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 | 4096-ptr_max |
| PARAM_VALUE | 0 | osb->sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | osb->sys_root_inode->i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 1 | bits_wanted | 1-u16max |
| PARAM_VALUE | 2 | ac | 4947268787841069056 |
| PARAM_VALUE | 2 | *ac | 0 |
| BUF_SIZE | 0 | osb | 1-s32max |
| BUF_SIZE | 0 | osb | 1-s32max |
| CAPPED_DATA | 1 | bits_wanted | 1 |
| DATA_SOURCE | 1 | bits_wanted | $3 |
| DATA_SOURCE | 2 | ac | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | osb | unit_byte |
| 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 |