Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

fs/xfs/scrub/nlinks_repair.c xrep_nlinks_repair_inode() -> xrep_orphanage_can_adopt()

Type Parameter Key Value
PARAM_VALUE 0 sc 4096-ptr_max
PARAM_VALUE 0 sc->ip 4096-ptr_max
PARAM_VALUE 0 sc->ip->i_mount 4096-ptr_max

fs/xfs/scrub/dirtree_repair.c xrep_dirtree_fix_problems() -> xrep_orphanage_can_adopt()

Type Parameter Key Value
PARAM_VALUE 0 sc 4096-ptr_max
PARAM_VALUE 0 sc->ip 4096-ptr_max
PARAM_VALUE 0 sc->ip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sc->ip->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 sc->ip->i_mount 4096-ptr_max
CAPPED_DATA 0 sc->ip 1
LOCK2 &dl->lock
TYPE_LOCK (struct xchk_dirtree)->lock

fs/xfs/scrub/dir_repair.c xrep_directory() -> xrep_orphanage_can_adopt()

Type Parameter Key Value
PARAM_VALUE 0 sc 4096-ptr_max
PARAM_VALUE 0 sc->ip->i_lock.dep_map->name 0-255
PARAM_VALUE 0 sc->ip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sc->ip->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 sc->mp 4096-ptr_max
PARAM_VALUE 0 sc->mp->m_dir_update_hooks.head.head 4096-ptr_max
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->relax.resched_nr 0-99
PARAM_VALUE 0 sc->tempip->i_itemp->ili_dirty_flags 0-4294967295
PARAM_VALUE 0 sc->tempip->i_itemp->ili_lock_flags 0-u16max
PARAM_VALUE 0 sc->tempip->i_lock.dep_map->name 0-255
PARAM_VALUE 0 sc->tempip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 sc->tempip->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 sc->tp 0,4096-ptr_max

fs/xfs/scrub/parent_repair.c xrep_parent_rebuild_tree() -> xrep_orphanage_can_adopt()

Type Parameter Key Value
PARAM_VALUE 0 sc 4096-ptr_max
PARAM_VALUE 0 sc->ip 4096-ptr_max
PARAM_VALUE 0 sc->ip->i_mount 4096-ptr_max
PARAM_VALUE 0 sc->mp 4096-ptr_max
CAPPED_DATA 0 sc->ip 1