Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/xfs/scrub/dir_repair.c xrep_dir_recover_data() -> xfs_dir3_data_end_offset()

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

fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_block_to_sf() -> xfs_dir3_data_end_offset()

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

fs/xfs/xfs_dir2_readdir.c xfs_dir2_block_getdents() -> xfs_dir3_data_end_offset()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
BUF_SIZE 1 hdr s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/xfs/scrub/dir.c xchk_dir_rec() -> xfs_dir3_data_end_offset()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 0 geo->leafblk 1-u32max
BUF_SIZE 1 hdr s32min-(-2),1-s32max

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

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

fs/xfs/scrub/readdir.c xchk_dir_walk_block() -> xfs_dir3_data_end_offset()

Type Parameter Key Value
BUF_SIZE 1 hdr s32min-(-2),1-s32max

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

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 1 hdr->magic 1480864322,1480864324,1480868403,1480868915
BUF_SIZE 1 hdr s32min-(-2),1-s32max
BUF_SIZE 1 hdr s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING

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

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

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

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