Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/xfs/scrub/agheader_repair.c, line 781
- fs/xfs/scrub/alloc_repair.c, line 831
- fs/xfs/scrub/ialloc_repair.c, line 775
- fs/xfs/scrub/refcount_repair.c, line 679
- fs/xfs/scrub/rmap_repair.c, line 1549
Smatch caller information:
fs/xfs/scrub/agheader_repair.c xrep_agfl() -> xrep_reap_agblocks()
| 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 | 0,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-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_lru_ref.counter | 0-4 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_map_count | 0-s32max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_transp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_transp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_transp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agi_bp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_log_item | 0,4096-ptr_max |
| 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-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_map_count | 0-s32max |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_transp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_transp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_transp->t_mountp | 4096-ptr_max |
| 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_busy.next->next | 0 |
| PARAM_VALUE | 0 | sc->tp->t_dqinfo | 0 |
| PARAM_VALUE | 0 | sc->tp->t_flags | 4,20,36,52,68,84,100,116,260,276,292,308,324,340,356,372 |
| PARAM_VALUE | 0 | sc->tp->t_highest_agno | u32max |
| PARAM_VALUE | 0 | sc->tp->t_items.next->next | 0 |
| 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 |
| PARAM_VALUE | 0 | sc->tp->t_pflags | 0,262144 |
| PARAM_VALUE | 0 | sc->tp->t_ticket | 0 |
| PARAM_VALUE | 1 | bitmap | 8384241064217341952 |
| PARAM_VALUE | 2 | oinfo | 6767237874489516032 |
| PARAM_VALUE | 3 | type | 1 |
| BUF_SIZE | 0 | sc | (-1),240 |
| BUF_SIZE | 0 | sc | (-1),240 |
| CAPPED_DATA | 0 | sc->sa.agf_bp | 1 |
| CAPPED_DATA | 0 | sc->sa.agi_bp | 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/refcount_repair.c xrep_refc_remove_old_tree() -> xrep_reap_agblocks()
| 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.agi_bp | 0,4096-ptr_max |
| 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.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 |
| PARAM_VALUE | 1 | bitmap | 4096-ptr_max |
| PARAM_VALUE | 2 | oinfo | 8262822955263545344 |
| PARAM_VALUE | 3 | type | 2 |
fs/xfs/scrub/rmap_repair.c xrep_rmap_remove_old_tree() -> xrep_reap_agblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 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.agi_bp | 0,4096-ptr_max |
| 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.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 |
| PARAM_VALUE | 1 | bitmap | 3322426106844057600 |
| PARAM_VALUE | 2 | oinfo | 2664439837020827648 |
| PARAM_VALUE | 3 | type | 3 |
| NO_OVERFLOW_SIMPLE | 0 | sc->sa.bno_cur->bc_ag.agbp->b_map_count | |
| NO_OVERFLOW_SIMPLE | 0 | sc->sa.bno_cur->bc_tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | sc->sa.bno_cur->bc_tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | sc->sa.bno_cur->bc_tp->t_rtx_res_used |
fs/xfs/scrub/alloc_repair.c xrep_abt_remove_old_trees() -> xrep_reap_agblocks()
| 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_alloc_maxlevels | 1-255 |
| 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->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_btreeblks | 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_addr->agf_freeblks | 0-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_addr->agf_longest | 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-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_log_item->bli_item.li_ops | 7624885838453530624 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_log_item->bli_item.li_type | 4668 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_map_count | 0-s32max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_transp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_transp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_transp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agi_bp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_flags | 0,32-u32max |
| 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-4294967295 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_log_item->bli_item.li_ops | 7624885838453530624 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_log_item->bli_item.li_type | 4668 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_map_count | 0-s32max |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_transp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_transp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_transp->t_mountp | 4096-ptr_max |
| 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.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 |
| PARAM_VALUE | 0 | sc->tp->t_busy.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_busy.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_busy.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_dqinfo | 0 |
| PARAM_VALUE | 0 | sc->tp->t_flags | 4,20,36,52,68,84,100,116,260,276,292,308,324,340,356,372 |
| PARAM_VALUE | 0 | sc->tp->t_highest_agno | u32max |
| 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 |
| PARAM_VALUE | 0 | sc->tp->t_pflags | 0,262144 |
| PARAM_VALUE | 0 | sc->tp->t_ticket | 0 |
| PARAM_VALUE | 0 | *sc->sa.refc_cur->bc_mem.xfbtree->target->bt_readahead_count.counters | s32min-s32max |
| PARAM_VALUE | 0 | *sc->sa.rmap_cur->bc_mem.xfbtree->target->bt_readahead_count.counters | s32min-s32max |
| PARAM_VALUE | 1 | bitmap | 4096-ptr_max |
| PARAM_VALUE | 2 | oinfo | 6767237874489516032 |
| PARAM_VALUE | 3 | type | 4 |
fs/xfs/scrub/ialloc_repair.c xrep_ibt_remove_old_trees() -> xrep_reap_agblocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 0,4096-ptr_max |
| 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.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 |
| PARAM_VALUE | 1 | bitmap | 4096-ptr_max |
| PARAM_VALUE | 2 | oinfo | 1646112184124424192 |
| PARAM_VALUE | 3 | type | 0 |