Defined in 1 files as a function:
Referenced in 5 files:
- fs/ocfs2/alloc.c, line 956
- fs/ocfs2/dir.c
- fs/ocfs2/refcounttree.c
- fs/ocfs2/suballoc.c
- fs/ocfs2/xattr.c
Smatch caller information:
fs/ocfs2/dir.c ocfs2_read_dir_block_direct() -> ocfs2_read_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 2159147720951500800 |
| PARAM_VALUE | 2 | *bh | 0 |
| PARAM_VALUE | 3 | validate | 391358329443397632 |
| DATA_SOURCE | 1 | off | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | off | unit_byte |
fs/ocfs2/dir.c ocfs2_read_dx_leaf() -> ocfs2_read_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 2058668521650176000 |
| PARAM_VALUE | 2 | *bh | 0 |
| PARAM_VALUE | 3 | validate | 7030971830522757120 |
| DATA_SOURCE | 1 | off | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/dir.c ocfs2_read_dx_root() -> ocfs2_read_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 6720791295423606784 |
| PARAM_VALUE | 2 | *bh | 0 |
| PARAM_VALUE | 3 | validate | 8071777614574690304 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(inode->i_sb)->s_fs_info->nfs_sync_rwlock |
fs/ocfs2/suballoc.c ocfs2_read_group_descriptor() -> ocfs2_read_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 5211334047298818048 |
| PARAM_VALUE | 2 | *bh | 0 |
| PARAM_VALUE | 3 | validate | 1058976975229001728 |
| DATA_SOURCE | 1 | off | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | off | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &osb->obs_trim_fs_mutex |
fs/ocfs2/suballoc.c ocfs2_read_hint_group_descriptor() -> ocfs2_read_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 5756467178359021568 |
| PARAM_VALUE | 2 | *bh | 0 |
| PARAM_VALUE | 3 | validate | 0 |
| DATA_SOURCE | 1 | off | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | off | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/alloc.c ocfs2_read_extent_block() -> ocfs2_read_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->ci_ops->co_get_super | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->ci_ops->co_owner | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 2030800185710821376 |
| PARAM_VALUE | 2 | *bh | 0 |
| PARAM_VALUE | 3 | validate | 4751632237771251712 |
| BUF_SIZE | 0 | ci | (-1)-0,48 |
| BUF_SIZE | 0 | ci | (-1)-0,48 |
| DATA_SOURCE | 0 | ci | $0 |
| DATA_SOURCE | 1 | off | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | off | unit_byte |
fs/ocfs2/refcounttree.c ocfs2_duplicate_clusters_by_jbd() -> ocfs2_read_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->ci_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->ci_ops->co_cache_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->ci_ops->co_cache_unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->ci_ops->co_get_super | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->ci_ops->co_io_lock | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->ci_ops->co_io_unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->ci_ops->co_owner | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 5042772603275169792 |
| PARAM_VALUE | 2 | *bh | 0 |
| PARAM_VALUE | 3 | validate | 0 |
| BUF_SIZE | 0 | ci | 48 |
| DATA_SOURCE | 0 | ci | r INODE_CACHE |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/refcounttree.c ocfs2_read_refcount_block() -> ocfs2_read_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->ci_ops->co_get_super | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->ci_ops->co_owner | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 7316465889378213888 |
| PARAM_VALUE | 2 | *bh | 0 |
| PARAM_VALUE | 3 | validate | 2851502737377505280 |
| BUF_SIZE | 0 | ci | (-1)-0,48 |
| BUF_SIZE | 0 | ci | (-1)-0,48 |
| DATA_SOURCE | 0 | ci | $0 |
| DATA_SOURCE | 1 | off | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | off | unit_byte |
| HALF_LOCKED2 | &tree->rf_sem |
fs/ocfs2/xattr.c __ocfs2_xattr_set_value_outside() -> ocfs2_read_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 5733760378998726656 |
| PARAM_VALUE | 2 | *bh | 0 |
| PARAM_VALUE | 3 | validate | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &oi->ip_alloc_sem |
fs/ocfs2/xattr.c ocfs2_read_xattr_block() -> ocfs2_read_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | off | 1-u64max |
| PARAM_VALUE | 2 | bh | 1772525152775442432 |
| PARAM_VALUE | 2 | *bh | 0 |
| PARAM_VALUE | 3 | validate | 4029705966851706880 |
| DATA_SOURCE | 1 | off | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
fs/ocfs2/xattr.c ocfs2_xattr_get_value_outside() -> ocfs2_read_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 2 | bh | 8129683331309989888 |
| PARAM_VALUE | 2 | *bh | 0 |
| PARAM_VALUE | 3 | validate | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |