Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/ocfs2/dir.c ocfs2_calc_extend_credits() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
BUF_SIZE 0 root_el (-1),16
BUF_SIZE 0 root_el (-1),16
DATA_SOURCE 0 root_el $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/suballoc.c ocfs2_reserve_new_metadata() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
BUF_SIZE 0 root_el (-1),16
BUF_SIZE 0 root_el (-1),16
DATA_SOURCE 0 root_el $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_add_clusters_in_btree() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/alloc.c ocfs2_reserve_blocks_for_rec_trunc() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/alloc.c ocfs2_split_tree() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
PARAM_VALUE 0 root_el 4096-ptr_max
PARAM_VALUE 0 root_el->l_tree_depth 0-4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tl_inode->i_rwsem

fs/ocfs2/move_extents.c ocfs2_calc_extend_credits() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
DATA_SOURCE 0 root_el $1
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/move_extents.c ocfs2_lock_meta_allocator_move_extents() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/file.c ocfs2_calc_extend_credits() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
DATA_SOURCE 0 root_el $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/aops.c ocfs2_calc_extend_credits() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
DATA_SOURCE 0 root_el $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &oi->ip_alloc_sem

fs/ocfs2/refcounttree.c ocfs2_add_refcount_flag() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_calc_extend_credits() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
DATA_SOURCE 0 root_el $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/refcounttree.c ocfs2_calc_refcount_meta_credits() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_lock_refcount_allocators() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_calc_extend_credits() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
BUF_SIZE 0 root_el (-1),16
BUF_SIZE 0 root_el (-1),16
DATA_SOURCE 0 root_el $1
RX_PATH
TASK_NOT_RUNNING

fs/ocfs2/xattr.c ocfs2_calc_xattr_set_need() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
PARAM_VALUE 0 root_el 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_calc_xattr_set_need() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
BUF_SIZE 0 root_el 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_calc_xattr_set_need() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
PARAM_VALUE 0 root_el 625463716819574800
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_calc_xattr_set_need() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
PARAM_VALUE 0 root_el 625463716819574800
BUF_SIZE 0 root_el 16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/xattr.c ocfs2_lock_reflink_xattr_rec_allocators() -> ocfs2_extend_meta_needed()

Type Parameter Key Value
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
HALF_LOCKED2 &orphan_dir_inode->i_rwsem