Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/xfs/scrub/orphanage.c xrep_adoption_trans_alloc() -> xfs_link_space_res()

Type Parameter Key Value
PARAM_VALUE 1 namelen 256
UNITS 0 mp unit_byte

fs/xfs/scrub/dir_repair.c xrep_dir_replay_update() -> xfs_link_space_res()

Type Parameter Key Value
PARAM_VALUE 1 namelen 0-255
UNITS 0 mp unit_byte
UNITS 1 namelen unit_byte

fs/xfs/xfs_inode.c xfs_link() -> xfs_link_space_res()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte
UNITS 1 namelen unit_byte
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/xfs/scrub/metapath.c xrep_metapath() -> xfs_link_space_res()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_dir_geo 4096-ptr_max
PARAM_VALUE 1 namelen 256
UNITS 0 mp unit_byte