Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/xfs/libxfs/xfs_inode_fork.c xfs_iextents_copy() -> xfs_bmap_fork_to_state()

Type Parameter Key Value
PARAM_VALUE 0 whichfork 0-1
DATA_SOURCE 0 whichfork $2
HARD_MAX 0 whichfork 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ailp->ail_lock
HALF_LOCKED2 &bp->b_sema
HALF_LOCKED2 &cil->xc_ctx_lock

fs/xfs/libxfs/xfs_inode_fork.c xfs_iformat_extents() -> xfs_bmap_fork_to_state()

Type Parameter Key Value
PARAM_VALUE 0 whichfork 0-1
DATA_SOURCE 0 whichfork $2
HARD_MAX 0 whichfork 1
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_add_extent_delay_real() -> xfs_bmap_fork_to_state()

Type Parameter Key Value
PARAM_VALUE 0 whichfork 0-2
DATA_SOURCE 0 whichfork $1
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_add_extent_hole_real() -> xfs_bmap_fork_to_state()

Type Parameter Key Value
PARAM_VALUE 0 whichfork 0-2
DATA_SOURCE 0 whichfork $2
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_add_extent_unwritten_real() -> xfs_bmap_fork_to_state()

Type Parameter Key Value
PARAM_VALUE 0 whichfork 0-2
DATA_SOURCE 0 whichfork $2
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_del_extent_delay() -> xfs_bmap_fork_to_state()

Type Parameter Key Value
PARAM_VALUE 0 whichfork 0-2
DATA_SOURCE 0 whichfork $1
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_del_extent_real() -> xfs_bmap_fork_to_state()

Type Parameter Key Value
PARAM_VALUE 0 whichfork 0-2
DATA_SOURCE 0 whichfork $6
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_shift_update_extent() -> xfs_bmap_fork_to_state()

Type Parameter Key Value
PARAM_VALUE 0 whichfork 0
DATA_SOURCE 0 whichfork $2
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_split_extent() -> xfs_bmap_fork_to_state()

Type Parameter Key Value
PARAM_VALUE 0 whichfork 0

fs/xfs/libxfs/xfs_bmap.c xfs_bmse_merge() -> xfs_bmap_fork_to_state()

Type Parameter Key Value
PARAM_VALUE 0 whichfork 0
DATA_SOURCE 0 whichfork $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/xfs/libxfs/xfs_bmap.c xfs_iread_bmbt_block() -> xfs_bmap_fork_to_state()

Type Parameter Key Value
PARAM_VALUE 0 whichfork 0-255
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_bmap.c xfs_iread_bmbt_block() -> xfs_bmap_fork_to_state()

Type Parameter Key Value
PARAM_VALUE 0 whichfork 0-255
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_iomap.c xfs_bmap_add_extent_hole_delay() -> xfs_bmap_fork_to_state()

Type Parameter Key Value
PARAM_VALUE 0 whichfork 0,2
DATA_SOURCE 0 whichfork $1
BIT_INFO 0 whichfork 0x0,0x2
HARD_MAX 0 whichfork 2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem