Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- fs/xfs/libxfs/xfs_ag.c
- fs/xfs/libxfs/xfs_ialloc.c
- fs/xfs/libxfs/xfs_ialloc_btree.c
- fs/xfs/scrub/common.c
- fs/xfs/scrub/fscounters.c, line 88
- fs/xfs/scrub/iscan.c
- fs/xfs/scrub/repair.c
- fs/xfs/xfs_inode.c, line 2876
- fs/xfs/xfs_iwalk.c
- fs/xfs/xfs_trace.h, line 614
Smatch caller information:
fs/xfs/scrub/repair.c xrep_ag_init() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 4096-ptr_max |
| DATA_SOURCE | 0 | pag | $1 |
fs/xfs/scrub/repair.c xrep_calc_ag_resblks() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 173503994334867456 |
| DATA_SOURCE | 0 | pag | r xfs_perag_get |
fs/xfs/scrub/repair.c xrep_reinit_pagi() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 3093288982405607424 |
fs/xfs/libxfs/xfs_ialloc.c xfs_dialloc_good_ag() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 0 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_ialloc.c xfs_dialloc_try_ag() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 2246753921287225344 |
| DATA_SOURCE | 0 | pag | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_ialloc.c xfs_difree() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_flags | 0,4,16,20,32,36,64,68,80,84 |
| PARAM_VALUE | 1 | tp->t_highest_agno | u32max |
| PARAM_VALUE | 1 | tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_pflags | 0,262144 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 2477529126610948096 |
| DATA_SOURCE | 0 | pag | $1 |
| DATA_SOURCE | 1 | tp | $0 |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| LOCK2 | &pool->lock |
fs/xfs/libxfs/xfs_ialloc.c xfs_imap_lookup() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_mountp->m_metadirip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tp->t_mountp->m_metadirip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | tp->t_mountp->m_rtdirip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tp->t_mountp->m_rtdirip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 2132073810669907968 |
| BUF_SIZE | 1 | tp | (-1)-s32max |
| BUF_SIZE | 1 | tp | (-1)-s32max |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | tp->t_mountp->m_rsumlevels | 1-32[c] |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res_used |
fs/xfs/scrub/iscan.c xchk_iscan_read_agi() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 5161324329132408832 |
| DATA_SOURCE | 0 | pag | $1 |
| DATA_SOURCE | 3 | agibpp | $2 |
fs/xfs/scrub/iscan.c xchk_iscan_read_agi() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 1 |
| PARAM_VALUE | 3 | agibpp | 5161324329132408832 |
| DATA_SOURCE | 0 | pag | $1 |
| DATA_SOURCE | 3 | agibpp | $2 |
| NO_OVERFLOW_SIMPLE | 3 | *agibpp->b_map_count |
fs/xfs/scrub/common.c xchk_iget_agi() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 3951485780353097728,3972885263491207168,4303311031795945472 |
| PARAM_VALUE | 3 | *agibpp | 0 |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | r xfs_perag_get |
| DATA_SOURCE | 3 | agibpp | $2 |
| NO_OVERFLOW_SIMPLE | 3 | *agibpp->b_map_count |
fs/xfs/scrub/common.c xchk_perag_read_headers() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 4096-ptr_max |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res |
fs/xfs/scrub/fscounters.c xchk_fscount_warmup() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount->m_ddev_targp->bt_hash.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 2663599732323512320 |
| PARAM_VALUE | 3 | *agibpp | 0 |
| DATA_SOURCE | 0 | pag | r xfs_perag_next |
| CAPABLE | 0 | 21 |
fs/xfs/xfs_inode.c xfs_inode_reload_unlinked_bucket() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 8217240511863623680 |
| DATA_SOURCE | 0 | pag | r xfs_perag_get |
| DATA_SOURCE | 1 | tp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | tp->t_mountp->m_rsumlevels | 1-32[c] |
fs/xfs/xfs_iwalk.c xfs_iwalk_ag_start() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 2572702239693651968 |
| PARAM_VALUE | 3 | *agibpp | 0 |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| DATA_SOURCE | 3 | agibpp | $3 |
fs/xfs/xfs_iwalk.c xfs_iwalk_run_callbacks() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 2572702239693651968 |
| PARAM_VALUE | 3 | *agibpp | 0 |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| DATA_SOURCE | 3 | agibpp | $2 |
fs/xfs/libxfs/xfs_ialloc_btree.c xfs_finobt_count_blocks() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_meta_resv.ar_asked | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 3761478372885450752 |
| PARAM_VALUE | 3 | *agibpp | 0 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mp->m_growlock |
fs/xfs/libxfs/xfs_ialloc_btree.c xfs_finobt_read_blocks() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_meta_resv.ar_asked | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 1481261324358361088 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mp->m_growlock |
fs/xfs/libxfs/xfs_ag.c xfs_ag_extend_space() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_flags | 0,4,16,20,32,36,64,68,80,84 |
| PARAM_VALUE | 1 | tp->t_highest_agno | u32max |
| PARAM_VALUE | 1 | tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_pflags | 0,262144 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 803918241720463360 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/libxfs/xfs_ag.c xfs_ag_get_geometry() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 7409145472909168640 |
| DATA_SOURCE | 0 | pag | $0 |
fs/xfs/libxfs/xfs_ag.c xfs_ag_shrink_space() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 460618423955533824 |
| DATA_SOURCE | 0 | pag | $0 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/libxfs/xfs_ag.c xfs_initialize_perag_data() -> xfs_ialloc_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount->m_ddev_targp->bt_hash.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tp | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 0 |
| DATA_SOURCE | 0 | pag | r xfs_perag_get |