Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- fs/xfs/scrub/cow_repair.c
- fs/xfs/scrub/rmap_repair.c, line 832
- fs/xfs/scrub/rtrmap_repair.c, line 504
Smatch caller information:
fs/xfs/scrub/cow_repair.c xrep_cow_find_bad() -> xfs_refcount_query_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.agbp | 0,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_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops | 3386398652014444544 |
| PARAM_VALUE | 0 | cur->bc_refc.nr_ops | 0 |
| PARAM_VALUE | 0 | cur->bc_refc.shape_changes | 0 |
| PARAM_VALUE | 1 | low_rec | 2101850870257070080 |
| PARAM_VALUE | 2 | high_rec | 422419904078209024 |
| PARAM_VALUE | 3 | fn | 6040571243654250496 |
| PARAM_VALUE | 4 | priv | 4096-ptr_max |
| BUF_SIZE | 4 | priv | 80 |
| DATA_SOURCE | 4 | priv | $0 |
| 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/cow_repair.c xrep_cow_find_bad() -> xfs_refcount_query_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ag.agbp | 0,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_mem.xfbtree->target->bt_hash.nelems.counter | s32min-s32max |
| PARAM_VALUE | 0 | cur->bc_mem.xfbtree->target->bt_hash.run_irq_work.node.a_flags.counter | s32min-s32max |
| PARAM_VALUE | 0 | cur->bc_mem.xfbtree->target->bt_hash.tbl->hash_rnd | 0-4294967295 |
| PARAM_VALUE | 0 | cur->bc_mem.xfbtree->target->bt_hash.tbl->nest | 0-4294967295 |
| PARAM_VALUE | 0 | cur->bc_mem.xfbtree->target->bt_hash.tbl->size | 0-4294967295 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops | 3386398652014444544 |
| PARAM_VALUE | 0 | cur->bc_ops->buf_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->buf_ops->verify_read | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->buf_ops->verify_write | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->cmp_two_keys | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->init_key_from_rec | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->init_rec_from_cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_refc.nr_ops | 0 |
| PARAM_VALUE | 0 | cur->bc_refc.shape_changes | 0 |
| PARAM_VALUE | 1 | low_rec | 2101850870257070080 |
| PARAM_VALUE | 1 | low_rec->rc_domain | 1 |
| PARAM_VALUE | 2 | high_rec | 422419904078209024 |
| PARAM_VALUE | 2 | high_rec->rc_domain | 1 |
| PARAM_VALUE | 3 | fn | 870472277358403584 |
| PARAM_VALUE | 4 | priv | 4096-ptr_max |
| BUF_SIZE | 4 | priv | 80 |
| CAPPED_DATA | 0 | cur->bc_nlevels | 1 |
| DATA_SOURCE | 4 | priv | $0 |
| 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/cow_repair.c xrep_cow_find_bad_rt() -> xfs_refcount_query_range()
| 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.ip | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ino.whichfork | 0 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops | 5177736840100265984 |
| PARAM_VALUE | 0 | cur->bc_refc.nr_ops | 0 |
| PARAM_VALUE | 0 | cur->bc_refc.shape_changes | 0 |
| PARAM_VALUE | 1 | low_rec | 5372794580543946752 |
| PARAM_VALUE | 2 | high_rec | 7374755419153068032 |
| PARAM_VALUE | 3 | fn | 6040571243654250496 |
| PARAM_VALUE | 4 | priv | 4096-ptr_max |
| BUF_SIZE | 4 | priv | 80 |
| DATA_SOURCE | 4 | priv | $0 |
| 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/cow_repair.c xrep_cow_find_bad_rt() -> xfs_refcount_query_range()
| 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.ip | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ino.whichfork | 0 |
| PARAM_VALUE | 0 | cur->bc_mem.xfbtree->target->bt_hash.nelems.counter | s32min-s32max |
| PARAM_VALUE | 0 | cur->bc_mem.xfbtree->target->bt_hash.run_irq_work.node.a_flags.counter | s32min-s32max |
| PARAM_VALUE | 0 | cur->bc_mem.xfbtree->target->bt_hash.tbl->hash_rnd | 0-4294967295 |
| PARAM_VALUE | 0 | cur->bc_mem.xfbtree->target->bt_hash.tbl->nest | 0-4294967295 |
| PARAM_VALUE | 0 | cur->bc_mem.xfbtree->target->bt_hash.tbl->size | 0-4294967295 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops | 5177736840100265984 |
| PARAM_VALUE | 0 | cur->bc_ops->buf_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->buf_ops->verify_read | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->buf_ops->verify_write | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->cmp_two_keys | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->init_key_from_rec | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->init_rec_from_cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_refc.nr_ops | 0 |
| PARAM_VALUE | 0 | cur->bc_refc.shape_changes | 0 |
| PARAM_VALUE | 1 | low_rec | 5372794580543946752 |
| PARAM_VALUE | 1 | low_rec->rc_domain | 1 |
| PARAM_VALUE | 2 | high_rec | 7374755419153068032 |
| PARAM_VALUE | 2 | high_rec->rc_domain | 1 |
| PARAM_VALUE | 3 | fn | 870472277358403584 |
| PARAM_VALUE | 4 | priv | 4096-ptr_max |
| BUF_SIZE | 4 | priv | 80 |
| CAPPED_DATA | 0 | cur->bc_nlevels | 1 |
| DATA_SOURCE | 4 | priv | $0 |
| 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_find_refcount_rmaps() -> xfs_refcount_query_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ino.ip->i_itemp->ili_dirty_flags | 0-4294967295 |
| PARAM_VALUE | 0 | cur->bc_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->buf_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->buf_ops->verify_read | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops->buf_ops->verify_write | 4096-ptr_max |
| PARAM_VALUE | 1 | low_rec | 3620669276487409664 |
| PARAM_VALUE | 1 | low_rec->rc_domain | 1 |
| PARAM_VALUE | 2 | high_rec | 6202958742362079232 |
| PARAM_VALUE | 2 | high_rec->rc_domain | 1 |
| PARAM_VALUE | 2 | high_rec->rc_startblock | u32max |
| PARAM_VALUE | 3 | fn | 4548738963189600256 |
| PARAM_VALUE | 4 | priv | 8388187345601990656 |
| BUF_SIZE | 4 | priv | 16 |
fs/xfs/scrub/rtrmap_repair.c xrep_rtrmap_find_refcount_rmaps() -> xfs_refcount_query_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cur | 4096-ptr_max |
| PARAM_VALUE | 1 | low_rec | 5035568024323530752 |
| PARAM_VALUE | 1 | low_rec->rc_domain | 1 |
| PARAM_VALUE | 2 | high_rec | 5627794613171527680 |
| PARAM_VALUE | 2 | high_rec->rc_domain | 1 |
| PARAM_VALUE | 2 | high_rec->rc_startblock | u32max |
| PARAM_VALUE | 3 | fn | 5836820850122158080 |
| PARAM_VALUE | 4 | priv | 6209795528263618560 |
| BUF_SIZE | 4 | priv | 16 |