Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/ocfs2/dir.c ocfs2_dx_dir_remove_index() -> ocfs2_which_suballoc_group()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock
LOCK2 &dx_alloc_inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/suballoc.c ocfs2_free_dinode() -> ocfs2_which_suballoc_group()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 block unit_byte
LOCK2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock
LOCK2 &inode_alloc_inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/suballoc.c ocfs2_group_from_res() -> ocfs2_which_suballoc_group()

Type Parameter Key Value
PARAM_VALUE 0 block 1-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 block unit_byte
UNITS 1 bit unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/suballoc.c ocfs2_init_inode_ac_group() -> ocfs2_which_suballoc_group()

Type Parameter Key Value
PARAM_VALUE 1 bit 0-u16max
UNITS 0 block unit_byte
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &orphan_dir_inode->i_rwsem

fs/ocfs2/suballoc.c ocfs2_test_suballoc_bit() -> ocfs2_which_suballoc_group()

Type Parameter Key Value
PARAM_VALUE 1 bit 0-u16max
DATA_SOURCE 0 block $4
DATA_SOURCE 1 bit $5
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 block 1-u64max[c]
LOCK2 &suballoc->i_rwsem
HALF_LOCKED2 &osb->nfs_sync_rwlock
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/alloc.c ocfs2_free_cached_blocks() -> ocfs2_which_suballoc_group()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 block unit_byte
UNITS 1 bit unit_byte
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/refcounttree.c ocfs2_remove_refcount_tree() -> ocfs2_which_suballoc_group()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 block unit_byte
HALF_LOCKED2 &oi->ip_alloc_sem
HALF_LOCKED2 &oi->ip_xattr_sem

fs/ocfs2/xattr.c ocfs2_xattr_free_block() -> ocfs2_which_suballoc_group()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 block unit_byte
LOCK2 &(inode->i_sb)->s_fs_info->nfs_sync_rwlock
HALF_LOCKED2 &orphan_dir_inode->i_rwsem