Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/xfs/libxfs/xfs_inode_fork.c xfs_bmap_bmdr_space() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 0-u16max
UNITS 0 nrecs unit_array_size
LOCK2 &ailp->ail_lock
LOCK2 &bp->b_sema
TYPE_LOCK (struct xfs_buf)->b_sema

fs/xfs/libxfs/xfs_inode_fork.c xfs_iformat_btree() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 1-u16max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 nrecs unit_array_size

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_bmdr_space() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 0-u16max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 nrecs unit_array_size

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_compute_attr_offset() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 2

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_compute_attr_offset() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 12

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_compute_maxlevels() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 3

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_compute_maxlevels() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 2

fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_shortform_bytesfit() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 3
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_shortform_bytesfit() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 3
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_shortform_bytesfit() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 2
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_attr_leaf.c xfs_bmap_bmdr_space() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 0-u16max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 nrecs unit_array_size

fs/xfs/scrub/inode_repair.c xrep_dinode_bad_bmbt_fork() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 1-u16max
UNITS 0 nrecs unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 nrecs 1

fs/xfs/libxfs/xfs_bmap_btree.c xfs_bmap_bmdr_space() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 0-u16max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 nrecs unit_array_size

fs/xfs/xfs_bmap_util.c xfs_bmap_bmdr_space() -> xfs_bmdr_space_calc()

Type Parameter Key Value
PARAM_VALUE 0 nrecs 0-u16max
UNITS 0 nrecs unit_array_size