Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/xfs/libxfs/xfs_ag.c, line 986
- fs/xfs/libxfs/xfs_alloc.c, line 2509
- fs/xfs/libxfs/xfs_bmap.c, line 3164
- fs/xfs/scrub/repair.c, line 272
- fs/xfs/xfs_trace.h, line 3549
Smatch caller information:
fs/xfs/libxfs/xfs_bmap.c xfs_bmap_longest_free_extent() -> xfs_ag_resv_needed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| DATA_SOURCE | 0 | pag | $0 |
| STR_LEN | 0 | pag | (-1)-1024 |
| STR_LEN | 0 | pag | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/scrub/repair.c xrep_ag_has_space() -> xfs_ag_resv_needed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| CAPPED_DATA | 0 | pag->pag_group.xg_mount->m_agbtree_maxlevels | 1 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | type | $2 |
fs/xfs/libxfs/xfs_alloc.c xfs_alloc_space_available() -> xfs_ag_resv_needed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-3,5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_ag.c xfs_ag_get_geometry() -> xfs_ag_resv_needed()
| 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 | type | 0 |
| DATA_SOURCE | 0 | pag | $0 |