Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 filetype 0-8
DATA_SOURCE 1 filetype r xfs_dir2_data_get_ftype
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_leaf_getdents() -> xfs_dir3_get_dtype()

Type Parameter Key Value
PARAM_VALUE 1 filetype 0-8
DATA_SOURCE 1 filetype r xfs_dir2_data_get_ftype
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_dir3_get_dtype()

Type Parameter Key Value
PARAM_VALUE 0 mp 4096-ptr_max
PARAM_VALUE 1 filetype 0-8
DATA_SOURCE 1 filetype r xfs_dir2_sf_get_ftype
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