Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/xfs/scrub/repair.c xrep_defer_finish() -> xfs_ialloc_log_agi()

Type Parameter Key Value
PARAM_VALUE 1 bp 1-u64max
PARAM_VALUE 1 bp->b_sema.first_waiter->up 0-1
PARAM_VALUE 2 fields 1
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 bp->b_transp->t_rtx_res_used
HALF_LOCKED2 &dq->q_qlock

fs/xfs/scrub/repair.c xrep_roll_ag_trans() -> xfs_ialloc_log_agi()

Type Parameter Key Value
PARAM_VALUE 1 bp 1-u64max
PARAM_VALUE 1 bp->b_sema.first_waiter->up 0-1
PARAM_VALUE 2 fields 1
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res

fs/xfs/libxfs/xfs_ialloc.c xfs_dialloc_ag() -> xfs_ialloc_log_agi()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp 4096-ptr_max
PARAM_VALUE 1 bp 4096-ptr_max
PARAM_VALUE 1 bp->b_addr 4096-ptr_max
PARAM_VALUE 2 fields 128
CAPPED_DATA 0 tp 1
CAPPED_DATA 1 bp 1
DATA_SOURCE 0 tp $1
DATA_SOURCE 1 bp $2 [m]
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 bp->b_map_count

fs/xfs/libxfs/xfs_ialloc.c xfs_dialloc_ag_inobt() -> xfs_ialloc_log_agi()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp 4096-ptr_max
PARAM_VALUE 1 bp 4096-ptr_max
PARAM_VALUE 2 fields 128
CAPPED_DATA 0 tp 1
CAPPED_DATA 1 bp 1
DATA_SOURCE 0 tp $1
DATA_SOURCE 1 bp $2 [m]
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 bp->b_map_count
NO_OVERFLOW_SIMPLE 1 bp->b_transp->t_rtx_res_used

fs/xfs/libxfs/xfs_ialloc.c xfs_difree_inobt() -> xfs_ialloc_log_agi()

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 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 bp 4096-ptr_max
PARAM_VALUE 1 bp->b_addr 4096-ptr_max
PARAM_VALUE 1 bp->b_lru_ref.counter 0-4
PARAM_VALUE 1 bp->b_sema.lock.owner (-1)
PARAM_VALUE 1 bp->b_sema.lock.owner_cpu u32max
PARAM_VALUE 1 bp->b_sema.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 2 fields 144
CAPPED_DATA 0 tp 1
DATA_SOURCE 0 tp $1
DATA_SOURCE 1 bp $2
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res
NO_OVERFLOW_SIMPLE 1 bp->b_map_count
LOCK2 &pool->lock

fs/xfs/libxfs/xfs_ialloc.c xfs_difree_inobt() -> xfs_ialloc_log_agi()

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 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 bp 4096-ptr_max
PARAM_VALUE 1 bp->b_addr 4096-ptr_max
PARAM_VALUE 1 bp->b_lru_ref.counter 0-4
PARAM_VALUE 1 bp->b_sema.lock.owner (-1)
PARAM_VALUE 1 bp->b_sema.lock.owner_cpu u32max
PARAM_VALUE 1 bp->b_sema.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 2 fields 128
CAPPED_DATA 0 tp 1
DATA_SOURCE 0 tp $1
DATA_SOURCE 1 bp $2
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 tp->t_blk_res
NO_OVERFLOW_SIMPLE 1 bp->b_map_count
LOCK2 &pool->lock

fs/xfs/libxfs/xfs_ialloc.c xfs_ialloc_ag_alloc() -> xfs_ialloc_log_agi()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp->m_sb.sb_agblocks 1-u32max
PARAM_VALUE 0 tp->t_mountp->m_sb.sb_agcount 1-u32max
PARAM_VALUE 1 bp 4096-ptr_max
PARAM_VALUE 2 fields 400
CAPPED_DATA 0 tp 1
DATA_SOURCE 0 tp $1
DATA_SOURCE 1 bp $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 bp->b_map_count

fs/xfs/scrub/ialloc_repair.c xrep_ibt_reset_counters() -> xfs_ialloc_log_agi()

Type Parameter Key Value
PARAM_VALUE 1 bp 4096-ptr_max
PARAM_VALUE 1 bp->b_addr 4096-ptr_max
PARAM_VALUE 2 fields 144
NOCHECK_CALL

fs/xfs/libxfs/xfs_ialloc_btree.c xfs_finobt_set_root() -> xfs_ialloc_log_agi()

Type Parameter Key Value
PARAM_VALUE 0 tp 0,4096-ptr_max
PARAM_VALUE 0 tp->t_mountp->m_quotainfo->qi_dqperchunk 0-4294967295
PARAM_VALUE 1 bp 4096-ptr_max
PARAM_VALUE 1 bp->b_addr 4096-ptr_max
PARAM_VALUE 2 fields 6144
CAPPED_DATA 0 tp 1
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
NO_OVERFLOW_SIMPLE 0 tp->t_rtx_res
NO_OVERFLOW_SIMPLE 0 tp->t_rtx_res_used
NO_OVERFLOW_SIMPLE 1 bp->b_map_count

fs/xfs/libxfs/xfs_ialloc_btree.c xfs_inobt_commit_staged_btree() -> xfs_ialloc_log_agi()

Type Parameter Key Value
PARAM_VALUE 1 bp 4096-ptr_max
PARAM_VALUE 1 bp->b_addr 4096-ptr_max
PARAM_VALUE 2 fields 96,8288
DATA_SOURCE 0 tp $1
DATA_SOURCE 1 bp $2
BIT_INFO 2 fields 0x60,0x2060
NOCHECK_CALL

fs/xfs/libxfs/xfs_ialloc_btree.c xfs_inobt_commit_staged_btree() -> xfs_ialloc_log_agi()

Type Parameter Key Value
PARAM_VALUE 1 bp 4096-ptr_max
PARAM_VALUE 1 bp->b_addr 4096-ptr_max
PARAM_VALUE 2 fields 6144,14336
DATA_SOURCE 0 tp $1
DATA_SOURCE 1 bp $2
BIT_INFO 2 fields 0x1800,0x3800
NOCHECK_CALL

fs/xfs/libxfs/xfs_ialloc_btree.c xfs_inobt_mod_blockcount() -> xfs_ialloc_log_agi()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp->m_filestream->grp_time 0-4294967295
PARAM_VALUE 0 tp->t_mountp->m_quotainfo->qi_dqperchunk 0-4294967295
PARAM_VALUE 1 bp 4096-ptr_max
PARAM_VALUE 1 bp->b_addr 4096-ptr_max
PARAM_VALUE 2 fields 8192
BUF_SIZE 0 tp (-1),1-s32max
BUF_SIZE 0 tp (-1),1-s32max
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
NO_OVERFLOW_SIMPLE 0 tp->t_rtx_res
NO_OVERFLOW_SIMPLE 0 tp->t_rtx_res_used
NO_OVERFLOW_SIMPLE 1 bp->b_map_count

fs/xfs/libxfs/xfs_ialloc_btree.c xfs_inobt_set_root() -> xfs_ialloc_log_agi()

Type Parameter Key Value
PARAM_VALUE 0 tp 0,4096-ptr_max
PARAM_VALUE 0 tp->t_mountp->m_quotainfo->qi_dqperchunk 0-4294967295
PARAM_VALUE 1 bp 4096-ptr_max
PARAM_VALUE 1 bp->b_addr 4096-ptr_max
PARAM_VALUE 2 fields 96
CAPPED_DATA 0 tp 1
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
NO_OVERFLOW_SIMPLE 0 tp->t_rtx_res
NO_OVERFLOW_SIMPLE 0 tp->t_rtx_res_used
NO_OVERFLOW_SIMPLE 1 bp->b_map_count

fs/xfs/libxfs/xfs_ag.c xfs_ag_extend_space() -> xfs_ialloc_log_agi()

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 u32max
PARAM_VALUE 0 tp->t_items.prev 4096-ptr_max
PARAM_VALUE 0 tp->t_mountp 4096-ptr_max
PARAM_VALUE 0 tp->t_pflags 0,262144
PARAM_VALUE 1 bp 4096-ptr_max
PARAM_VALUE 1 bp->b_addr 4096-ptr_max
PARAM_VALUE 1 bp->b_lru_ref.counter 0-4
PARAM_VALUE 2 fields 8
CAPPED_DATA 0 tp 1
DATA_SOURCE 0 tp $1
CAPABLE 0 21
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 bp->b_map_count
LOCK2 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

fs/xfs/libxfs/xfs_ag.c xfs_ag_shrink_space() -> xfs_ialloc_log_agi()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 1 bp 4096-ptr_max
PARAM_VALUE 1 bp->b_addr 4096-ptr_max
PARAM_VALUE 1 bp->b_lru_ref.counter 0-4
PARAM_VALUE 2 fields 8
CAPABLE 0 21
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 bp->b_map_count
LOCK2 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock