Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/ext4/mballoc.c ext4_discard_preallocations() -> ext4_get_group_number()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
BUF_SIZE 0 sb (-1),2880
BUF_SIZE 0 sb (-1),2880
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 sb->s_flags 0-u64max[c]
USER_DATA 0 sb->s_fs_info->s_first_error_block s64min-s64max[c]
USER_DATA 0 sb->s_fs_info->s_first_error_ino 0-4294967295
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize_bits
UNITS 0 sb unit_byte
UNITS 1 block unit_byte
HALF_LOCKED2 &inode->i_mapping->invalidate_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &mapping->invalidate_lock

fs/ext4/mballoc.c ext4_mb_discard_lg_preallocations() -> ext4_get_group_number()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
DATA_SOURCE 0 sb $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
UNITS 1 block unit_byte

fs/ext4/mballoc.c ext4_mb_put_pa() -> ext4_get_group_number()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
DATA_SOURCE 0 sb $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 sb unit_byte
UNITS 1 block unit_byte

fs/ext4/resize.c ext4_alloc_group_tables() -> ext4_get_group_number()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 0 sb $0
UNITS 0 sb unit_byte
UNITS 1 block unit_byte

fs/ext4/resize.c ext4_alloc_group_tables() -> ext4_get_group_number()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 0 sb $0
UNITS 0 sb unit_byte
UNITS 1 block unit_byte

fs/ext4/resize.c ext4_alloc_group_tables() -> ext4_get_group_number()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 0 sb $0
UNITS 0 sb unit_byte
UNITS 1 block unit_byte

fs/ext4/resize.c ext4_resize_fs() -> ext4_get_group_number()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
DATA_SOURCE 0 sb $0
UNITS 0 sb unit_byte
UNITS 1 block unit_byte

fs/ext4/resize.c set_flexbg_block_bitmap() -> ext4_get_group_number()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 0 sb $0
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize
UNITS 0 sb unit_byte

fs/ext4/resize.c update_backups() -> ext4_get_group_number()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
DATA_SOURCE 0 sb $0
DATA_SOURCE 1 block $1
UNITS 0 sb unit_byte
UNITS 1 block unit_byte

fs/ext4/ioctl.c ext4_update_superblocks_fn() -> ext4_get_group_number()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
BUF_SIZE 0 sb (-1),2880
BUF_SIZE 0 sb (-1),2880
DATA_SOURCE 0 sb $0
STR_LEN 0 sb (-1),8
STR_LEN 0 sb (-1),8
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize
UNITS 0 sb unit_byte
UNITS 1 block unit_byte

fs/ext4/balloc.c ext4_block_in_group() -> ext4_get_group_number()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 block 0-18446744073709551614
BUF_SIZE 0 sb s32min,(-10),(-1),1-s32max
BUF_SIZE 0 sb s32min,(-10),(-1),1-s32max
BUF_SIZE 0 sb->s_bdev (-1),2136
BUF_SIZE 0 sb->s_bdev->bd_queue (-1),2456
BUF_SIZE 0 sb->s_op (-1),216
CAPPED_DATA 1 block 1
CAPPED_DATA 1 block 1
DATA_SOURCE 0 sb $0
DATA_SOURCE 1 block $1
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
USER_DATA 0 sb->s_flags 0-u64max[c]
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize
NO_OVERFLOW_SIMPLE 0 sb->s_blocksize_bits
NO_OVERFLOW_SIMPLE 0 sb->s_root->d_inode->i_blkbits
NO_OVERFLOW_SIMPLE 0 sb->s_root->d_inode->i_size
UNITS 0 sb unit_byte
UNITS 1 block unit_byte
HALF_LOCKED2 0 sb