Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/xfs/scrub/agheader_repair.c
- fs/xfs/scrub/alloc_repair.c, line 806
- fs/xfs/scrub/ialloc_repair.c, line 743
- fs/xfs/scrub/reap.c, line 740
- fs/xfs/scrub/refcount_repair.c, line 655
- fs/xfs/scrub/repair.c, line 205
- fs/xfs/scrub/rmap_repair.c, line 1438
Smatch caller information:
fs/xfs/scrub/agheader_repair.c xrep_agf_commit_new() -> xrep_roll_ag_trans()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_ddev_targp->bt_hash.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops->repair_eval | 0,2592533893225459712,5830863107202789376 |
| PARAM_VALUE | 0 | sc->relax.resched_nr | 0-99 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sa.pag | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.pag->pag_group.xg_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.pag->pag_group.xg_mount->m_ddev_targp->bt_hash.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_items.prev->next->next | 4096-ptr_max |
| CAPPED_DATA | 0 | sc->tp | 1 |
| DATA_SOURCE | 0 | sc | $0 |
| USER_DATA | 0 | sc->sm->sm_agno | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_gen | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_ino | 0-u64max |
| USER_DATA | 0 | sc->sm->sm_type | 0-32 |
| USER_PTR | 0 | sc->sm->sm_reserved |
fs/xfs/scrub/agheader_repair.c xrep_agfl() -> xrep_roll_ag_trans()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | sc->mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | sc->mp->m_ddev_targp->bt_file->f_inode->i_wb->dwork.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | sc->mp->m_healthmon->ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | sc->mp->m_sb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops->repair_eval | 0,2592533893225459712,5830863107202789376 |
| PARAM_VALUE | 0 | sc->relax.resched_nr | 0-99 |
| PARAM_VALUE | 0 | sc->sa.agf_bp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_flags | 0,32-u32max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_log_item | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_lru_ref.counter | 0-4 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sa.pag | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.pag->pag_group.xg_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.pag->pag_group.xg_mount->m_ddev_targp->bt_hash.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->sa.pag->pagf_flcount | 0-1073741823 |
| PARAM_VALUE | 0 | sc->sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_items.prev->next->next | 4096-ptr_max |
| BUF_SIZE | 0 | sc | (-1),240 |
| BUF_SIZE | 0 | sc | (-1),240 |
| CAPPED_DATA | 0 | sc->tp | 1 |
| DATA_SOURCE | 0 | sc | $0 |
| USER_DATA | 0 | sc->sm->sm_agno | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_gen | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_ino | 0-u64max |
| USER_DATA | 0 | sc->sm->sm_type | 0-32 |
| NO_OVERFLOW_SIMPLE | 0 | sc->sa.agf_bp->b_map_count | |
| USER_PTR | 0 | sc->sm->sm_reserved |
fs/xfs/scrub/agheader_repair.c xrep_agi_commit_new() -> xrep_roll_ag_trans()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->relax.resched_nr | 0-99 |
| PARAM_VALUE | 0 | sc->sa.agi_bp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.pag | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp | 4096-ptr_max |
fs/xfs/scrub/repair.c xrep_roll_trans() -> xrep_roll_ag_trans()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ip | 0 |
| PARAM_VALUE | 0 | sc->ip->i_af.if_broot | 0 |
| PARAM_VALUE | 0 | sc->ip->i_af.if_broot_bytes | 0 |
| PARAM_VALUE | 0 | sc->ip->i_af.if_bytes | 0 |
| PARAM_VALUE | 0 | sc->ip->i_af.if_data | 0 |
| PARAM_VALUE | 0 | sc->ip->i_af.if_height | 0 |
| PARAM_VALUE | 0 | sc->ip->i_af.if_needextents | 0 |
| PARAM_VALUE | 0 | sc->ip->i_af.if_seq | 0 |
| PARAM_VALUE | 0 | sc->ip->i_flags_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->ip->i_gdquot->q_qlock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sc->ip->i_gdquot->q_qlock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sc->ip->i_gdquot->q_qlock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sc->ip->i_itemp | 1-u64max |
| PARAM_VALUE | 0 | sc->ip->i_itemp->ili_dirty_flags | 0-4294967295 |
| PARAM_VALUE | 0 | sc->ip->i_itemp->ili_item.li_ops->flags | 0-2,5 |
| PARAM_VALUE | 0 | sc->ip->i_itemp->ili_item.li_ops->iop_committed | 0,283025114569195520,5164564067102691328 |
| PARAM_VALUE | 0 | sc->ip->i_itemp->ili_item.li_ops->iop_committing | 0,4828373187025854464,6929890327166103552,8391046949560442880 |
| PARAM_VALUE | 0 | sc->ip->i_itemp->ili_item.li_ops->iop_intent | 0,564933579169271808,1432282536262184960,2001389918975270912,6466259957020385280,8569170642382753792,9140561983953010688 |
| PARAM_VALUE | 0 | sc->ip->i_itemp->ili_item.li_ops->iop_match | 0,632712193071185920,2903961003257139200,2990082737005334528,4656829959769772032,8815353037356904448,8840775383261859840 |
| PARAM_VALUE | 0 | sc->ip->i_itemp->ili_item.li_ops->iop_pin | 0,128515512824188928,1388028456347627520,2041315837493792768 |
| PARAM_VALUE | 0 | sc->ip->i_itemp->ili_item.li_ops->iop_precommit | 0,1492769248575832064,4373168401562583040,7909231871947640832,8569134365498331136 |
| PARAM_VALUE | 0 | sc->ip->i_itemp->ili_item.li_ops->iop_push | 0,925402561215127552,8226357149320933376,9036841439544610816 |
| PARAM_VALUE | 0 | sc->ip->i_itemp->ili_item.li_ops->iop_sort | 0,4561676619972972544,7092074397265825792 |
| PARAM_VALUE | 0 | sc->ip->i_itemp->ili_lock_flags | 0-u16max |
| PARAM_VALUE | 0 | sc->ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sc->ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sc->ip->i_mount->m_filestream->grp_time | 0-4294967295 |
| PARAM_VALUE | 0 | sc->ip->i_mount->m_filestream->lru_grp | 0-4294967295 |
| PARAM_VALUE | 0 | sc->ip->i_pdquot->q_qlock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sc->ip->i_pdquot->q_qlock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sc->ip->i_pdquot->q_qlock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sc->ip->i_udquot->q_qlock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sc->ip->i_udquot->q_qlock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sc->ip->i_udquot->q_qlock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_ddev_targp->bt_hash.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sc->mp->m_quotainfo | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_quotainfo->qi_dqperchunk | 0-s32max |
| PARAM_VALUE | 0 | sc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops->repair_eval | 0,2592533893225459712,5830863107202789376 |
| PARAM_VALUE | 0 | sc->ops->type | 1-6 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tempip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sc->tempip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sc->tp | 4096-ptr_max |
| CAPPED_DATA | 0 | sc->tp | 1 |
| DATA_SOURCE | 0 | sc | $0 |
| USER_DATA | 0 | sc->sm->sm_agno | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_gen | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_ino | 0-u64max |
| USER_DATA | 0 | sc->sm->sm_type | 0-32 |
| NO_OVERFLOW_SIMPLE | 0 | sc->tp->t_blk_res | |
| USER_PTR | 0 | sc->sm->sm_reserved |
fs/xfs/scrub/refcount_repair.c xrep_refc_build_new_tree() -> xrep_roll_ag_trans()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops->type | 1-6 |
| PARAM_VALUE | 0 | sc->relax.resched_nr | 0-99 |
| PARAM_VALUE | 0 | sc->sa.agf_bp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr->agf_refcount_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr->agf_refcount_level | 0-255 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr->agf_refcount_root | 0-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_flags | 0,32-u32max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_log_item | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_log_item->__bli_format.blf_flags | 0-u16max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_log_item->bli_flags | 0,2-4294967295 |
| PARAM_VALUE | 0 | sc->sa.bno_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.cnt_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.fino_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.ino_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.pag | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.pag->pagf_repair_refcount_level | 1-255 |
| PARAM_VALUE | 0 | sc->sa.refc_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.rmap_cur | 0 |
| PARAM_VALUE | 0 | sc->sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp | 4096-ptr_max |
| CAPPED_DATA | 0 | sc->mp->m_sb.sb_agcount | 1 |
| CAPPED_DATA | 0 | sc->sa.agf_bp->b_log_item->bli_format_count | 1 |
| CAPPED_DATA | 0 | sc->tp | 1 |
fs/xfs/scrub/rmap_repair.c xrep_rmap_build_new_tree() -> xrep_roll_ag_trans()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops->type | 1-6 |
| PARAM_VALUE | 0 | sc->relax.resched_nr | 0-99 |
| PARAM_VALUE | 0 | sc->sa.agf_bp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr->agf_rmap_blocks | 0-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr->agf_rmap_level | 0-255 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr->agf_rmap_root | 0-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_flags | 0,32-u32max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_log_item | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_log_item->__bli_format.blf_flags | 0-u16max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_log_item->bli_flags | 0,2-4294967295 |
| PARAM_VALUE | 0 | sc->sa.bno_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.cnt_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.fino_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.ino_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.pag | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.pag->pagf_repair_rmap_level | 1-255 |
| PARAM_VALUE | 0 | sc->sa.refc_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.rmap_cur | 0 |
| PARAM_VALUE | 0 | sc->sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp | 4096-ptr_max |
| CAPPED_DATA | 0 | sc->sa.agf_bp->b_log_item->bli_format_count | 1 |
| CAPPED_DATA | 0 | sc->tp | 1 |
fs/xfs/scrub/reap.c xreap_agmeta_extent() -> xrep_roll_ag_trans()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
fs/xfs/scrub/alloc_repair.c xrep_abt_build_new_trees() -> xrep_roll_ag_trans()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->relax.resched_nr | 0-99 |
| PARAM_VALUE | 0 | sc->sa.agf_bp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr->agf_bno_level | 0-255 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr->agf_bno_root | 0-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr->agf_cnt_level | 0-255 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr->agf_cnt_root | 0-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_flags | 0,32-u32max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_log_item | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_log_item->__bli_format.blf_flags | 0-u16max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_log_item->bli_flags | 0,2-4294967295 |
| PARAM_VALUE | 0 | sc->sa.bno_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.cnt_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.fino_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.ino_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.pag | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.pag->pagf_repair_bno_level | 1-255 |
| PARAM_VALUE | 0 | sc->sa.pag->pagf_repair_cnt_level | 1-255 |
| PARAM_VALUE | 0 | sc->sa.refc_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.rmap_cur | 0 |
| PARAM_VALUE | 0 | sc->sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp | 4096-ptr_max |
| CAPPED_DATA | 0 | sc->sa.agf_bp->b_log_item->bli_format_count | 1 |
fs/xfs/scrub/ialloc_repair.c xrep_ibt_build_new_trees() -> xrep_roll_ag_trans()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops->type | 1-6 |
| PARAM_VALUE | 0 | sc->relax.resched_nr | 0-99 |
| PARAM_VALUE | 0 | sc->sa.agi_bp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_addr->agi_fblocks | 0-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_addr->agi_free_level | 0-255 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_addr->agi_free_root | 0-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_addr->agi_iblocks | 0-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_addr->agi_level | 0-255 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_addr->agi_root | 0-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_log_item->__bli_format.blf_flags | 0-u16max |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_log_item->bli_flags | 0,2-4294967295 |
| PARAM_VALUE | 0 | sc->sa.bno_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.cnt_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.fino_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.ino_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.pag | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.pag->pag_group.xg_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.refc_cur | 0 |
| PARAM_VALUE | 0 | sc->sa.rmap_cur | 0 |
| PARAM_VALUE | 0 | sc->sm | 4096-ptr_max |