Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/ocfs2/super.c ocfs2_initialize_super() -> ocfs2_group_bitmap_size()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_blocksize 0,512-65536
PARAM_VALUE 1 suballocator 0
BUF_SIZE 0 sb (-1),2880
BUF_SIZE 0 sb (-1),2880
BUF_SIZE 0 sb->dq_op 88
BUF_SIZE 0 sb->s_export_op 80
BUF_SIZE 0 sb->s_fs_info 6096
BUF_SIZE 0 sb->s_op 224
BUF_SIZE 0 sb->s_qcop 88
BUF_SIZE 0 sb->s_xattr 32
CAPPED_DATA 0 sb 1
CAPPED_DATA 0 sb->s_dev 1
DATA_SOURCE 0 sb $0
STR_LEN 0 sb (-1),8
STR_LEN 0 sb (-1),8
BIT_INFO 0 sb->s_flags 0x400,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sb->s_bdev_file->f_flags 0,32768-u32max
USER_DATA 0 sb->s_bdev_file->f_mode 0,64-u32max[c]
USER_DATA 0 sb->s_flags 1024-2147487743[c]
HALF_LOCKED2 &fc->uapi_mutex

fs/ocfs2/localalloc.c ocfs2_la_default_mb() -> ocfs2_group_bitmap_size()

Type Parameter Key Value
PARAM_VALUE 1 suballocator 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte

fs/ocfs2/suballoc.c ocfs2_block_group_fill() -> ocfs2_group_bitmap_size()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 suballocator 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
LOCK2 &alloc_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/suballoc.c ocfs2_validate_gd_parent() -> ocfs2_group_bitmap_size()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 suballocator 0-1
DATA_SOURCE 0 sb $0
FUZZY_MAX 1 suballocator 1
HARD_MAX 1 suballocator 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ocfs2/resize.c ocfs2_group_add() -> ocfs2_group_bitmap_size()

Type Parameter Key Value
PARAM_VALUE 1 suballocator 0
CAPABLE 0 24
UNITS 0 sb unit_byte
LOCK2 &main_bm_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/resize.c ocfs2_group_extend() -> ocfs2_group_bitmap_size()

Type Parameter Key Value
PARAM_VALUE 1 suballocator 0
CAPABLE 0 24
UNITS 0 sb unit_byte
LOCK2 &main_bm_inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/ioctl.c ocfs2_info_freefrag_scan_chain() -> ocfs2_group_bitmap_size()

Type Parameter Key Value
PARAM_VALUE 1 suballocator 0
UNITS 0 sb unit_byte
HALF_LOCKED2 &gb_inode->i_rwsem