Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/xfs/scrub/inode_repair.c xrep_dinode_ensure_forkoff() -> xrep_dinode_zap_afork()

Type Parameter Key Value
PARAM_VALUE 0 ri 4096-ptr_max
PARAM_VALUE 0 ri->ftype_iscan.sc->mp->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 0 ri->ftype_iscan.sc->mp->m_inodegc_wq->work_color s32min-s32max
PARAM_VALUE 0 ri->ino_sick_mask 0,256-u32max
PARAM_VALUE 0 ri->sc 4096-ptr_max
PARAM_VALUE 0 ri->sc->mp 4096-ptr_max
PARAM_VALUE 0 ri->sc->mp->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
PARAM_VALUE 0 ri->sc->mp->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 0 ri->sc->mp->m_inodegc_wq->work_color s32min-s32max
PARAM_VALUE 0 ri->sc->sm 4096-ptr_max
PARAM_VALUE 0 ri->sc->sr.refc_cur 0
PARAM_VALUE 0 ri->sc->sr.rmap_cur 0
PARAM_VALUE 0 ri->sc->sr.rtg 0
PARAM_VALUE 0 ri->sc->sr.rtlock_flags 0
PARAM_VALUE 0 ri->sc->tp 0,4096-ptr_max
PARAM_VALUE 0 ri->sc->tp->t_items.prev 4096-ptr_max
PARAM_VALUE 0 ri->sc->tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 ri->sc->tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 0 *ri->sc->sr.rmap_cur->bc_mem.xfbtree->target->bt_readahead_count.counters s32min-s32max
PARAM_VALUE 1 dip 4096-ptr_max
PARAM_VALUE 1 dip->di_aformat 1-3
PARAM_VALUE 1 dip->di_big_nextents 0
PARAM_VALUE 1 dip->di_extsize 0
PARAM_VALUE 1 dip->di_flags 0-59391
PARAM_VALUE 1 dip->di_format 2
PARAM_VALUE 1 dip->di_magic 18766
PARAM_VALUE 1 dip->di_metatype 0-8
PARAM_VALUE 1 dip->di_nrext64_pad 0
PARAM_VALUE 1 dip->di_size 0-9223372036854775807
PARAM_VALUE 1 dip->di_v3_pad 0
PARAM_VALUE 1 dip->di_version 1-3
BUF_SIZE 0 ri 40,72,192-s32max
BUF_SIZE 0 ri 40,72,192-s32max
DATA_SOURCE 0 ri $0
DATA_SOURCE 1 dip $1
DATA_SOURCE 2 mode $2
NOCHECK_CALL

fs/xfs/scrub/inode_repair.c xrep_dinode_ensure_forkoff() -> xrep_dinode_zap_afork()

Type Parameter Key Value
PARAM_VALUE 0 ri 4096-ptr_max
PARAM_VALUE 0 ri->attr_extents 1-u32max
PARAM_VALUE 0 ri->ftype_iscan.sc->mp->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 0 ri->ftype_iscan.sc->mp->m_inodegc_wq->work_color s32min-s32max
PARAM_VALUE 0 ri->ino_sick_mask 0,256-u32max
PARAM_VALUE 0 ri->sc 4096-ptr_max
PARAM_VALUE 0 ri->sc->mp 4096-ptr_max
PARAM_VALUE 0 ri->sc->mp->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
PARAM_VALUE 0 ri->sc->mp->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 0 ri->sc->mp->m_inodegc_wq->work_color s32min-s32max
PARAM_VALUE 0 ri->sc->sm 4096-ptr_max
PARAM_VALUE 0 ri->sc->sr.refc_cur 0
PARAM_VALUE 0 ri->sc->sr.rmap_cur 0
PARAM_VALUE 0 ri->sc->sr.rtg 0
PARAM_VALUE 0 ri->sc->sr.rtlock_flags 0
PARAM_VALUE 0 ri->sc->tp 0,4096-ptr_max
PARAM_VALUE 0 ri->sc->tp->t_items.prev 4096-ptr_max
PARAM_VALUE 0 ri->sc->tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 ri->sc->tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 0 *ri->sc->sr.rmap_cur->bc_mem.xfbtree->target->bt_readahead_count.counters s32min-s32max
PARAM_VALUE 1 dip 4096-ptr_max
PARAM_VALUE 1 dip->di_aformat 2
PARAM_VALUE 1 dip->di_big_nextents 0
PARAM_VALUE 1 dip->di_extsize 0
PARAM_VALUE 1 dip->di_flags 0-59391
PARAM_VALUE 1 dip->di_format 0-2,4-5
PARAM_VALUE 1 dip->di_magic 18766
PARAM_VALUE 1 dip->di_metatype 0-8
PARAM_VALUE 1 dip->di_nrext64_pad 0
PARAM_VALUE 1 dip->di_size 0-9223372036854775807
PARAM_VALUE 1 dip->di_v3_pad 0
PARAM_VALUE 1 dip->di_version 1-3
BUF_SIZE 0 ri 40,72,192-s32max
BUF_SIZE 0 ri 40,72,192-s32max
DATA_SOURCE 0 ri $0
DATA_SOURCE 1 dip $1
DATA_SOURCE 2 mode $2
FUZZY_MAX 1 dip->di_format 2
NOCHECK_CALL

fs/xfs/scrub/inode_repair.c xrep_dinode_zap_forks() -> xrep_dinode_zap_afork()

Type Parameter Key Value
PARAM_VALUE 0 ri 4096-ptr_max
PARAM_VALUE 0 ri->ino_sick_mask 0,1024-u32max
PARAM_VALUE 0 ri->sc->mp 4096-ptr_max
PARAM_VALUE 0 ri->sc->mp->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
PARAM_VALUE 0 ri->sc->sm 4096-ptr_max
PARAM_VALUE 0 ri->sc->sr.refc_cur 0
PARAM_VALUE 0 ri->sc->sr.rmap_cur 0
PARAM_VALUE 0 ri->sc->sr.rtg 0
PARAM_VALUE 0 ri->sc->sr.rtlock_flags 0
PARAM_VALUE 0 ri->sc->tp 0,4096-ptr_max
PARAM_VALUE 0 ri->sc->tp->t_items.prev 4096-ptr_max
PARAM_VALUE 0 ri->sc->tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 ri->sc->tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 0 *ri->sc->sr.rmap_cur->bc_mem.xfbtree->target->bt_readahead_count.counters s32min-s32max
PARAM_VALUE 1 dip 4096-ptr_max
PARAM_VALUE 1 dip->di_big_nextents 0
PARAM_VALUE 1 dip->di_extsize 0
PARAM_VALUE 1 dip->di_flags 0-59391
PARAM_VALUE 1 dip->di_format 1
PARAM_VALUE 1 dip->di_magic 18766
PARAM_VALUE 1 dip->di_metatype 0-8
PARAM_VALUE 1 dip->di_nrext64_pad 0
PARAM_VALUE 1 dip->di_size 0-9223372036854775807
PARAM_VALUE 1 dip->di_v3_pad 0
PARAM_VALUE 1 dip->di_version 1-3
BUF_SIZE 0 ri 40,72,192-s32max
BUF_SIZE 0 ri 40,72,192-s32max
CAPPED_DATA 1 dip->di_size 1
DATA_SOURCE 0 ri $0
DATA_SOURCE 1 dip $1
NOCHECK_CALL