Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ext4/mballoc.c ext4_mb_find_by_goal() -> ext4_grp_offs_to_block()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 fex 3825263583998369792
PARAM_VALUE 1 fex->fe_group 0-4294967294
PARAM_VALUE 1 fex->fe_start s32min-2147483646
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 fex->fe_group 0-4294967294[c]
USER_DATA 1 fex->fe_start 0-2147483646[c]
UNITS 0 sb unit_byte
LOCK2 0 sb

fs/ext4/mballoc.c ext4_mb_mark_diskspace_used() -> ext4_grp_offs_to_block()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 fex 4096-ptr_max
PARAM_VALUE 1 fex->fe_group 0-4294967294
BUF_SIZE 0 sb s32min,(-10),(-1),1-s32max
BUF_SIZE 0 sb s32min,(-10),(-1),1-s32max
CAPPED_DATA 0 sb->s_fs_info->s_group_desc 1
NOSPEC 1 fex->fe_len
NOSPEC 1 fex->fe_logical
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 fex->fe_group 0-4294967294[c]
USER_DATA 1 fex->fe_len 2-s32max[c]
USER_DATA 1 fex->fe_logical 0-4294967294[c]
USER_DATA 1 fex->fe_start 0-s32max[c]
UNITS 0 sb unit_byte

fs/ext4/mballoc.c ext4_mb_new_blocks() -> ext4_grp_offs_to_block()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 fex 4096-ptr_max
NOSPEC 1 fex->fe_group
NOSPEC 1 fex->fe_logical
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 fex->fe_group 0-u32max
USER_DATA 1 fex->fe_len 2-s32max[c]
USER_DATA 1 fex->fe_logical 0-4294967294[c]
USER_DATA 1 fex->fe_start 0-s32max[c]
UNITS 0 sb unit_byte

fs/ext4/mballoc.c ext4_mb_new_group_pa() -> ext4_grp_offs_to_block()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 fex 4096-ptr_max
PARAM_VALUE 1 fex->fe_group 0-4294967294
NOSPEC 1 fex->fe_group
NOSPEC 1 fex->fe_len
NOSPEC 1 fex->fe_logical
NOSPEC 1 fex->fe_start
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 fex->fe_group 0-4294967294[c]
USER_DATA 1 fex->fe_len (-2147483647)-s32max[c]
USER_DATA 1 fex->fe_logical 0-u32max
USER_DATA 1 fex->fe_start 0-s32max[c]
UNITS 0 sb unit_byte
HALF_LOCKED2 ac->ac_sb

fs/ext4/mballoc.c ext4_mb_new_inode_pa() -> ext4_grp_offs_to_block()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 0 sb->s_fs_info 4096-ptr_max
PARAM_VALUE 1 fex 4096-ptr_max
PARAM_VALUE 1 fex->fe_group 0-4294967294
NOSPEC 1 fex->fe_group
NOSPEC 1 fex->fe_len
NOSPEC 1 fex->fe_logical
NOSPEC 1 fex->fe_start
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 fex->fe_group 0-4294967294[c]
USER_DATA 1 fex->fe_len (-2147483647)-s32max[c]
USER_DATA 1 fex->fe_logical 0-u32max
USER_DATA 1 fex->fe_start 0-s32max[c]
UNITS 0 sb unit_byte
HALF_LOCKED2 ac->ac_sb

fs/ext4/mballoc.c ext4_mb_pa_goal_check() -> ext4_grp_offs_to_block()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 fex 4096-ptr_max
NOSPEC 1 fex->fe_len
NOSPEC 1 fex->fe_logical
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 fex->fe_group 0-u32max
USER_DATA 1 fex->fe_len 1-s32max[c]
USER_DATA 1 fex->fe_logical 0-4294967294[c]
USER_DATA 1 fex->fe_start 0-s32max[c]
UNITS 0 sb unit_byte
LOCK2 &ei->i_prealloc_lock
LOCK2 &pa->pa_lock
TYPE_LOCK (struct ext4_inode_info)->i_prealloc_lock
TYPE_LOCK (struct ext4_prealloc_space)->pa_lock

fs/ext4/mballoc.c ext4_mb_use_preallocated() -> ext4_grp_offs_to_block()

Type Parameter Key Value
PARAM_VALUE 0 sb 4096-ptr_max
PARAM_VALUE 1 fex 4096-ptr_max
NOSPEC 1 fex->fe_len
NOSPEC 1 fex->fe_logical
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 fex->fe_group 0-u32max
USER_DATA 1 fex->fe_len 1-s32max[c]
USER_DATA 1 fex->fe_logical 0-4294967294[c]
USER_DATA 1 fex->fe_start 0-s32max[c]
UNITS 0 sb unit_byte