Defined in 1 files as a prototype:

Defined in 1 files as a macro:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/xfs/xfs_extfree_item.c xfs_rtextent_free_finish_item() -> xfs_rtgroup_trans_join()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp 4096-ptr_max
PARAM_VALUE 1 rtg 4096-ptr_max
PARAM_VALUE 2 rtglock_flags 1,4
CAPPED_DATA 0 tp 1
DATA_SOURCE 0 tp $0
DATA_SOURCE 1 rtg r to_rtg
FUZZY_MAX 2 rtglock_flags 4
BIT_INFO 2 rtglock_flags 0x0,0x5
HARD_MAX 2 rtglock_flags 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_free_rtblocks() -> xfs_rtgroup_trans_join()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_flags 0,512-u32max
PARAM_VALUE 0 tp->t_mountp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp->m_filestream->grp_time 0-4294967295
PARAM_VALUE 1 rtg 4096-ptr_max
PARAM_VALUE 2 rtglock_flags 1
DATA_SOURCE 0 tp $0
DATA_SOURCE 1 rtg r xfs_rtgroup_grab
BIT_INFO 0 tp->t_flags 0x200,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res

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

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_flags 0,4,16,20,32,36,64,68,80,84
PARAM_VALUE 0 tp->t_highest_agno 4294967295
PARAM_VALUE 0 tp->t_mountp s64min-(-4096),4096-s64max
PARAM_VALUE 0 tp->t_pflags 0,262144
PARAM_VALUE 1 rtg 4096-ptr_max
PARAM_VALUE 1 rtg->rtg_group.xg_mount 4096-ptr_max
PARAM_VALUE 2 rtglock_flags 5
DATA_SOURCE 1 rtg $0
CAPABLE 0 21
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res
LOCK2 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

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

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_flags 0,4,16,20,32,36,64,68,80,84
PARAM_VALUE 0 tp->t_highest_agno 4294967295
PARAM_VALUE 0 tp->t_mountp s64min-(-4096),4096-s64max
PARAM_VALUE 0 tp->t_pflags 0,262144
PARAM_VALUE 1 rtg 4096-ptr_max
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->flusher_overflow.prev->next 2906673126597898240
PARAM_VALUE 1 rtg->rtg_group.xg_mount->m_inodegc_wq->work_color s32min-s32max
PARAM_VALUE 1 rtg->rtg_group.xg_mount->m_super 4096-ptr_max
PARAM_VALUE 2 rtglock_flags 4
DATA_SOURCE 1 rtg $0
CAPABLE 0 21
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res
LOCK2 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

fs/xfs/xfs_rtalloc.c xfs_rtallocate_rtg() -> xfs_rtgroup_trans_join()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp 4096-ptr_max
PARAM_VALUE 1 rtg 4096-ptr_max
PARAM_VALUE 2 rtglock_flags 1
CAPPED_DATA 0 tp 1
DATA_SOURCE 0 tp $0
DATA_SOURCE 1 rtg r xfs_rtgroup_grab
STR_LEN 0 tp (-1)-1024
STR_LEN 0 tp (-1)-1024
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res

fs/xfs/xfs_rtalloc.c xfs_rtallocate_rtg() -> xfs_rtgroup_trans_join()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 tp->t_mountp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 tp->t_mountp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 tp->t_mountp->m_rsumblocks 1-u64max
PARAM_VALUE 0 tp->t_mountp->m_sb.sb_rbmblocks 1-u32max
PARAM_VALUE 1 rtg 4096-ptr_max
PARAM_VALUE 1 rtg->rtg_group.xg_mount 4096-ptr_max
PARAM_VALUE 2 rtglock_flags 1
CAPPED_DATA 0 tp 1
DATA_SOURCE 0 tp $0
DATA_SOURCE 1 rtg r xfs_rtgroup_grab
STR_LEN 0 tp (-1)-1024
STR_LEN 0 tp (-1)-1024
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res

fs/xfs/libxfs/xfs_refcount.c xfs_rtrefcount_finish_one() -> xfs_rtgroup_trans_join()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp->m_errortag 4096-ptr_max
PARAM_VALUE 1 rtg 4096-ptr_max
PARAM_VALUE 2 rtglock_flags 8
DATA_SOURCE 0 tp $0
DATA_SOURCE 1 rtg r to_rtg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res

fs/xfs/libxfs/xfs_rmap.c xfs_rtrmap_finish_init_cursor() -> xfs_rtgroup_trans_join()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp->m_errortag 4096-ptr_max
PARAM_VALUE 1 rtg 4096-ptr_max
PARAM_VALUE 2 rtglock_flags 4
DATA_SOURCE 0 tp $0
DATA_SOURCE 1 rtg r to_rtg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/xfs/xfs_zone_alloc.c xfs_zoned_map_extent() -> xfs_rtgroup_trans_join()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_highest_agno u32max
PARAM_VALUE 0 tp->t_items.prev 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp 4096-ptr_max
PARAM_VALUE 0 tp->t_pflags 0,262144
PARAM_VALUE 1 rtg 4096-ptr_max
PARAM_VALUE 2 rtglock_flags 4
DATA_SOURCE 0 tp $0
NOCHECK_CALL