Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_dataptr_to_off() -> xfs_dir2_byte_to_off()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 1 by s64min-(-8),0,8-s64max
DATA_SOURCE 0 geo $0
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_dataptr_to_off() -> xfs_dir2_byte_to_off()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 1 by 8-34359738360
DATA_SOURCE 0 geo $0
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_dir2_readdir.c xfs_dir2_dataptr_to_off() -> xfs_dir2_byte_to_off()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 1 by s64min-(-8),0,8-s64max
DATA_SOURCE 0 geo $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &dir_fp->readdir_lock
TYPE_LOCK (struct inode)->i_rwsem

fs/xfs/xfs_dir2_readdir.c xfs_dir2_leaf_getdents() -> xfs_dir2_byte_to_off()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 1 by 0-s64max
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/libxfs/xfs_dir2_leaf.c xfs_dir2_dataptr_to_off() -> xfs_dir2_byte_to_off()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 1 by s64min-(-8),0,8-s64max
DATA_SOURCE 0 geo $0
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_dataptr_to_off() -> xfs_dir2_byte_to_off()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 1 by s64min-(-8),0,8-s64max
DATA_SOURCE 0 geo $0
RX_PATH
TASK_NOT_RUNNING

fs/xfs/scrub/dir.c xfs_dir2_dataptr_to_off() -> xfs_dir2_byte_to_off()

Type Parameter Key Value
PARAM_VALUE 0 geo 4096-ptr_max
PARAM_VALUE 1 by 8-34359738360
DATA_SOURCE 0 geo $0