Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/ocfs2/extent_map.c ocfs2_get_clusters_nocache() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 0 | el->l_tree_depth | 0 |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| BUF_SIZE | 0 | el | 16 |
| CAPPED_DATA | 0 | el->l_next_free_rec | 1 |
| CAPPED_DATA | 1 | rec->e_cpos | 1 |
| PARAM_COMPARE | 0 | el->l_count | >= $0->l_next_free_rec |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/extent_map.c ocfs2_xattr_get_clusters() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 0 | el->l_tree_depth | 0 |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| BUF_SIZE | 0 | el | (-1),16 |
| BUF_SIZE | 0 | el | (-1),16 |
| CAPPED_DATA | 1 | rec->e_cpos | 1 |
| DATA_SOURCE | 0 | el | $4 [m] |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/extent_map.c ocfs2_xattr_get_clusters() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 0 | el->l_tree_depth | 0 |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| BUF_SIZE | 0 | el | (-1),16 |
| BUF_SIZE | 0 | el | (-1),16 |
| CAPPED_DATA | 1 | rec->e_cpos | 1 |
| DATA_SOURCE | 0 | el | $4 [m] |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/alloc.c __ocfs2_find_path() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 0 | el->l_tree_depth | 1-4 |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| BUF_SIZE | 0 | el | (-1),16 |
| BUF_SIZE | 0 | el | (-1),16 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/alloc.c ocfs2_adjust_adjacent_records() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| DATA_SOURCE | 0 | el | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/alloc.c ocfs2_commit_truncate() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(inode->i_sb)->s_fs_info->nfs_sync_rwlock |
fs/ocfs2/alloc.c ocfs2_commit_truncate() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(inode->i_sb)->s_fs_info->nfs_sync_rwlock |
fs/ocfs2/alloc.c ocfs2_find_cpos_for_left_leaf() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/alloc.c ocfs2_leftmost_rec_contains() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| DATA_SOURCE | 0 | el | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/alloc.c ocfs2_remove_extent() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tl_inode->i_rwsem |
fs/ocfs2/alloc.c ocfs2_remove_extent() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| CAPPED_DATA | 1 | rec->e_cpos | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tl_inode->i_rwsem |
fs/ocfs2/alloc.c ocfs2_remove_extent() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tl_inode->i_rwsem |
fs/ocfs2/alloc.c ocfs2_remove_extent() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tl_inode->i_rwsem |
fs/ocfs2/alloc.c ocfs2_search_extent_list() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| BUF_SIZE | 0 | el | (-1),16 |
| BUF_SIZE | 0 | el | (-1),16 |
| DATA_SOURCE | 0 | el | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &tl_inode->i_rwsem |
fs/ocfs2/alloc.c ocfs2_sum_rightmost_rec() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| BUF_SIZE | 0 | el | (-1),16 |
| BUF_SIZE | 0 | el | (-1),16 |
| DATA_SOURCE | 0 | el | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/alloc.c ocfs2_truncate_rec() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tl_inode->i_rwsem |
fs/ocfs2/alloc.c ocfs2_update_edge_lengths() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| BUF_SIZE | 0 | el | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ocfs2/file.c ocfs2_calc_trunc_pos() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| DATA_SOURCE | 0 | el | $1 |
| DATA_SOURCE | 1 | rec | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/xattr.c ocfs2_xattr_get_rec() -> ocfs2_rec_clusters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | el | 4096-ptr_max |
| PARAM_VALUE | 0 | el->l_tree_depth | 0 |
| PARAM_VALUE | 1 | rec | 4096-ptr_max |
| BUF_SIZE | 0 | el | 16 |
| CAPPED_DATA | 1 | rec->e_cpos | 1 |
| DATA_SOURCE | 0 | el | $5 [m] |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |