Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/xfs/scrub/rtrefcount_repair.c xrep_rtrefc_iroot_size() -> xfs_rtrefcount_broot_space_calc()

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

fs/xfs/scrub/inode_repair.c xfs_rtrefcount_broot_space() -> xfs_rtrefcount_broot_space_calc()

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

fs/xfs/libxfs/xfs_rtrefcount_btree.c xfs_iformat_rtrefcount() -> xfs_rtrefcount_broot_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 level 0-u16max
PARAM_VALUE 2 nrecs 0-u16max
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 0 mp (-1),1-s32max
CAPPED_DATA 1 level 1
STR_LEN 0 mp (-1),5,8
STR_LEN 0 mp (-1),5,8
PARAM_COMPARE 1 level < $0->m_rtrefc_maxlevels
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte
UNITS 2 nrecs unit_array_size

fs/xfs/libxfs/xfs_rtrefcount_btree.c xfs_rtrefcount_broot_space() -> xfs_rtrefcount_broot_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 level 0-u16max
PARAM_VALUE 2 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
UNITS 0 mp unit_byte
UNITS 2 nrecs unit_array_size

fs/xfs/libxfs/xfs_rtrefcount_btree.c xfs_rtrefcountbt_broot_realloc() -> xfs_rtrefcount_broot_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 level 0-254,u32max
PARAM_VALUE 2 nrecs 0-65536
CAPPED_DATA 2 nrecs 1
DATA_SOURCE 2 nrecs $1
BIT_INFO 1 level 0x0,0xff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_rtrefcount_btree.c xfs_rtrefcountbt_create() -> xfs_rtrefcount_broot_space_calc()

Type Parameter Key Value
PARAM_VALUE 1 level 0
PARAM_VALUE 2 nrecs 0
UNITS 0 mp unit_byte