Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/ocfs2/alloc.c
- fs/ocfs2/aops.c
- fs/ocfs2/dir.c
- fs/ocfs2/file.c
- fs/ocfs2/move_extents.c, line 790
- fs/ocfs2/refcounttree.c
Smatch caller information:
fs/ocfs2/dir.c ocfs2_extend_dir() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 6333056451854249984 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| DATA_SOURCE | 2 | bh | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |
fs/ocfs2/alloc.c ocfs2_commit_truncate() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 6999218156607352832 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_data | 4096-ptr_max |
| CAPPED_DATA | 2 | bh | 1 |
| DATA_SOURCE | 2 | bh | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &(inode->i_sb)->s_fs_info->nfs_sync_rwlock |
fs/ocfs2/alloc.c ocfs2_convert_inline_data_to_extents() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 586540094530129920 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_data | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_data->i_dyn_features | 0,2-65534 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_chain.cl_bpc | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_chain.cl_count | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_chain.cl_cpg | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_chain.cl_reserved1 | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_data.id_count | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_data.id_reserved0 | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_data.id_reserved1 | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_dealloc.tl_count | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_dealloc.tl_used | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_lab.la_bm_off | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_lab.la_reserved1 | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_lab.la_reserved2 | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_lab.la_size | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_list.l_reserved1 | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_list.l_reserved2 | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_list.l_tree_depth | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_super.s_creator_os | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_super.s_errors | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_super.s_lastcheck | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_super.s_max_slots | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_super.s_mnt_count | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_super.s_reserved0 | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_super.s_root_blkno | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_super.s_state | 0 |
| PARAM_VALUE | 2 | bh->b_data->id2.i_super.s_uuid_hash | 0 |
| PARAM_VALUE | 2 | bh->b_private | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_private->b_bh->b_folio->mapping->host->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | bh->b_private->b_bh->b_folio->mapping->host->i_wb->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | bh->b_private->b_jcount | s32min-s32max |
| PARAM_VALUE | 2 | bh->b_private->b_modified | 1 |
| CAPPED_DATA | 2 | bh | 1 |
| DATA_SOURCE | 2 | bh | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | bh | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &oi->ip_alloc_sem |
fs/ocfs2/move_extents.c __ocfs2_move_extents_range() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 4096-ptr_max |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_data | 4096-ptr_max |
| DATA_SOURCE | 2 | bh | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ocfs2/file.c ocfs2_add_inode_data() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 883702910071967744 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| DATA_SOURCE | 2 | bh | $5 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ocfs2/file.c ocfs2_extend_allocation() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 7225789992152121344 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| CAPPED_DATA | 2 | bh | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | bh | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/file.c ocfs2_remove_inode_range() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 1139226510897917952 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_data | 4096-ptr_max |
| DATA_SOURCE | 2 | bh | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/aops.c ocfs2_dio_end_io_write() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 8624579620951007232 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &oi->ip_alloc_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ocfs2_inode_info)->ip_alloc_sem |
fs/ocfs2/aops.c ocfs2_write_begin_nolock() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 7920352984119341056 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 2 | bh->b_data | 4096-ptr_max |
| DATA_SOURCE | 2 | bh | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | bh | unit_byte |
| HALF_LOCKED2 | &oi->ip_alloc_sem |
fs/ocfs2/aops.c ocfs2_write_cluster() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 294932399869210624 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_data | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_private | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_private->b_jcount | s32min-s32max |
| CAPPED_DATA | 2 | bh | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &oi->ip_alloc_sem |
fs/ocfs2/refcounttree.c ocfs2_attach_refcount_tree() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 3607779563817332736 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_data | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_data->i_refcount_loc | 1-u64max |
| CAPPED_DATA | 2 | bh | 1 |
| DATA_SOURCE | 2 | bh | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ocfs2/refcounttree.c ocfs2_duplicate_extent_list() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 8222276287633424384 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_data->i_dyn_features | 0-u16max |
| PARAM_VALUE | 2 | bh->b_private | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_private->b_bh->b_folio->mapping->host->i_state.__state | 0-4294967295 |
| PARAM_VALUE | 2 | bh->b_private->b_jcount | s32min-s32max |
| PARAM_VALUE | 2 | bh->b_private->b_state_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 2 | bh | 1 |
| DATA_SOURCE | 2 | bh | $2 |
| NOCHECK_CALL | |||
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &t_inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ocfs2/refcounttree.c ocfs2_refcount_cow_hunk() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 4096-ptr_max |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| PARAM_VALUE | 2 | bh->b_data | 4096-ptr_max |
| DATA_SOURCE | 2 | bh | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/refcounttree.c ocfs2_reflink_remap_extent() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 5474881206505762816 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| CAPPED_DATA | 2 | bh | 1 |
| DATA_SOURCE | 2 | bh | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/ocfs2/refcounttree.c ocfs2_reflink_remap_extent() -> ocfs2_init_dinode_extent_tree()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | et | 4518301319748132864 |
| PARAM_VALUE | 1 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 4096-ptr_max |
| CAPPED_DATA | 2 | bh | 1 |
| DATA_SOURCE | 2 | bh | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |