Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/xfs/libxfs/xfs_ialloc.c, line 2776
- fs/xfs/libxfs/xfs_inode_util.c
- fs/xfs/xfs_inode.c, line 2322
- fs/xfs/xfs_log_recover.c
- fs/xfs/xfs_trace.h, line 613
Smatch caller information:
fs/xfs/xfs_log_recover.c xlog_recover_clear_agi_bucket() -> xfs_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_file->f_inode->i_wb->dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount->m_ddev_targp->bt_hash.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount->m_inodegc_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount->m_inodegc_wq->flusher_overflow.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount->m_inodegc_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount->m_super | 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 | 4294967295 |
| PARAM_VALUE | 1 | tp->t_mountp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 1 | tp->t_pflags | 0,262144 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 4297483619014262784 |
| DATA_SOURCE | 0 | pag | $0 |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res |
fs/xfs/xfs_log_recover.c xlog_recover_iunlink_ag() -> xfs_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 | 8516124778732773376 |
| DATA_SOURCE | 0 | pag | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/xfs/libxfs/xfs_ialloc.c xfs_ialloc_read_agi() -> xfs_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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,1073741824 |
| PARAM_VALUE | 3 | agibpp | 4048060906547638272 |
| BUF_SIZE | 1 | tp | (-1)-s32max |
| BUF_SIZE | 1 | tp | (-1)-s32max |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| FUZZY_MAX | 2 | flags | 1073741824 |
| BIT_INFO | 2 | flags | 0x0,0x40000000 |
| HARD_MAX | 2 | flags | 1073741824 |
| 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 | |
| HALF_LOCKED2 | &mp->m_growlock | ||
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_inode.c xfs_rename() -> xfs_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 | 4294967295 |
| 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 | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 1 | tp->t_pflags | 0,262144 |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 8122507220760186880 |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | r xfs_perag_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/xfs/libxfs/xfs_inode_util.c xfs_iunlink() -> xfs_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 | 62436481240055808 |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | r xfs_perag_get |
| DATA_SOURCE | 1 | tp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res |
fs/xfs/libxfs/xfs_inode_util.c xfs_iunlink_remove() -> xfs_read_agi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 0,4096-ptr_max |
| PARAM_VALUE | 2 | flags | 0 |
| PARAM_VALUE | 3 | agibpp | 3337290570209906688 |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | $1 |
| DATA_SOURCE | 1 | tp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| HALF_LOCKED2 | &pool->lock |