Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/ocfs2/dir.c ocfs2_dx_dir_lookup_rec() -> ocfs2_find_leaf()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 root_el 4096-ptr_max
PARAM_VALUE 1 root_el->l_tree_depth 1-u16max
PARAM_VALUE 3 leaf_bh 5767517566635409408
PARAM_VALUE 3 *leaf_bh 0
BUF_SIZE 1 root_el (-1),16
BUF_SIZE 1 root_el (-1),16
DATA_SOURCE 1 root_el $1
DATA_SOURCE 2 cpos $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock

fs/ocfs2/extent_map.c ocfs2_get_clusters_nocache() -> ocfs2_find_leaf()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 root_el 4096-ptr_max
PARAM_VALUE 1 root_el->l_tree_depth 1-u16max
PARAM_VALUE 3 leaf_bh 5194254266552696832
PARAM_VALUE 3 *leaf_bh 0
BUF_SIZE 1 root_el 16
DATA_SOURCE 2 cpos $2
NOSPEC 2 cpos
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 cpos 0-u32max[c]
UNITS 2 cpos unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/extent_map.c ocfs2_xattr_get_clusters() -> ocfs2_find_leaf()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 root_el 4096-ptr_max
PARAM_VALUE 1 root_el->l_tree_depth 1-u16max
PARAM_VALUE 3 leaf_bh 2284346070741544960
PARAM_VALUE 3 *leaf_bh 0
BUF_SIZE 1 root_el (-1),16
BUF_SIZE 1 root_el (-1),16
DATA_SOURCE 1 root_el $4
DATA_SOURCE 2 cpos $1
NOSPEC 2 cpos
NOSPEC 2 cpos
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 cpos 0-4294967294[c]

fs/ocfs2/refcounttree.c ocfs2_get_refcount_rec() -> ocfs2_find_leaf()

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 root_el 4096-ptr_max
PARAM_VALUE 1 root_el->l_tree_depth 1-u16max
PARAM_VALUE 3 leaf_bh 5334215861276700672
PARAM_VALUE 3 *leaf_bh 0
BUF_SIZE 0 ci (-1)-0,48
BUF_SIZE 0 ci (-1)-0,48
BUF_SIZE 1 root_el 16
DATA_SOURCE 0 ci $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 cpos 0-4294967294[c]

fs/ocfs2/refcounttree.c ocfs2_refcount_cal_cow_clusters() -> ocfs2_find_leaf()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 root_el 4096-ptr_max
PARAM_VALUE 1 root_el->l_tree_depth 1-u16max
PARAM_VALUE 3 leaf_bh 8236920168392200192
PARAM_VALUE 3 *leaf_bh 0
DATA_SOURCE 1 root_el $1
DATA_SOURCE 2 cpos $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 cpos 0-u32max[c]
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_xattr_get_rec() -> ocfs2_find_leaf()

Type Parameter Key Value
PARAM_VALUE 0 ci 4096-ptr_max
PARAM_VALUE 1 root_el 4096-ptr_max
PARAM_VALUE 1 root_el->l_tree_depth 1-u16max
PARAM_VALUE 3 leaf_bh 2031821223255584768
PARAM_VALUE 3 *leaf_bh 0
BUF_SIZE 1 root_el 16
DATA_SOURCE 1 root_el $5
DATA_SOURCE 2 cpos $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 2 cpos unit_byte