Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/xfs/scrub/alloc_repair.c
- fs/xfs/scrub/bmap_repair.c, line 696
- fs/xfs/scrub/ialloc_repair.c
- fs/xfs/scrub/refcount_repair.c, line 608
- fs/xfs/scrub/rmap_repair.c
- fs/xfs/scrub/rtrefcount_repair.c, line 639
- fs/xfs/scrub/rtrmap_repair.c, line 732
Smatch caller information:
fs/xfs/scrub/refcount_repair.c xrep_refc_build_new_tree() -> xfs_btree_bload_compute_geometry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_levels | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_root | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.agbp | 0 |
| PARAM_VALUE | 0 | cur->bc_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_group | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_nlevels | 0 |
| PARAM_VALUE | 0 | cur->bc_ops | 3386398652014444544 |
| PARAM_VALUE | 0 | cur->bc_ops->ptr_len | 4 |
| PARAM_VALUE | 0 | cur->bc_refc.nr_ops | 0 |
| PARAM_VALUE | 0 | cur->bc_refc.shape_changes | 0 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 1 | bbl | 4096-ptr_max |
| PARAM_VALUE | 1 | bbl->btree_height | 0 |
| PARAM_VALUE | 1 | bbl->claim_block | 6368956168822706176 |
| PARAM_VALUE | 1 | bbl->get_records | 4235215088470360064 |
| PARAM_VALUE | 1 | bbl->nr_blocks | 0 |
| PARAM_VALUE | 1 | bbl->nr_dirty | 0 |
| PARAM_VALUE | 1 | bbl->nr_records | 0 |
| CAPPED_DATA | 0 | cur->bc_mp->m_sb.sb_agcount | 1 |
| DATA_SOURCE | 0 | cur | r xfs_refcountbt_init_cursor |
| MEM_ZERO | 1 | bbl | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res_used |
fs/xfs/scrub/rtrefcount_repair.c xrep_rtrefc_build_new_tree() -> xfs_btree_bload_compute_geometry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_group | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ino.ifake | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ino.ip | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ino.whichfork | 255 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_nlevels | 0 |
| PARAM_VALUE | 0 | cur->bc_ops | 5177736840100265984 |
| PARAM_VALUE | 0 | cur->bc_ops->ptr_len | 8 |
| PARAM_VALUE | 0 | cur->bc_refc.nr_ops | 0 |
| PARAM_VALUE | 0 | cur->bc_refc.shape_changes | 0 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 1 | bbl | 4096-ptr_max |
| PARAM_VALUE | 1 | bbl->btree_height | 0 |
| PARAM_VALUE | 1 | bbl->claim_block | 8291126274361540608 |
| PARAM_VALUE | 1 | bbl->get_records | 1103413674122620928 |
| PARAM_VALUE | 1 | bbl->iroot_size | 1185672414761033728 |
| PARAM_VALUE | 1 | bbl->nr_blocks | 0 |
| PARAM_VALUE | 1 | bbl->nr_dirty | 0 |
| PARAM_VALUE | 1 | bbl->nr_records | 0 |
| DATA_SOURCE | 0 | cur | r xfs_rtrefcountbt_init_cursor |
| MEM_ZERO | 1 | bbl | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res_used |
fs/xfs/scrub/rmap_repair.c xrep_rmap_reserve_space() -> xfs_btree_bload_compute_geometry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_levels | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_root | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.agbp | 0 |
| PARAM_VALUE | 0 | cur->bc_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_group | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_nlevels | 0 |
| PARAM_VALUE | 0 | cur->bc_ops | 248903091670867968 |
| PARAM_VALUE | 0 | cur->bc_ops->type | 0-2 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 1 | bbl | 4096-ptr_max |
| PARAM_VALUE | 1 | bbl->btree_height | 0 |
| PARAM_VALUE | 1 | bbl->claim_block | 5211726221800800256 |
| PARAM_VALUE | 1 | bbl->get_records | 6194652439522930688 |
| PARAM_VALUE | 1 | bbl->nr_blocks | 0 |
| PARAM_VALUE | 1 | bbl->nr_dirty | 0 |
| PARAM_VALUE | 1 | bbl->nr_records | 0 |
| PARAM_VALUE | 2 | nr_records | 0 |
| DATA_SOURCE | 0 | cur | $1 |
| MEM_ZERO | 1 | bbl | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res_used |
fs/xfs/scrub/rmap_repair.c xrep_rmap_try_reserve() -> xfs_btree_bload_compute_geometry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_levels | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_root | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.agbp | 0 |
| PARAM_VALUE | 0 | cur->bc_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_group | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_maxlevels | 1-255 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_nlevels | 1-255 |
| PARAM_VALUE | 0 | cur->bc_ops | 248903091670867968 |
| PARAM_VALUE | 0 | cur->bc_ops->get_maxrecs | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->get_minrecs | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->type | 0-2 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 1 | bbl | 4096-ptr_max |
| PARAM_VALUE | 1 | bbl->btree_height | 1-255 |
| PARAM_VALUE | 1 | bbl->claim_block | 5211726221800800256 |
| PARAM_VALUE | 1 | bbl->get_records | 6194652439522930688 |
| PARAM_VALUE | 1 | bbl->nr_blocks | 0 |
| PARAM_VALUE | 1 | bbl->nr_dirty | 0 |
| PARAM_VALUE | 2 | nr_records | 0-u32max |
| CAPPED_DATA | 0 | cur->bc_maxlevels | 1 |
| DATA_SOURCE | 0 | cur | $1 |
| MEM_ZERO | 1 | bbl | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res_used |
fs/xfs/scrub/alloc_repair.c xrep_abt_reserve_space() -> xfs_btree_bload_compute_geometry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_levels | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_root | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.agbp | 0 |
| PARAM_VALUE | 0 | cur->bc_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_group | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_nlevels | 0 |
| PARAM_VALUE | 0 | cur->bc_ops | 7045033551692476416 |
| PARAM_VALUE | 0 | cur->bc_ops->type | 0-2 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 1 | bbl | 4096-ptr_max |
| PARAM_VALUE | 1 | bbl->btree_height | 0 |
| PARAM_VALUE | 1 | bbl->claim_block | 563539258044829696 |
| PARAM_VALUE | 1 | bbl->get_records | 6914982804269584384 |
| PARAM_VALUE | 1 | bbl->nr_blocks | 0 |
| PARAM_VALUE | 1 | bbl->nr_dirty | 0 |
| PARAM_VALUE | 1 | bbl->nr_records | 0 |
| DATA_SOURCE | 0 | cur | $2 |
| MEM_ZERO | 1 | bbl | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res_used |
fs/xfs/scrub/alloc_repair.c xrep_abt_reserve_space() -> xfs_btree_bload_compute_geometry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_levels | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_root | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.agbp | 0 |
| PARAM_VALUE | 0 | cur->bc_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_group | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_nlevels | 0 |
| PARAM_VALUE | 0 | cur->bc_ops | 2865506413869281280 |
| PARAM_VALUE | 0 | cur->bc_ops->type | 0-2 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 1 | bbl | 4096-ptr_max |
| PARAM_VALUE | 1 | bbl->btree_height | 0 |
| PARAM_VALUE | 1 | bbl->claim_block | 563539258044829696 |
| PARAM_VALUE | 1 | bbl->get_records | 6914982804269584384 |
| PARAM_VALUE | 1 | bbl->nr_blocks | 0 |
| PARAM_VALUE | 1 | bbl->nr_dirty | 0 |
| PARAM_VALUE | 1 | bbl->nr_records | 0 |
| DATA_SOURCE | 0 | cur | $1 |
| MEM_ZERO | 1 | bbl | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res_used |
fs/xfs/scrub/bmap_repair.c xrep_bmap_btree_load() -> xfs_btree_bload_compute_geometry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_bmap.allocated | 0 |
| PARAM_VALUE | 0 | cur->bc_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ino.ifake | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ino.ip | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ino.whichfork | 255 |
| PARAM_VALUE | 0 | cur->bc_maxlevels | 1-255 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops | 2173030708748693504 |
| PARAM_VALUE | 0 | cur->bc_ops->type | 0-2 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 1 | bbl | 4096-ptr_max |
| PARAM_VALUE | 1 | bbl->btree_height | 0 |
| PARAM_VALUE | 1 | bbl->claim_block | 1679663483964067840 |
| PARAM_VALUE | 1 | bbl->get_records | 2447784733938774016 |
| PARAM_VALUE | 1 | bbl->iroot_size | 9199587467686567936 |
| PARAM_VALUE | 1 | bbl->nr_blocks | 0 |
| PARAM_VALUE | 1 | bbl->nr_dirty | 0 |
| PARAM_VALUE | 1 | bbl->nr_records | 0 |
| PARAM_VALUE | 2 | nr_records | 1-u64max |
| DATA_SOURCE | 0 | cur | $1 |
| MEM_ZERO | 1 | bbl | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ino.ip->i_delayed_blks | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ino.ip->i_nblocks | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res_used |
fs/xfs/scrub/ialloc_repair.c xrep_ibt_build_new_trees() -> xfs_btree_bload_compute_geometry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_levels | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_root | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.agbp | 0 |
| PARAM_VALUE | 0 | cur->bc_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_group | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_nlevels | 0 |
| PARAM_VALUE | 0 | cur->bc_ops | 3248889349463830528 |
| PARAM_VALUE | 0 | cur->bc_ops->ptr_len | 4 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 1 | bbl | 4096-ptr_max |
| PARAM_VALUE | 1 | bbl->btree_height | 0 |
| PARAM_VALUE | 1 | bbl->claim_block | 3805984158882050048 |
| PARAM_VALUE | 1 | bbl->get_records | 6342836799662858240 |
| PARAM_VALUE | 1 | bbl->nr_blocks | 0 |
| PARAM_VALUE | 1 | bbl->nr_dirty | 0 |
| PARAM_VALUE | 1 | bbl->nr_records | 0 |
| DATA_SOURCE | 0 | cur | r xfs_inobt_init_cursor |
| MEM_ZERO | 1 | bbl | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res_used |
fs/xfs/scrub/ialloc_repair.c xrep_ibt_build_new_trees() -> xfs_btree_bload_compute_geometry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_levels | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.afake->af_root | 0 |
| PARAM_VALUE | 0 | cur->bc_ag.agbp | 0 |
| PARAM_VALUE | 0 | cur->bc_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_group | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_nlevels | 0 |
| PARAM_VALUE | 0 | cur->bc_ops | 5493477311123169280 |
| PARAM_VALUE | 0 | cur->bc_ops->ptr_len | 4 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 1 | bbl | 4096-ptr_max |
| PARAM_VALUE | 1 | bbl->btree_height | 0 |
| PARAM_VALUE | 1 | bbl->claim_block | 1704075574978453504 |
| PARAM_VALUE | 1 | bbl->get_records | 5405262669501485056 |
| PARAM_VALUE | 1 | bbl->nr_blocks | 0 |
| PARAM_VALUE | 1 | bbl->nr_dirty | 0 |
| PARAM_VALUE | 1 | bbl->nr_records | 0 |
| DATA_SOURCE | 0 | cur | r xfs_finobt_init_cursor |
| MEM_ZERO | 1 | bbl | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res_used |
fs/xfs/scrub/rtrmap_repair.c xrep_rtrmap_build_new_tree() -> xfs_btree_bload_compute_geometry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_group | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ino.ifake | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ino.ip | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ino.whichfork | 255 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_nlevels | 0 |
| PARAM_VALUE | 0 | cur->bc_ops | 6771264632830390272 |
| PARAM_VALUE | 0 | cur->bc_ops->ptr_len | 8 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 1 | bbl | 4096-ptr_max |
| PARAM_VALUE | 1 | bbl->btree_height | 0 |
| PARAM_VALUE | 1 | bbl->claim_block | 648170493185351680 |
| PARAM_VALUE | 1 | bbl->get_records | 4617136351062425600 |
| PARAM_VALUE | 1 | bbl->iroot_size | 4791458342132883456 |
| PARAM_VALUE | 1 | bbl->nr_blocks | 0 |
| PARAM_VALUE | 1 | bbl->nr_dirty | 0 |
| PARAM_VALUE | 1 | bbl->nr_records | 0 |
| PARAM_VALUE | 2 | nr_records | 0 |
| DATA_SOURCE | 0 | cur | r xfs_rtrmapbt_init_cursor |
| MEM_ZERO | 1 | bbl | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_tp->t_rtx_res_used |