Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

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

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

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_node_add_datablk() -> xfs_dir2_data_bestfree_p()

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

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_node_addname_int() -> xfs_dir2_data_bestfree_p()

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

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

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

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

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

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

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

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

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

fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_leaf_trim_data() -> xfs_dir2_data_bestfree_p()

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

fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_block_need_space() -> xfs_dir2_data_bestfree_p()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
BUF_SIZE 1 hdr s32min-(-2),1-s32max
BUF_SIZE 1 hdr s32min-(-2),1-s32max
DATA_SOURCE 1 hdr $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_sf_to_block() -> xfs_dir2_data_bestfree_p()

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

fs/xfs/scrub/dir.c xchk_directory_check_freesp() -> xfs_dir2_data_bestfree_p()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
BUF_SIZE 1 hdr s32min-(-2),1-s32max
UNITS 0 mp unit_byte

fs/xfs/scrub/dir.c xchk_directory_data_bestfree() -> xfs_dir2_data_bestfree_p()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
BUF_SIZE 1 hdr s32min-(-2),1-s32max
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_data.c __xfs_dir3_data_check() -> xfs_dir2_data_bestfree_p()

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

fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_freescan() -> xfs_dir2_data_bestfree_p()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
BUF_SIZE 1 hdr s32min-(-2),1-s32max
BUF_SIZE 1 hdr s32min-(-2),1-s32max
DATA_SOURCE 0 mp $0
DATA_SOURCE 1 hdr $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_make_free() -> xfs_dir2_data_bestfree_p()

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

fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_use_free() -> xfs_dir2_data_bestfree_p()

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

fs/xfs/libxfs/xfs_dir2_data.c xfs_dir3_data_init() -> xfs_dir2_data_bestfree_p()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
BUF_SIZE 1 hdr s32min-(-2),1-s32max
BUF_SIZE 1 hdr s32min-(-2),1-s32max
MEM_ZERO 1 hdr
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte