Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/ocfs2/refcounttree.c ocfs2_create_refcount_tree() -> ocfs2_refcount_recs_per_rb()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_new_leaf_refcount_block() -> ocfs2_refcount_recs_per_rb()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
DATA_SOURCE 0 sb r ocfs2_metadata_cache_get_super
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_remove_refcount_extent() -> ocfs2_refcount_recs_per_rb()

Type Parameter Key Value
DATA_SOURCE 0 sb r ocfs2_metadata_cache_get_super
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_validate_refcount_block() -> ocfs2_refcount_recs_per_rb()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
DATA_SOURCE 0 sb $0
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
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

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

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
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

fs/ocfs2/xattr.c ocfs2_reflink_lock_xattr_allocators() -> ocfs2_refcount_recs_per_rb()

Type Parameter Key Value
PREEMPT_ADD
UNITS 0 sb unit_byte
LOCK2 &inode->i_rwsem
LOCK2 &new_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem