Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/xfs/libxfs/xfs_dir2_node.c xfs_buf_verify_cksum() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 1 length 0,512-s32max,18446744071562067968-18446744073709551104
PARAM_VALUE 2 cksum_offset 4
BUF_SIZE 0 buffer s32min-(-2),1-s32max
DATA_SOURCE 2 cksum_offset $1
BIT_INFO 1 length 0x0,0xfffffe00
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_sb.c xfs_buf_verify_cksum() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
PARAM_VALUE 1 length 0,512-s32max,18446744071562067968-18446744073709551104
PARAM_VALUE 2 cksum_offset 224
BUF_SIZE 0 buffer s32min-(-2),1-s32max
DATA_SOURCE 2 cksum_offset $1
BIT_INFO 1 length 0x0,0xfffffe00
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_rtbitmap.c xfs_buf_verify_cksum() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
PARAM_VALUE 1 length 0,512-s32max,18446744071562067968-18446744073709551104
PARAM_VALUE 2 cksum_offset 4
BUF_SIZE 0 buffer s32min-(-2),1-s32max
DATA_SOURCE 2 cksum_offset $1
BIT_INFO 1 length 0x0,0xfffffe00
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_rtgroup.c xfs_buf_verify_cksum() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 1 length 0,512-s32max,18446744071562067968-18446744073709551104
PARAM_VALUE 2 cksum_offset 4
BUF_SIZE 0 buffer s32min-(-2),1-s32max
DATA_SOURCE 2 cksum_offset $1
BIT_INFO 1 length 0x0,0xfffffe00
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_attr_leaf.c xfs_buf_verify_cksum() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 1 length 0,512-s32max,18446744071562067968-18446744073709551104
PARAM_VALUE 2 cksum_offset 12
BUF_SIZE 0 buffer s32min-(-2),1-s32max
DATA_SOURCE 2 cksum_offset $1
BIT_INFO 1 length 0x0,0xfffffe00
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_btree.c xfs_buf_verify_cksum() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
PARAM_VALUE 1 length 0,512-s32max,18446744071562067968-18446744073709551104
PARAM_VALUE 2 cksum_offset 52,64
BUF_SIZE 0 buffer s32min-(-2),1-s32max
DATA_SOURCE 2 cksum_offset $1
BIT_INFO 1 length 0x0,0xfffffe00
HARD_MAX 2 cksum_offset 64
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_da_btree.c xfs_buf_verify_cksum() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
PARAM_VALUE 1 length 0,512-s32max,18446744071562067968-18446744073709551104
PARAM_VALUE 2 cksum_offset 12
BUF_SIZE 0 buffer s32min-(-2),1-s32max
DATA_SOURCE 2 cksum_offset $1
BIT_INFO 1 length 0x0,0xfffffe00
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_alloc.c xfs_buf_verify_cksum() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 1 length 0,512-s32max,18446744071562067968-18446744073709551104
PARAM_VALUE 2 cksum_offset 32,216
BUF_SIZE 0 buffer s32min-(-2),1-s32max
DATA_SOURCE 2 cksum_offset $1
BIT_INFO 1 length 0x0,0xfffffe00
HARD_MAX 2 cksum_offset 216
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_attr_remote.c __xfs_attr3_rmt_read_verify() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 2 cksum_offset 12
BUF_SIZE 0 buffer s32min-(-1),1-s32max
BUF_SIZE 0 buffer s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 length unit_byte
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_ialloc.c xfs_buf_verify_cksum() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 1 length 0,512-s32max,18446744071562067968-18446744073709551104
PARAM_VALUE 2 cksum_offset 312
BUF_SIZE 0 buffer s32min-(-2),1-s32max
DATA_SOURCE 2 cksum_offset $1
BIT_INFO 1 length 0x0,0xfffffe00
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema

fs/xfs/scrub/inode_repair.c xrep_dinode_buf_core() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
PARAM_VALUE 2 cksum_offset 100
DATA_SOURCE 0 buffer r xfs_buf_offset
UNITS 1 length unit_byte

fs/xfs/libxfs/xfs_dquot_buf.c xfs_dquot_buf_verify_crc() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 1 length 136
PARAM_VALUE 2 cksum_offset 108
BUF_SIZE 0 buffer s32min-(-1),1-s32max
BUF_SIZE 0 buffer s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 length unit_byte
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_dir2_leaf.c xfs_buf_verify_cksum() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 1 length 0,512-s32max,18446744071562067968-18446744073709551104
PARAM_VALUE 2 cksum_offset 12
BUF_SIZE 0 buffer s32min-(-2),1-s32max
DATA_SOURCE 2 cksum_offset $1
BIT_INFO 1 length 0x0,0xfffffe00
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_inode_buf.c xfs_dinode_verify() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
PARAM_VALUE 2 cksum_offset 100
BUF_SIZE 0 buffer (-1)-u16max
BUF_SIZE 0 buffer (-1)-u16max
DATA_SOURCE 0 buffer $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 length unit_byte
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_symlink_remote.c xfs_buf_verify_cksum() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 1 length 0,512-s32max,18446744071562067968-18446744073709551104
PARAM_VALUE 2 cksum_offset 12
BUF_SIZE 0 buffer s32min-(-2),1-s32max
DATA_SOURCE 2 cksum_offset $1
BIT_INFO 1 length 0x0,0xfffffe00
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_dir2_block.c xfs_buf_verify_cksum() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 1 length 0,512-s32max,18446744071562067968-18446744073709551104
PARAM_VALUE 2 cksum_offset 4
BUF_SIZE 0 buffer s32min-(-2),1-s32max
DATA_SOURCE 2 cksum_offset $1
BIT_INFO 1 length 0x0,0xfffffe00
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_dir2_data.c xfs_buf_verify_cksum() -> xfs_verify_cksum()

Type Parameter Key Value
PARAM_VALUE 1 length 0,512-s32max,18446744071562067968-18446744073709551104
PARAM_VALUE 2 cksum_offset 4
BUF_SIZE 0 buffer s32min-(-2),1-s32max
DATA_SOURCE 2 cksum_offset $1
BIT_INFO 1 length 0x0,0xfffffe00
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema