Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/xfs/libxfs/xfs_rmap_btree.c xfs_rmapbt_init_high_key_from_rec() -> ondisk_rec_offset_to_key()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
DATA_SOURCE 0 rec $1
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_rmap_btree.c xfs_rmapbt_init_key_from_rec() -> ondisk_rec_offset_to_key()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
DATA_SOURCE 0 rec $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 rec->alloc.ar_startblock
NO_OVERFLOW_SIMPLE 0 rec->refc.rc_blockcount
NO_OVERFLOW_SIMPLE 0 rec->rmap.rm_blockcount
NO_OVERFLOW_SIMPLE 0 rec->rmap.rm_startblock

fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmapbt_init_high_key_from_rec() -> ondisk_rec_offset_to_key()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
DATA_SOURCE 0 rec $1
RX_PATH
TASK_NOT_RUNNING

fs/xfs/libxfs/xfs_rtrmap_btree.c xfs_rtrmapbt_init_key_from_rec() -> ondisk_rec_offset_to_key()

Type Parameter Key Value
PARAM_VALUE 0 rec 4096-ptr_max
DATA_SOURCE 0 rec $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 rec->alloc.ar_startblock
NO_OVERFLOW_SIMPLE 0 rec->refc.rc_blockcount
NO_OVERFLOW_SIMPLE 0 rec->rmap.rm_blockcount
NO_OVERFLOW_SIMPLE 0 rec->rmap.rm_startblock