Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/xfs/libxfs/xfs_ialloc.c
- fs/xfs/libxfs/xfs_ialloc_btree.c
- fs/xfs/scrub/agheader_repair.c, line 968
- fs/xfs/scrub/common.c, line 664
- fs/xfs/scrub/ialloc_repair.c, line 677
- fs/xfs/scrub/repair.c, line 896
- fs/xfs/scrub/rmap.c, line 469
Smatch caller information:
fs/xfs/scrub/agheader_repair.c xrep_agi_calc_from_btrees() -> xfs_finobt_init_cursor()
| 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 | 1 | tp | 0,4096-ptr_max |
| PARAM_VALUE | 2 | agbp | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp->b_ops | 7334617997983866880 |
| PARAM_VALUE | 2 | agbp->b_sema.lock.owner | (-1) |
| PARAM_VALUE | 2 | agbp->b_sema.lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | agbp->b_sema.lock.raw_lock.val.counter | 0-s32max |
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |
fs/xfs/scrub/repair.c xrep_ag_btcur_init() -> xfs_finobt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 0 | pag->pag_group.xg_mount | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp | 0,4096-ptr_max |
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |
fs/xfs/scrub/rmap.c xchk_rmapbt_walk_ag_metadata() -> xfs_finobt_init_cursor()
| 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 | agbp->b_sema.first_waiter->up | 0-1 |
| CAPPED_DATA | 1 | tp | 1 |
fs/xfs/libxfs/xfs_ialloc.c xfs_dialloc_ag() -> xfs_finobt_init_cursor()
| 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 | agbp | 4096-ptr_max |
| CAPPED_DATA | 2 | agbp | 1 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| DATA_SOURCE | 2 | agbp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |
fs/xfs/libxfs/xfs_ialloc.c xfs_difree_finobt() -> xfs_finobt_init_cursor()
| 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_dfops.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_dfops.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_dfops.prev->next->next | 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_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_mountp->m_healthmon->ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | tp->t_mountp->m_sb_bp->b_flags | 0,32-u32max |
| PARAM_VALUE | 1 | tp->t_pflags | 0,262144 |
| PARAM_VALUE | 2 | agbp | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp->b_flags | 0,2-u32max |
| PARAM_VALUE | 2 | agbp->b_log_item->bli_flags | 0,2-u32max |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| DATA_SOURCE | 2 | agbp | $2 |
| NO_OVERFLOW_SIMPLE | 1 | tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count | |
| LOCK2 | &pool->lock |
fs/xfs/libxfs/xfs_ialloc.c xfs_finobt_insert_sprec() -> xfs_finobt_init_cursor()
| 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->pagi_freecount | 0 |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_mountp->m_sb.sb_agblocks | 1-u32max |
| PARAM_VALUE | 1 | tp->t_mountp->m_sb.sb_agcount | 1-u32max |
| PARAM_VALUE | 2 | agbp | 4096-ptr_max |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| DATA_SOURCE | 2 | agbp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |
fs/xfs/libxfs/xfs_ialloc.c xfs_inobt_insert() -> xfs_finobt_init_cursor()
| 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->pagi_freecount | 0 |
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_mountp->m_sb.sb_agblocks | 1-u32max |
| PARAM_VALUE | 1 | tp->t_mountp->m_sb.sb_agcount | 1-u32max |
| PARAM_VALUE | 2 | agbp | 4096-ptr_max |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| DATA_SOURCE | 2 | agbp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |
fs/xfs/scrub/common.c xchk_ag_btcur_init() -> xfs_finobt_init_cursor()
| 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 | 0,4096-ptr_max |
| PARAM_VALUE | 2 | agbp | 4096-ptr_max |
| CAPPED_DATA | 1 | tp | 1 |
fs/xfs/scrub/ialloc_repair.c xrep_ibt_build_new_trees() -> xfs_finobt_init_cursor()
| 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 | 0 |
| PARAM_VALUE | 2 | agbp | 0 |
fs/xfs/libxfs/xfs_ialloc_btree.c xfs_finobt_count_blocks() -> xfs_finobt_init_cursor()
| 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 | 0 | pag->pag_meta_resv.ar_asked | 0 |
| PARAM_VALUE | 1 | tp | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp->b_lru_ref.counter | 0-4 |
| CAPPED_DATA | 1 | tp | 1 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count | |
| HALF_LOCKED2 | &mp->m_growlock |
fs/xfs/libxfs/xfs_ialloc_btree.c xfs_finobt_dup_cursor() -> xfs_finobt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| STR_LEN | 0 | pag | (-1)-1024 |
| STR_LEN | 1 | tp | (-1)-1024 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 | |
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |