Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_leafn_add() -> xfs_dir2_leaf_hdr_to_disk()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 to 4096-ptr_max
PARAM_VALUE 2 from 1327732496826175488
BUF_SIZE 1 to s32min-(-2),1-s32max
BUF_SIZE 1 to s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_leafn_rebalance() -> xfs_dir2_leaf_hdr_to_disk()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 to 4096-ptr_max
PARAM_VALUE 2 from 1304103818567544832
BUF_SIZE 1 to s32min-(-2),1-s32max
BUF_SIZE 1 to s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_leafn_rebalance() -> xfs_dir2_leaf_hdr_to_disk()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 to 4096-ptr_max
PARAM_VALUE 2 from 8034234657609326592
BUF_SIZE 1 to s32min-(-2),1-s32max
BUF_SIZE 1 to s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_leafn_remove() -> xfs_dir2_leaf_hdr_to_disk()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 to 4096-ptr_max
PARAM_VALUE 2 from 48916192971685888
PARAM_VALUE 2 from->ents 4096-ptr_max
BUF_SIZE 1 to s32min-(-2),1-s32max
BUF_SIZE 1 to s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_leafn_unbalance() -> xfs_dir2_leaf_hdr_to_disk()

Type Parameter Key Value
PARAM_VALUE 1 to 4096-ptr_max
PARAM_VALUE 2 from 3632898222281216000
PARAM_VALUE 2 from->ents 4096-ptr_max
BUF_SIZE 1 to s32min-(-2),1-s32max
BUF_SIZE 1 to s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_leafn_unbalance() -> xfs_dir2_leaf_hdr_to_disk()

Type Parameter Key Value
PARAM_VALUE 1 to 4096-ptr_max
PARAM_VALUE 2 from 7877659191541915648
PARAM_VALUE 2 from->ents 4096-ptr_max
BUF_SIZE 1 to s32min-(-2),1-s32max
BUF_SIZE 1 to s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_block_to_leaf() -> xfs_dir2_leaf_hdr_to_disk()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 2 from 6383633602943762432
BUF_SIZE 1 to s32min-(-2),1-s32max
BUF_SIZE 1 to s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_addname() -> xfs_dir2_leaf_hdr_to_disk()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 0 mp->m_ddev_targp->bt_hash.tbl->dep_map->name 0-255
PARAM_VALUE 2 from 7745197555728805888
PARAM_VALUE 2 from->ents 4096-ptr_max
BUF_SIZE 1 to s32min-(-2),1-s32max
BUF_SIZE 1 to s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_removename() -> xfs_dir2_leaf_hdr_to_disk()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 2 from 4926935941834895360
PARAM_VALUE 2 from->ents 4096-ptr_max
BUF_SIZE 1 to s32min-(-2),1-s32max
BUF_SIZE 1 to s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_node_to_leaf() -> xfs_dir2_leaf_hdr_to_disk()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 2 from 8453316922952466432
PARAM_VALUE 2 from->magic 15857,54001
PARAM_VALUE 2 from->stale 0
BUF_SIZE 1 to s32min-(-2),1-s32max
BUF_SIZE 1 to s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_compact() -> xfs_dir2_leaf_hdr_to_disk()

Type Parameter Key Value
PARAM_VALUE 2 from 3632898222281216000,7877659191541915648,8453316922952466432
PARAM_VALUE 2 from->stale 0
BUF_SIZE 1 to s32min-(-2),1-s32max
BUF_SIZE 1 to s32min-(-2),1-s32max
DATA_SOURCE 2 from $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 mp unit_byte