Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/xfs/scrub/repair.c xrep_ag_init() -> xrep_ag_btcur_init()

Type Parameter Key Value
PARAM_VALUE 0 sc 4096-ptr_max
PARAM_VALUE 0 sc->mp 4096-ptr_max
PARAM_VALUE 0 sc->sm 4096-ptr_max
PARAM_VALUE 0 sc->tp 0,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
PARAM_VALUE 1 sa 4096-ptr_max
PARAM_VALUE 1 sa->agf_bp 4096-ptr_max
PARAM_VALUE 1 sa->agf_bp->b_lru_ref.counter 0-4
PARAM_VALUE 1 sa->agi_bp 4096-ptr_max
PARAM_VALUE 1 sa->agi_bp->b_lru_ref.counter 0-4
PARAM_VALUE 1 sa->pag 4096-ptr_max
CAPPED_DATA 0 sc->tp 1
DATA_SOURCE 0 sc $0
DATA_SOURCE 1 sa $2
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 sa->agf_bp->b_map_count
NO_OVERFLOW_SIMPLE 1 sa->agi_bp->b_map_count

fs/xfs/scrub/refcount_repair.c xrep_refc_find_refcounts() -> xrep_ag_btcur_init()

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->sm 4096-ptr_max
PARAM_VALUE 1 sa 4096-ptr_max
NOCHECK_CALL

fs/xfs/scrub/rmap_repair.c xrep_rmap_find_rmaps() -> xrep_ag_btcur_init()

Type Parameter Key Value
PARAM_VALUE 0 sc 4096-ptr_max
PARAM_VALUE 0 sc->sa.pag 4096-ptr_max
PARAM_VALUE 1 sa 4096-ptr_max
PARAM_VALUE 1 sa->pag 4096-ptr_max
NOCHECK_CALL

fs/xfs/scrub/rmap_repair.c xrep_rmap_reserve_space() -> xrep_ag_btcur_init()

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_filestream->lru_grp 0-4294967295
PARAM_VALUE 0 sc->mp->m_inodegc_wq->first_flusher->done.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 sc->mp->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 0 sc->mp->m_inodegc_wq->work_color s32min-s32max
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_log_item->bli_buf->b_lockref.count s32min-s32max
PARAM_VALUE 0 sc->sa.agf_bp->b_log_item->bli_buf->b_target->bt_hash.nelems.counter s32min-s32max
PARAM_VALUE 0 sc->sa.agf_bp->b_log_item->bli_buf->b_target->bt_hash.tbl->nest 0-4294967295
PARAM_VALUE 0 sc->sa.agf_bp->b_log_item->bli_flags 0,2-4294967295
PARAM_VALUE 0 sc->sa.agf_bp->b_log_item->bli_recur 0-4294967295
PARAM_VALUE 0 sc->sa.agf_bp->b_log_item->bli_refcount.counter s32min-s32max
PARAM_VALUE 0 sc->sa.agf_bp->b_sema.first_waiter->up 1
PARAM_VALUE 0 sc->sa.agi_bp->b_log_item->bli_buf->b_lockref.count s32min-s32max
PARAM_VALUE 0 sc->sa.agi_bp->b_log_item->bli_buf->b_target->bt_hash.nelems.counter s32min-s32max
PARAM_VALUE 0 sc->sa.agi_bp->b_log_item->bli_buf->b_target->bt_hash.tbl->nest 0-4294967295
PARAM_VALUE 0 sc->sa.agi_bp->b_log_item->bli_flags 0,2-4294967295
PARAM_VALUE 0 sc->sa.agi_bp->b_log_item->bli_recur 0-4294967295
PARAM_VALUE 0 sc->sa.agi_bp->b_log_item->bli_refcount.counter s32min-s32max
PARAM_VALUE 0 sc->sa.agi_bp->b_sema.first_waiter->up 1
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->m_ddev_targp->bt_hash.tbl->dep_map->name 0-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
PARAM_VALUE 0 sc->tp->t_flags 0,4,16,20,32,36,64,68,80,84
PARAM_VALUE 0 sc->tp->t_highest_agno u32max
PARAM_VALUE 0 sc->tp->t_pflags 0,262144
PARAM_VALUE 0 sc->xmbtp->bt_file->f_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 sc->xmbtp->bt_file->f_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 sc->xmbtp->bt_file->f_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 sc->xmbtp->bt_nr_sectors 1-s64max
PARAM_VALUE 1 sa 4096-ptr_max
PARAM_VALUE 1 sa->agf_bp 4096-ptr_max
PARAM_VALUE 1 sa->bno_cur 0
PARAM_VALUE 1 sa->cnt_cur 0
PARAM_VALUE 1 sa->fino_cur 0
PARAM_VALUE 1 sa->ino_cur 0
PARAM_VALUE 1 sa->pag 4096-ptr_max
PARAM_VALUE 1 sa->refc_cur 0
PARAM_VALUE 1 sa->rmap_cur 0
CAPPED_DATA 0 sc->tp 1
NOCHECK_CALL

fs/xfs/scrub/alloc_repair.c xrep_abt_find_freespace() -> xrep_ag_btcur_init()

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->sa.agf_bp 4096-ptr_max
PARAM_VALUE 0 sc->sm 4096-ptr_max
PARAM_VALUE 1 sa 4096-ptr_max
PARAM_VALUE 1 sa->agf_bp 4096-ptr_max
NOCHECK_CALL

fs/xfs/scrub/ialloc_repair.c xrep_ibt_find_inodes() -> xrep_ag_btcur_init()

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->sm 4096-ptr_max
PARAM_VALUE 1 sa 4096-ptr_max
NOCHECK_CALL