Defined in 1 files as a prototype:

Defined in 1 files as a macro:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/xfs/scrub/repair.c xrep_calc_rtgroup_resblks() -> xfs_rtgroup_extents()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
USER_DATA 1 rgno 0-u32max
UNITS 0 mp unit_byte

fs/xfs/xfs_rtalloc.c xfs_grow_last_rtg() -> xfs_rtgroup_extents()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_rtdev_targp 1-u64max
PARAM_VALUE 0 mp->m_sb.sb_rblocks 0-18446744073709551614
PARAM_VALUE 0 mp->m_sb.sb_rgcount 1-u32max
CAPPED_DATA 0 mp->m_sb.sb_blocklog 1
CAPPED_DATA 0 mp->m_sb.sb_rblocks 1
DATA_SOURCE 0 mp $0
FUZZY_MAX 0 mp->m_sb.sb_rblocks 1
CAPABLE 0 21
UNITS 0 mp unit_byte
LOCK2 0 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

fs/xfs/xfs_rtalloc.c xfs_growfs_rt_free_new() -> xfs_rtgroup_extents()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_sb.sb_rgcount 1-u32max
PARAM_VALUE 1 rgno 0-4294967294
CAPPED_DATA 1 rgno 1
CAPABLE 0 21
PARAM_COMPARE 0 mp->m_sb.sb_rgcount > $1
PARAM_COMPARE 1 rgno < $0->m_sb.sb_rgcount
UNITS 0 mp unit_byte
LOCK2 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

fs/xfs/xfs_rtalloc.c xfs_growfs_rt_free_new() -> xfs_rtgroup_extents()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
CAPABLE 0 21
UNITS 0 mp unit_byte
LOCK2 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

fs/xfs/libxfs/xfs_types.c xfs_verify_rtbno() -> xfs_rtgroup_extents()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_sb.sb_rgcount 1-u32max
PARAM_VALUE 1 rgno 0-4294967294
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 0 mp (-1),1-s32max
CAPPED_DATA 1 rgno 1
DATA_SOURCE 0 mp $0
DATA_SOURCE 1 rgno r xfs_rtb_to_rgno
STR_LEN 0 mp (-1),5,8
STR_LEN 0 mp (-1),5,8
STR_LEN 0 mp->m_super (-1),8
PARAM_COMPARE 0 mp->m_sb.sb_rgcount > $1
PARAM_COMPARE 1 rgno < $0->m_sb.sb_rgcount
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 rgno 0-s32max[c]
UNITS 0 mp unit_byte