Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/xfs/libxfs/xfs_inode_fork.c xfs_bmap_broot_space() -> xfs_bmap_broot_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 nrecs 0-u16max
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 0 mp (-1),1-s32max
DATA_SOURCE 0 mp $0
STR_LEN 0 mp (-1),5,8
STR_LEN 0 mp (-1),5,8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 mp->m_rsumlevels 1-32[c]
UNITS 0 mp unit_byte
UNITS 1 nrecs unit_array_size

fs/xfs/scrub/bmap_repair.c xrep_bmap_iroot_size() -> xfs_bmap_broot_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
DATA_SOURCE 1 nrecs $2
UNITS 0 mp unit_byte

fs/xfs/scrub/inode_repair.c xfs_bmap_broot_space() -> xfs_bmap_broot_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 nrecs 0-u16max
DATA_SOURCE 0 mp $0
UNITS 0 mp unit_byte
UNITS 1 nrecs unit_array_size

fs/xfs/libxfs/xfs_bmap_btree.c xfs_bmap_broot_realloc() -> xfs_bmap_broot_space_calc()

Type Parameter Key Value
PARAM_VALUE 1 nrecs 1-65536
CAPPED_DATA 1 nrecs 1
DATA_SOURCE 1 nrecs $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte