Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 22 files:
- fs/xfs/libxfs/xfs_ag.c
- fs/xfs/libxfs/xfs_ag_resv.c, line 313
- fs/xfs/libxfs/xfs_alloc.c
- fs/xfs/libxfs/xfs_bmap.c, line 3156
- fs/xfs/libxfs/xfs_ialloc.c, line 1752
- fs/xfs/libxfs/xfs_refcount.c
- fs/xfs/libxfs/xfs_refcount_btree.c, line 503
- fs/xfs/libxfs/xfs_rmap_btree.c, line 831
- fs/xfs/scrub/agheader_repair.c
- fs/xfs/scrub/bmap.c, line 701
- fs/xfs/scrub/common.c, line 486
- fs/xfs/scrub/fscounters.c, line 91
- fs/xfs/scrub/inode_repair.c, line 768
- fs/xfs/scrub/reap.c
- fs/xfs/scrub/repair.c
- fs/xfs/xfs_discard.c, line 183
- fs/xfs/xfs_extfree_item.c, line 599
- fs/xfs/xfs_fsmap.c, line 554
- fs/xfs/xfs_notify_failure.c, line 305
- fs/xfs/xfs_reflink.c, line 153
- fs/xfs/xfs_trace.h, line 612
- fs/xfs/xfs_verify_media.c, line 123
Smatch caller information:
fs/xfs/xfs_reflink.c xfs_reflink_find_shared() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 6205674649738235904 |
| DATA_SOURCE | 0 | pag | r xfs_perag_get |
| DATA_SOURCE | 1 | tp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_extfree_item.c xfs_agfl_free_finish_item() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 3519151403992727552 |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 1 | tp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res |
fs/xfs/scrub/agheader_repair.c xrep_agfl() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 6552035515825283072 |
fs/xfs/scrub/agheader_repair.c xrep_agi_find_btrees() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 4397751946313211904 |
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_longest_free_extent() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 1 |
| PARAM_VALUE | 3 | agfbpp | 0 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| STR_LEN | 0 | pag | (-1)-1024 |
| STR_LEN | 0 | pag | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res |
fs/xfs/scrub/repair.c xrep_ag_init() -> xfs_alloc_read_agf()
| 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,4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 4096-ptr_max |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | $1 |
fs/xfs/scrub/repair.c xrep_calc_ag_resblks() -> xfs_alloc_read_agf()
| 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 | agfbpp | 173503994334867456 |
| DATA_SOURCE | 0 | pag | r xfs_perag_get |
fs/xfs/scrub/repair.c xrep_reinit_pagf() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 8465522620667904000 |
fs/xfs/scrub/bmap.c xchk_bmap_check_ag_rmaps() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 1058771839822594048 |
| DATA_SOURCE | 0 | pag | $2 |
fs/xfs/libxfs/xfs_refcount.c xfs_refcount_finish_one() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_mountp->m_errortag | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 1757164362481491968 |
| PARAM_VALUE | 3 | *agfbpp | 0 |
| DATA_SOURCE | 0 | pag | r to_perag |
| DATA_SOURCE | 1 | tp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res |
fs/xfs/libxfs/xfs_refcount.c xfs_refcount_recover_cow_leftovers() -> xfs_alloc_read_agf()
| 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 | agfbpp | 5066177466415452160 |
| PARAM_VALUE | 3 | *agfbpp | 0 |
| DATA_SOURCE | 1 | tp | r xfs_trans_alloc_empty |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/xfs/libxfs/xfs_rmap_btree.c xfs_rmapbt_calc_reserves() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_rmapbt_resv.ar_asked | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 4890105886404509696 |
| DATA_SOURCE | 0 | pag | $2 |
| DATA_SOURCE | 1 | tp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mp->m_growlock |
fs/xfs/libxfs/xfs_alloc.c xfs_alloc_fix_freelist() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0-2,4 |
| PARAM_VALUE | 3 | agfbpp | 2402020580611297280 |
| PARAM_VALUE | 3 | *agfbpp | 0 |
| DATA_SOURCE | 2 | flags | $1 |
| STR_LEN | 0 | pag | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| BIT_INFO | 1 | tp->t_flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res_used |
fs/xfs/libxfs/xfs_alloc.c xfs_alloc_fix_freelist() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0-2,4 |
| PARAM_VALUE | 3 | agfbpp | 2402020580611297280 |
| PARAM_VALUE | 3 | *agfbpp | 0 |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 2 | flags | $1 |
| STR_LEN | 0 | pag | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| BIT_INFO | 1 | tp->t_flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_rtx_res_used |
fs/xfs/xfs_verify_media.c xfs_verify_report_losses() -> xfs_alloc_read_agf()
| 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 | agfbpp | 7275513232603283456 |
| PARAM_VALUE | 3 | *agfbpp | 0 |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | r to_perag |
| DATA_SOURCE | 1 | tp | r xfs_trans_alloc_empty |
| CAPABLE | 0 | 21 |
fs/xfs/scrub/reap.c xreap_fsmeta_extent() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 4096-ptr_max |
| DATA_SOURCE | 0 | pag | r xfs_perag_get |
fs/xfs/scrub/reap.c xreap_ifork_extent() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 4096-ptr_max |
| DATA_SOURCE | 0 | pag | r xfs_perag_get |
fs/xfs/libxfs/xfs_ialloc.c xfs_dialloc_good_ag() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pagi_freecount | 0 |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0-1 |
| PARAM_VALUE | 3 | agfbpp | 0 |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| DATA_SOURCE | 2 | flags | $3 |
| FUZZY_MAX | 2 | flags | 1 |
| HARD_MAX | 2 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/scrub/common.c xchk_perag_read_headers() -> xfs_alloc_read_agf()
| 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,4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 4096-ptr_max |
| CAPPED_DATA | 1 | tp | 1 |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res |
fs/xfs/scrub/fscounters.c xchk_fscount_warmup() -> xfs_alloc_read_agf()
| 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,4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 6724057871189417984 |
| PARAM_VALUE | 3 | *agfbpp | 0 |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | r xfs_perag_next |
| CAPABLE | 0 | 21 |
fs/xfs/scrub/inode_repair.c xrep_dinode_count_ag_rmaps() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 2072675614356353024 |
| DATA_SOURCE | 0 | pag | $1 |
fs/xfs/xfs_fsmap.c __xfs_getfsmap_datadev() -> xfs_alloc_read_agf()
| 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 | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 3561809404140666896 |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | r xfs_perag_next_range |
| DATA_SOURCE | 1 | tp | $0 |
fs/xfs/libxfs/xfs_refcount_btree.c xfs_refcountbt_calc_reserves() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_meta_resv.ar_asked | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 5659987999112683520 |
| DATA_SOURCE | 0 | pag | $2 |
| 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_alloc_read_agf()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_highest_agno | u32max |
| PARAM_VALUE | 1 | tp->t_items.prev | 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 | agfbpp | 803918241720463360 |
| PARAM_VALUE | 3 | *agfbpp | 4096-ptr_max |
| CAPPED_DATA | 1 | tp | 1 |
| 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_alloc_read_agf()
| 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 | agfbpp | 8191773238695673856 |
| DATA_SOURCE | 0 | pag | $0 |
fs/xfs/libxfs/xfs_ag.c xfs_ag_shrink_space() -> xfs_alloc_read_agf()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 2698252679437709312 |
| 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_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 0 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 0 |
| DATA_SOURCE | 0 | pag | r xfs_perag_get |
fs/xfs/xfs_discard.c xfs_trim_gather_extents() -> xfs_alloc_read_agf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount->m_log | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount->m_log->l_cilp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 2538678616726437888 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | r xfs_trans_alloc_empty |
| CAPABLE | 0 | 21 |
fs/xfs/libxfs/xfs_ag_resv.c xfs_ag_resv_init() -> xfs_alloc_read_agf()
| 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_sb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | tp | 0,4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agfbpp | 0 |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mp->m_growlock |
fs/xfs/xfs_notify_failure.c xfs_dax_notify_dev_failure() -> xfs_alloc_read_agf()
| 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 | agfbpp | 4328881851724902400 |
| PARAM_VALUE | 3 | *agfbpp | 0 |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | r to_perag |
| DATA_SOURCE | 1 | tp | r xfs_trans_alloc_empty |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dax_srcu | ||
| HALF_LOCKED2 | global &mf_mutex |