Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/xfs/libxfs/xfs_rtgroup.c xfs_rtgroup_alloc() -> xfs_rtgroup_calc_geometry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_error_meta_kobj.kobject.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 *mp->m_bm_maxlevels 0-4294967295
PARAM_VALUE 1 rtg 4096-ptr_max
PARAM_VALUE 2 rgno 0-4294967294
PARAM_VALUE 3 rgcount 1-u32max
BUF_SIZE 1 rtg 440
CAPPED_DATA 2 rgno 1
DATA_SOURCE 0 mp $0
DATA_SOURCE 1 rtg r _kzalloc_noprof
DATA_SOURCE 2 rgno $1
DATA_SOURCE 3 rgcount $2
DATA_SOURCE 4 rextents $3
NOCHECK_CALL
USER_DATA 3 rgcount 1-u32max[c]
USER_DATA 4 rextents 0-9223372036854775808[c]
UNITS 0 mp unit_byte
HALF_LOCKED2 0 &mp->m_growlock

fs/xfs/xfs_rtalloc.c xfs_growfs_rt_bmblock() -> xfs_rtgroup_calc_geometry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 rtg 4096-ptr_max
PARAM_VALUE 1 rtg->rtg_group.xg_mount 4096-ptr_max
PARAM_VALUE 1 rtg->rtg_group.xg_mount->m_filestream->lru_grp 0-4294967295
PARAM_VALUE 1 rtg->rtg_group.xg_mount->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 1 rtg->rtg_group.xg_mount->m_inodegc_wq->work_color s32min-s32max
DATA_SOURCE 1 rtg $0
CAPABLE 0 21
NOCHECK_CALL
LOCK2 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

fs/xfs/xfs_rtalloc.c xfs_growfs_rt_zoned() -> xfs_rtgroup_calc_geometry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_dir_geo 4096-ptr_max
PARAM_VALUE 0 mp->m_resv.tr_addafork.tr_logcount 2
PARAM_VALUE 0 mp->m_resv.tr_addafork.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_attrinval.tr_logcount 1
PARAM_VALUE 0 mp->m_resv.tr_attrinval.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_attrrm.tr_logcount 3
PARAM_VALUE 0 mp->m_resv.tr_attrrm.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_attrsetm.tr_logcount 3
PARAM_VALUE 0 mp->m_resv.tr_attrsetm.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_create.tr_logcount 2,5
PARAM_VALUE 0 mp->m_resv.tr_create.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_create_tmpfile.tr_logcount 2
PARAM_VALUE 0 mp->m_resv.tr_create_tmpfile.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_growdata.tr_logcount 2
PARAM_VALUE 0 mp->m_resv.tr_growdata.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_growrtalloc.tr_logcount 2
PARAM_VALUE 0 mp->m_resv.tr_growrtalloc.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_ifree.tr_logcount 2
PARAM_VALUE 0 mp->m_resv.tr_ifree.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_itruncate.tr_logcount 2-5
PARAM_VALUE 0 mp->m_resv.tr_itruncate.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_link.tr_logcount 2,5
PARAM_VALUE 0 mp->m_resv.tr_link.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_mkdir.tr_logcount 3,6
PARAM_VALUE 0 mp->m_resv.tr_mkdir.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_qm_dqalloc.tr_logcount 2-5
PARAM_VALUE 0 mp->m_resv.tr_qm_dqalloc.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_qm_setqlim.tr_logcount 1
PARAM_VALUE 0 mp->m_resv.tr_remove.tr_logcount 2,5
PARAM_VALUE 0 mp->m_resv.tr_remove.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_rename.tr_logcount 2,5
PARAM_VALUE 0 mp->m_resv.tr_rename.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_sb.tr_logcount 1
PARAM_VALUE 0 mp->m_resv.tr_symlink.tr_logcount 3,6
PARAM_VALUE 0 mp->m_resv.tr_symlink.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_resv.tr_write.tr_logcount 2-5
PARAM_VALUE 0 mp->m_resv.tr_write.tr_logflags s32min-0,4-s32max
PARAM_VALUE 0 mp->m_rsumlevels 0-32
PARAM_VALUE 0 mp->m_rtxblkmask 0-4294967294,u64max
PARAM_VALUE 0 mp->m_sb.sb_rextslog 0-31
PARAM_VALUE 0 mp->m_sb.sb_rgblklog 0-32
PARAM_VALUE 1 rtg 4096-ptr_max
BUF_SIZE 0 mp 7808
DATA_SOURCE 0 mp r xfs_growfs_rt_alloc_fake_mount
DATA_SOURCE 1 rtg $0
CAPABLE 0 21
NOCHECK_CALL
LOCK2 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

fs/xfs/xfs_rtalloc.c xfs_growfs_rtg() -> xfs_rtgroup_calc_geometry()

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 1 rtg 4096-ptr_max
PARAM_VALUE 1 rtg->rtg_group.xg_mount 4096-ptr_max
PARAM_VALUE 1 rtg->rtg_group.xg_mount->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
PARAM_VALUE 1 rtg->rtg_group.xg_mount->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 1 rtg->rtg_group.xg_mount->m_inodegc_wq->work_color s32min-s32max
PARAM_VALUE 1 *rtg->rtg_group.xg_mount->m_inodegc_wq->first_flusher->done.wait.lock.owner (-4611686018427387904)-4611686018427387903
CAPPED_DATA 0 mp->m_sb.sb_blocklog 1
CAPPED_DATA 0 mp->m_sb.sb_rblocks 1
DATA_SOURCE 0 mp $0
DATA_SOURCE 1 rtg r xfs_rtgroup_grab
FUZZY_MAX 0 mp->m_sb.sb_rblocks 1
CAPABLE 0 21
NOCHECK_CALL
UNITS 0 mp unit_byte
LOCK2 0 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock