Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/ocfs2/alloc.c __ocfs2_rotate_tree_left() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 cpos 1-u32max
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_path
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/alloc.c ocfs2_adjust_rightmost_branch() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 cpos u32max
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_et
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_append_rec_to_path() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 cpos 1-4294967294
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_path
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_change_extent_flag() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_et
DATA_SOURCE 2 cpos $2
NOSPEC 2 cpos
NOSPEC 2 cpos
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 cpos 0-s32max[c]
UNITS 2 cpos unit_byte

fs/ocfs2/alloc.c ocfs2_commit_truncate() -> ocfs2_find_path()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 1 path->p_node 4096-ptr_max
PARAM_VALUE 1 path->p_root_access 5422438555232124928
PARAM_VALUE 1 path->p_tree_depth 0-4
PARAM_VALUE 2 cpos u32max
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock

fs/ocfs2/alloc.c ocfs2_do_insert_extent() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_et
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 cpos 0-u32max[c]
UNITS 2 cpos unit_byte

fs/ocfs2/alloc.c ocfs2_figure_insert_type() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 cpos 0
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_et
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 cpos 0[c]
UNITS 2 cpos unit_byte

fs/ocfs2/alloc.c ocfs2_figure_merge_contig_type() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 cpos 1-4294967294
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_path
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/alloc.c ocfs2_figure_merge_contig_type() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 cpos 1-u32max
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_path
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/alloc.c ocfs2_get_left_path() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 cpos 1-4294967294
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_path
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &osb->journal->j_trans_barrier
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/alloc.c ocfs2_get_right_path() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 cpos 1-u32max
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_path
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &osb->journal->j_trans_barrier
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/alloc.c ocfs2_remove_extent() -> ocfs2_find_path()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_et
DATA_SOURCE 2 cpos $2
NOSPEC 2 cpos
NOSPEC 2 cpos
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 cpos 0-4294967294[c]
UNITS 2 cpos unit_byte
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/alloc.c ocfs2_remove_extent() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 1 path->p_node 4096-ptr_max
PARAM_VALUE 1 path->p_tree_depth 0-u16max
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_et
DATA_SOURCE 2 cpos $2
NOSPEC 2 cpos
NOSPEC 2 cpos
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 cpos 0-4294967294[c]
UNITS 2 cpos unit_byte
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/alloc.c ocfs2_remove_rightmost_path() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 cpos 1-4294967294
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_path
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_rotate_tree_right() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 cpos 1-4294967294
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_path
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 2 cpos unit_byte

fs/ocfs2/alloc.c ocfs2_split_and_insert() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 1 path->p_node 4096-ptr_max
PARAM_VALUE 1 path->p_tree_depth 0-u16max
PARAM_VALUE 2 cpos 0
BUF_SIZE 1 path 96
DATA_SOURCE 1 path $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 2 cpos unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/alloc.c ocfs2_truncate_rec() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 cpos 1-4294967294
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_path
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/move_extents.c __ocfs2_move_extent() -> ocfs2_find_path()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_et
DATA_SOURCE 2 cpos $2
USER_DATA 2 cpos 0-u32max[c]
UNITS 2 cpos unit_byte
LOCK2 &inode->i_rwsem
LOCK2 &tl_inode->i_rwsem
HALF_LOCKED2 &gb_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/file.c ocfs2_remove_inode_range() -> ocfs2_find_path()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_et
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 cpos 0-u32max[c]
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_adjust_refcount_rec() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
PARAM_VALUE 2 cpos 1-u32max
BUF_SIZE 0 ci (-1),48
BUF_SIZE 0 ci (-1),48
BUF_SIZE 1 path 96
DATA_SOURCE 0 ci $1
DATA_SOURCE 1 path r ocfs2_new_path_from_et
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_clear_ext_refcount() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
BUF_SIZE 1 path 96
DATA_SOURCE 1 path r ocfs2_new_path_from_et
DATA_SOURCE 2 cpos $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_get_refcount_cpos_end() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
BUF_SIZE 0 ci (-1)-0,48
BUF_SIZE 0 ci (-1)-0,48
BUF_SIZE 1 path 96
DATA_SOURCE 0 ci $0
DATA_SOURCE 1 path r ocfs2_new_path_from_et
RX_PATH
TASK_NOT_RUNNING
UNITS 2 cpos unit_byte

fs/ocfs2/refcounttree.c ocfs2_get_refcount_cpos_end() -> ocfs2_find_path()

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_get_super 4096-ptr_max
PARAM_VALUE 0 ci->ci_ops->co_owner 4096-ptr_max
PARAM_VALUE 1 path 4096-ptr_max
BUF_SIZE 0 ci (-1)-0,48
BUF_SIZE 0 ci (-1)-0,48
BUF_SIZE 1 path 96
DATA_SOURCE 0 ci $0
DATA_SOURCE 1 path r ocfs2_new_path_from_path
RX_PATH
TASK_NOT_RUNNING
UNITS 2 cpos unit_byte