Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/xfs/scrub/dir_repair.c xrep_dir_recover_sf() -> xfs_dir2_sf_nextentry()

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

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

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 2 sfep 4096-ptr_max
BUF_SIZE 1 hdr 0-u16max
BUF_SIZE 1 hdr 0-u16max
DATA_SOURCE 1 hdr r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_addname_hard() -> xfs_dir2_sf_nextentry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 2 sfep 4096-ptr_max
BUF_SIZE 1 hdr 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 hdr 0-s32max,18446744071562067968-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_addname_hard() -> xfs_dir2_sf_nextentry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 2 sfep 4096-ptr_max
BUF_SIZE 1 hdr s32min-s32max
DATA_SOURCE 1 hdr r xfs_idata_realloc
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_addname_pick() -> xfs_dir2_sf_nextentry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 2 sfep 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_sf.c xfs_dir2_sf_check() -> xfs_dir2_sf_nextentry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 2 sfep 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_sf.c xfs_dir2_sf_lookup() -> xfs_dir2_sf_nextentry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 2 sfep 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_sf.c xfs_dir2_sf_removename() -> xfs_dir2_sf_nextentry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 2 sfep 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_sf.c xfs_dir2_sf_replace() -> xfs_dir2_sf_nextentry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 2 sfep 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_sf.c xfs_dir2_sf_toino4() -> xfs_dir2_sf_nextentry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 1 hdr->i8count 0
PARAM_VALUE 2 sfep 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_sf.c xfs_dir2_sf_toino4() -> xfs_dir2_sf_nextentry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 2 sfep 4096-ptr_max
BUF_SIZE 1 hdr 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 hdr 0-s32max,18446744071562067968-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_toino8() -> xfs_dir2_sf_nextentry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 1 hdr->i8count 1
PARAM_VALUE 2 sfep 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_sf.c xfs_dir2_sf_toino8() -> xfs_dir2_sf_nextentry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 2 sfep 4096-ptr_max
BUF_SIZE 1 hdr 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 hdr 0-s32max,18446744071562067968-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte

fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_verify() -> xfs_dir2_sf_nextentry()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 2 sfep 4096-ptr_max
PARAM_VALUE 2 sfep->namelen 1-255
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 0 mp (-1),1-s32max
BUF_SIZE 1 hdr s32min-(-1),1-s32max
BUF_SIZE 1 hdr s32min-(-1),1-s32max
DATA_SOURCE 0 mp $0
DATA_SOURCE 1 hdr $1
STR_LEN 0 mp (-1),5,8
STR_LEN 0 mp (-1),5,8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 mp->m_rsumlevels 1-32[c]
UNITS 0 mp unit_byte
UNITS 2 sfep unit_byte

fs/xfs/xfs_dir2_readdir.c xfs_dir2_sf_getdents() -> xfs_dir2_sf_nextentry()

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
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/xfs/xfs_dir2_readdir.c xfs_dir2_sf_getdents() -> xfs_dir2_sf_nextentry()

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

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

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 hdr 4096-ptr_max
PARAM_VALUE 2 sfep 4096-ptr_max
BUF_SIZE 1 hdr 0-u64max
DATA_SOURCE 1 hdr r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mp unit_byte

fs/xfs/scrub/readdir.c xchk_dir_walk_sf() -> xfs_dir2_sf_nextentry()

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