Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

fs/xfs/libxfs/xfs_dir2_node.c xfs_buf_update_cksum() -> xfs_update_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
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_sb.c xfs_buf_update_cksum() -> xfs_update_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
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_rtbitmap.c xfs_buf_update_cksum() -> xfs_update_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
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_rtgroup.c xfs_buf_update_cksum() -> xfs_update_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
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_attr_leaf.c xfs_buf_update_cksum() -> xfs_update_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
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_btree.c xfs_buf_update_cksum() -> xfs_update_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
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_da_btree.c xfs_buf_update_cksum() -> xfs_update_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
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_alloc.c xfs_buf_update_cksum() -> xfs_update_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
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_attr_remote.c xfs_attr3_rmt_write_verify() -> xfs_update_cksum()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
PARAM_VALUE 0 buffer->rm_lsn u64max
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
NOCHECK_CALL
UNITS 1 length unit_byte
HALF_LOCKED2 &bp->b_sema

fs/xfs/scrub/quota_repair.c xrep_quota_block() -> xfs_update_cksum()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-u64max
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
NOCHECK_CALL
UNITS 1 length unit_byte

fs/xfs/xfs_qm.c xfs_qm_reset_dqcounts() -> xfs_update_cksum()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
PARAM_VALUE 1 length 136
PARAM_VALUE 2 cksum_offset 108
NOCHECK_CALL
UNITS 1 length unit_byte

fs/xfs/libxfs/xfs_ialloc.c xfs_buf_update_cksum() -> xfs_update_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 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
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_dquot_buf.c xfs_dqblk_repair() -> xfs_update_cksum()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
PARAM_VALUE 1 length 136
PARAM_VALUE 2 cksum_offset 108
CAPPED_DATA 0 buffer->dd_diskdq.d_type 1
DATA_SOURCE 0 buffer $1
NOCHECK_CALL
UNITS 1 length unit_byte

fs/xfs/libxfs/xfs_dir2_leaf.c xfs_buf_update_cksum() -> xfs_update_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
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_symlink_remote.c xfs_buf_update_cksum() -> xfs_update_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
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_dir2_block.c xfs_buf_update_cksum() -> xfs_update_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
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_dir2_data.c xfs_buf_update_cksum() -> xfs_update_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
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/xfs_dquot_item_recover.c xlog_recover_dquot_commit_pass2() -> xfs_update_cksum()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
PARAM_VALUE 1 length 136
PARAM_VALUE 2 cksum_offset 108
DATA_SOURCE 0 buffer r xfs_buf_offset
NOCHECK_CALL
UNITS 1 length unit_byte
LOCK2 &bp->b_sema

fs/xfs/xfs_dquot.c xfs_qm_dqflush() -> xfs_update_cksum()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
PARAM_VALUE 1 length 136
PARAM_VALUE 2 cksum_offset 108
DATA_SOURCE 0 buffer r xfs_buf_offset
RX_PATH
NOCHECK_CALL
UNITS 1 length unit_byte
LOCK2 &dqp->q_qlock
HALF_LOCKED2 &ailp->ail_lock
HALF_LOCKED2 &dqp->q_logitem.qli_item.li_buf->b_sema
HALF_LOCKED2 &qi->qi_tree_lock
TYPE_LOCK (struct xfs_dquot)->q_qlock

fs/xfs/xfs_dquot.c xfs_qm_init_dquot_blk() -> xfs_update_cksum()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
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
BIT_INFO 0 buffer->dd_diskdq.d_type 0x0,0x87
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 length unit_byte
HALF_LOCKED2 &dq->q_qlock