Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- fs/xfs/libxfs/xfs_ialloc.c
- fs/xfs/libxfs/xfs_ialloc_btree.c, line 40
- fs/xfs/scrub/agheader_repair.c
- fs/xfs/scrub/common.c, line 657
- fs/xfs/scrub/ialloc_repair.c, line 657
- fs/xfs/scrub/iscan.c, line 116
- fs/xfs/scrub/repair.c, line 893
- fs/xfs/scrub/rmap.c, line 459
- fs/xfs/xfs_iwalk.c
Smatch caller information:
fs/xfs/scrub/agheader_repair.c xrep_agi_calc_from_btrees() -> xfs_inobt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| 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/agheader_repair.c xrep_iunlink_mark_ondisk() -> xfs_inobt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| 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 |
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |
fs/xfs/scrub/repair.c xrep_ag_btcur_init() -> xfs_inobt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |
fs/xfs/scrub/rmap.c xchk_rmapbt_walk_ag_metadata() -> xfs_inobt_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_inobt_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_mountp | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp | 4096-ptr_max |
| CAPPED_DATA | 1 | tp | 1 |
| CAPPED_DATA | 2 | agbp | 1 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| DATA_SOURCE | 2 | agbp | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |
fs/xfs/libxfs/xfs_ialloc.c xfs_dialloc_ag_inobt() -> xfs_inobt_init_cursor()
| 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 | 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 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count | |
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_transp->t_rtx_res_used |
fs/xfs/libxfs/xfs_ialloc.c xfs_difree_inobt() -> xfs_inobt_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_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 | agbp | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp->b_lru_ref.counter | 0-4 |
| 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 |
| 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_ialloc_check_shrink() -> xfs_inobt_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_items.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp->b_lru_ref.counter | 0-4 |
| 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 |
| DATA_SOURCE | 0 | pag | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| DATA_SOURCE | 2 | agbp | $2 |
| CAPABLE | 0 | 21 | |
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count | |
| LOCK2 | &mp->m_growlock | ||
| TYPE_LOCK | (struct xfs_mount)->m_growlock |
fs/xfs/libxfs/xfs_ialloc.c xfs_imap_lookup() -> xfs_inobt_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 | 1 | tp->t_items.prev | 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 | agbp | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp->b_lru_ref.counter | 0-4 |
| BUF_SIZE | 1 | tp | (-1)-s32max |
| BUF_SIZE | 1 | tp | (-1)-s32max |
| CAPPED_DATA | 1 | tp | 1 |
| 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 | |
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |
fs/xfs/libxfs/xfs_ialloc.c xfs_inobt_insert() -> xfs_inobt_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_items.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_mountp | 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 |
| PARAM_VALUE | 2 | agbp->b_addr | 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 |
| 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_sprec() -> xfs_inobt_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_items.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->t_mountp | 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 |
| PARAM_VALUE | 2 | agbp->b_addr | 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 |
| DATA_SOURCE | 2 | agbp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |
fs/xfs/scrub/iscan.c xchk_iscan_find_next() -> xfs_inobt_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_lru_ref.counter | 0-4 |
| PARAM_VALUE | 2 | agbp->b_sema.first_waiter->up | 0-1 |
| DATA_SOURCE | 0 | pag | $2 |
| DATA_SOURCE | 2 | agbp | $1 |
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |
fs/xfs/scrub/common.c xchk_ag_btcur_init() -> xfs_inobt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 0,4096-ptr_max |
| PARAM_VALUE | 2 | agbp | 1-u64max |
| CAPPED_DATA | 1 | tp | 1 |
fs/xfs/scrub/ialloc_repair.c xrep_ibt_build_new_trees() -> xfs_inobt_init_cursor()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pag | 4096-ptr_max |
| PARAM_VALUE | 1 | tp | 0 |
| PARAM_VALUE | 2 | agbp | 0 |
fs/xfs/xfs_iwalk.c xfs_iwalk_ag_start() -> xfs_inobt_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 | 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 |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| CAPPED_DATA | 1 | tp | 1 |
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |
fs/xfs/xfs_iwalk.c xfs_iwalk_run_callbacks() -> xfs_inobt_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 | 4096-ptr_max |
| 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 | 2 | agbp | 4096-ptr_max |
| PARAM_VALUE | 2 | agbp->b_lru_ref.counter | 0-4 |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| BUF_SIZE | 1 | tp | (-1),1-s32max |
| CAPPED_DATA | 1 | tp | 1 |
| NO_OVERFLOW_SIMPLE | 2 | agbp->b_map_count |
fs/xfs/libxfs/xfs_ialloc_btree.c xfs_inobt_dup_cursor() -> xfs_inobt_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 |