Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- fs/xfs/scrub/alloc_repair.c, line 640
- fs/xfs/scrub/bmap_repair.c, line 600
- fs/xfs/scrub/ialloc_repair.c
- fs/xfs/scrub/refcount_repair.c, line 547
- fs/xfs/scrub/rmap_repair.c, line 1260
- fs/xfs/scrub/rtrefcount_repair.c, line 588
- fs/xfs/scrub/rtrmap_repair.c, line 685
- fs/xfs/scrub/trace.h, line 2426
Smatch caller information:
fs/xfs/scrub/refcount_repair.c xrep_refc_claim_block() -> xrep_newbt_claim_block()
| 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_maxlevels | 1-255 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops | 4096-ptr_max |
| 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->ptr_len | 4,8 |
| PARAM_VALUE | 0 | cur->bc_ops->type | 0-2 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | xnr | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 2804699661505773568 |
| PARAM_VALUE | 2 | ptr->l | u64max |
| PARAM_VALUE | 2 | ptr->s | u32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| CAPPED_DATA | 0 | cur->bc_maxlevels | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| BIT_INFO | 0 | cur->bc_flags | 0x0,0xffffffff |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| 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_rec.r.rm_offset | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_rec.r.rm_startblock | |
| 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_claim_block() -> xrep_newbt_claim_block()
| 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_maxlevels | 1-255 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops | 4096-ptr_max |
| 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->ptr_len | 4,8 |
| PARAM_VALUE | 0 | cur->bc_ops->type | 0-2 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | xnr | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 2804699661505773568 |
| PARAM_VALUE | 2 | ptr->l | u64max |
| PARAM_VALUE | 2 | ptr->s | u32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| CAPPED_DATA | 0 | cur->bc_maxlevels | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| BIT_INFO | 0 | cur->bc_flags | 0x0,0xffffffff |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| 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_rec.r.rm_offset | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_rec.r.rm_startblock | |
| 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_claim_block() -> xrep_newbt_claim_block()
| 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_maxlevels | 1-255 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops | 4096-ptr_max |
| 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->ptr_len | 4,8 |
| PARAM_VALUE | 0 | cur->bc_ops->type | 0-2 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | xnr | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 2804699661505773568 |
| PARAM_VALUE | 2 | ptr->l | u64max |
| PARAM_VALUE | 2 | ptr->s | u32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| CAPPED_DATA | 0 | cur->bc_maxlevels | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| BIT_INFO | 0 | cur->bc_flags | 0x0,0xffffffff |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| 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_rec.r.rm_offset | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_rec.r.rm_startblock | |
| 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_claim_block() -> xrep_newbt_claim_block()
| 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_maxlevels | 1-255 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops | 4096-ptr_max |
| 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->ptr_len | 4,8 |
| PARAM_VALUE | 0 | cur->bc_ops->type | 0-2 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | xnr | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 2804699661505773568 |
| PARAM_VALUE | 2 | ptr->l | u64max |
| PARAM_VALUE | 2 | ptr->s | u32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| CAPPED_DATA | 0 | cur->bc_maxlevels | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| BIT_INFO | 0 | cur->bc_flags | 0x0,0xffffffff |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| 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_rec.r.rm_offset | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_rec.r.rm_startblock | |
| 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_claim_block() -> xrep_newbt_claim_block()
| 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_maxlevels | 1-255 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops | 4096-ptr_max |
| 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->ptr_len | 4,8 |
| PARAM_VALUE | 0 | cur->bc_ops->type | 0-2 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | xnr | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 2804699661505773568 |
| PARAM_VALUE | 2 | ptr->l | u64max |
| PARAM_VALUE | 2 | ptr->s | u32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| CAPPED_DATA | 0 | cur->bc_maxlevels | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| BIT_INFO | 0 | cur->bc_flags | 0x0,0xffffffff |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| 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_rec.r.rm_offset | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_rec.r.rm_startblock | |
| 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_fibt_claim_block() -> xrep_newbt_claim_block()
| 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_maxlevels | 1-255 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops | 4096-ptr_max |
| 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->ptr_len | 4,8 |
| PARAM_VALUE | 0 | cur->bc_ops->type | 0-2 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | xnr | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 2804699661505773568 |
| PARAM_VALUE | 2 | ptr->l | u64max |
| PARAM_VALUE | 2 | ptr->s | u32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| CAPPED_DATA | 0 | cur->bc_maxlevels | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| BIT_INFO | 0 | cur->bc_flags | 0x0,0xffffffff |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| 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_rec.r.rm_offset | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_rec.r.rm_startblock | |
| 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_claim_block() -> xrep_newbt_claim_block()
| 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_maxlevels | 1-255 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops | 4096-ptr_max |
| 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->ptr_len | 4,8 |
| PARAM_VALUE | 0 | cur->bc_ops->type | 0-2 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | xnr | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 2804699661505773568 |
| PARAM_VALUE | 2 | ptr->l | u64max |
| PARAM_VALUE | 2 | ptr->s | u32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| CAPPED_DATA | 0 | cur->bc_maxlevels | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| BIT_INFO | 0 | cur->bc_flags | 0x0,0xffffffff |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| 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_rec.r.rm_offset | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_rec.r.rm_startblock | |
| 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_claim_block() -> xrep_newbt_claim_block()
| 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_maxlevels | 1-255 |
| PARAM_VALUE | 0 | cur->bc_mp | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_ops | 4096-ptr_max |
| 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->ptr_len | 4,8 |
| PARAM_VALUE | 0 | cur->bc_ops->type | 0-2 |
| PARAM_VALUE | 0 | cur->bc_tp | 0 |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_items.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cur->bc_tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 1 | xnr | 4096-ptr_max |
| PARAM_VALUE | 2 | ptr | 2804699661505773568 |
| PARAM_VALUE | 2 | ptr->l | u64max |
| PARAM_VALUE | 2 | ptr->s | u32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| BUF_SIZE | 0 | cur | (-1)-s32max |
| CAPPED_DATA | 0 | cur->bc_maxlevels | 1 |
| DATA_SOURCE | 0 | cur | $0 |
| DATA_SOURCE | 2 | ptr | $1 |
| BIT_INFO | 0 | cur->bc_flags | 0x0,0xffffffff |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_ag.agbp->b_map_count | |
| 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_rec.r.rm_offset | |
| NO_OVERFLOW_SIMPLE | 0 | cur->bc_rec.r.rm_startblock | |
| 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 |