Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

fs/ext4/bitmap.c ext4_block_bitmap_csum_set() -> ext4_chksum()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte
HALF_LOCKED2 sb

fs/ext4/bitmap.c ext4_block_bitmap_csum_verify() -> ext4_chksum()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte
LOCK2 sb

fs/ext4/bitmap.c ext4_inode_bitmap_csum_set() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 0 crc 0-4294967295
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte
HALF_LOCKED2 sb

fs/ext4/bitmap.c ext4_inode_bitmap_csum_verify() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 0 crc 0-4294967295
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte
LOCK2 sb

fs/ext4/extents.c ext4_extent_block_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 4096-ptr_max
PARAM_VALUE 2 length 12-786432
DATA_SOURCE 1 address $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte
UNITS 2 length unit_byte

fs/ext4/fast_commit.c ext4_fc_replay_scan() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 0-ptr_max
PARAM_VALUE 2 length 4-65539
CAPPED_DATA 2 length 1
UNITS 1 address unit_byte
UNITS 2 length unit_byte

fs/ext4/fast_commit.c ext4_fc_replay_scan() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 0-ptr_max
PARAM_VALUE 2 length 8
UNITS 1 address unit_byte
UNITS 2 length unit_byte

fs/ext4/fast_commit.c ext4_fc_replay_scan() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 0-ptr_max
PARAM_VALUE 2 length 12
UNITS 1 address unit_byte
UNITS 2 length unit_byte

fs/ext4/fast_commit.c ext4_fc_reserve_space() -> ext4_chksum()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte
UNITS 2 length unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ext4/fast_commit.c ext4_fc_write_tail() -> ext4_chksum()

Type Parameter Key Value
DATA_SOURCE 0 crc $1 [m]
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte
UNITS 2 length unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ext4/inode.c ext4_inode_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 4096-ptr_max
PARAM_VALUE 2 length 124
DATA_SOURCE 1 address $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte

fs/ext4/inode.c ext4_inode_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 5600755098973921280
PARAM_VALUE 1 *address 0
PARAM_VALUE 2 length 2
BUF_SIZE 1 address 2
DATA_SOURCE 0 crc r ext4_chksum
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 2 length unit_byte

fs/ext4/inode.c ext4_inode_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 *address 0-255
PARAM_VALUE 2 length 2
DATA_SOURCE 0 crc r ext4_chksum
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte

fs/ext4/inode.c ext4_inode_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 *address 0-255
PARAM_VALUE 2 length 2
DATA_SOURCE 0 crc r ext4_chksum
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte

fs/ext4/inode.c ext4_inode_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 5600755098973921280
PARAM_VALUE 1 *address 0
PARAM_VALUE 2 length 2
BUF_SIZE 1 address 2
DATA_SOURCE 0 crc r ext4_chksum
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 2 length unit_byte

fs/ext4/inode.c ext4_inode_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 *address 0-255
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte
UNITS 2 length unit_byte

fs/ext4/mmp.c ext4_mmp_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 4096-ptr_max
PARAM_VALUE 2 length 1020
DATA_SOURCE 1 address $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte

fs/ext4/xattr.c ext4_xattr_block_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 1207819455219437568
PARAM_VALUE 2 length 8
BUF_SIZE 1 address 8
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 2 length unit_byte

fs/ext4/xattr.c ext4_xattr_block_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 2 length 16
DATA_SOURCE 0 crc r ext4_chksum
DATA_SOURCE 1 address $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte

fs/ext4/xattr.c ext4_xattr_block_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 4900023001644732416
PARAM_VALUE 1 *address 0
PARAM_VALUE 2 length 4
BUF_SIZE 1 address 4
DATA_SOURCE 0 crc r ext4_chksum
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 2 length unit_byte

fs/ext4/xattr.c ext4_xattr_block_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 4096-ptr_max
PARAM_VALUE 1 *address 0-255
DATA_SOURCE 0 crc r ext4_chksum
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte
UNITS 2 length unit_byte

fs/ext4/xattr.c ext4_xattr_inode_hash() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 1-u64max
BUF_SIZE 1 address (-1)-s32max
BUF_SIZE 1 address (-1)-s32max
DATA_SOURCE 1 address $1
DATA_SOURCE 2 length $2
STR_LEN 0 crc (-1)
STR_LEN 1 address (-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 length 0-65536
UNITS 1 address unit_byte
UNITS 2 length unit_byte
BYTE_COUNT 1 ==address2 8050
USER_PTR 1 address

fs/ext4/orphan.c ext4_orphan_file_block_csum_verify() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 7415330888544931840
PARAM_VALUE 2 length 8
BUF_SIZE 1 address 8
UNITS 2 length unit_byte

fs/ext4/orphan.c ext4_orphan_file_block_csum_verify() -> ext4_chksum()

Type Parameter Key Value
DATA_SOURCE 0 crc r ext4_chksum
UNITS 1 address unit_byte

fs/ext4/orphan.c ext4_orphan_file_block_trigger() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 6100360730673885184
PARAM_VALUE 2 length 8
BUF_SIZE 1 address 8
RX_PATH
TASK_NOT_RUNNING
UNITS 2 length unit_byte
LOCK2 &jh->b_state_lock
TYPE_LOCK (struct journal_head)->b_state_lock

fs/ext4/orphan.c ext4_orphan_file_block_trigger() -> ext4_chksum()

Type Parameter Key Value
DATA_SOURCE 0 crc r ext4_chksum
DATA_SOURCE 1 address $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &jh->b_state_lock
TYPE_LOCK (struct journal_head)->b_state_lock

fs/ext4/ioctl.c ext4_reset_inode_seed() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 0 crc 0-4294967295
PARAM_VALUE 1 address 4747675697230053376
PARAM_VALUE 2 length 4
BUF_SIZE 1 address 4
UNITS 2 length unit_byte
HALF_LOCKED2 &inode->i_mapping->invalidate_lock
HALF_LOCKED2 &inode->i_mapping->invalidate_lock

fs/ext4/ioctl.c ext4_reset_inode_seed() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 3784636226543710208
PARAM_VALUE 2 length 4
BUF_SIZE 1 address 4
DATA_SOURCE 0 crc r ext4_chksum
UNITS 2 length unit_byte
HALF_LOCKED2 &inode->i_mapping->invalidate_lock
HALF_LOCKED2 &inode->i_mapping->invalidate_lock

fs/ext4/namei.c ext4_dirblock_csum() -> ext4_chksum()

Type Parameter Key Value
DATA_SOURCE 1 address $1
DATA_SOURCE 2 length $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte
UNITS 2 length unit_byte
HALF_LOCKED2 &inode->i_rwsem

fs/ext4/namei.c ext4_dx_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 4096-ptr_max
PARAM_VALUE 2 length 8-524312
DATA_SOURCE 1 address $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte

fs/ext4/namei.c ext4_dx_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 2 length 4
DATA_SOURCE 0 crc r ext4_chksum
DATA_SOURCE 1 address $4
RX_PATH
TASK_NOT_RUNNING

fs/ext4/namei.c ext4_dx_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 6059668976406716416
PARAM_VALUE 1 *address 0
PARAM_VALUE 2 length 4
BUF_SIZE 1 address 4
DATA_SOURCE 0 crc r ext4_chksum
RX_PATH
TASK_NOT_RUNNING
UNITS 2 length unit_byte

fs/ext4/super.c ext4_group_desc_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 419779736034947072
PARAM_VALUE 2 length 4
BUF_SIZE 1 address 4
RX_PATH
TASK_NOT_RUNNING
UNITS 2 length unit_byte
HALF_LOCKED2 sb

fs/ext4/super.c ext4_group_desc_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 4096-ptr_max
PARAM_VALUE 2 length 30
DATA_SOURCE 0 crc r ext4_chksum
DATA_SOURCE 1 address $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte
HALF_LOCKED2 sb

fs/ext4/super.c ext4_group_desc_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 address 3992701965452414976
PARAM_VALUE 1 *address 0
PARAM_VALUE 2 length 2
BUF_SIZE 1 address 2
DATA_SOURCE 0 crc r ext4_chksum
RX_PATH
TASK_NOT_RUNNING
UNITS 2 length unit_byte
HALF_LOCKED2 sb

fs/ext4/super.c ext4_group_desc_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 1 *address 0-255
DATA_SOURCE 0 crc r ext4_chksum
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte
UNITS 2 length unit_byte
HALF_LOCKED2 sb

fs/ext4/super.c ext4_init_metadata_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 0 crc u32max
PARAM_VALUE 2 length 16
BUF_SIZE 1 address 16
RX_PATH
TASK_NOT_RUNNING
UNITS 2 length unit_byte
HALF_LOCKED2 &fc->uapi_mutex

fs/ext4/super.c ext4_superblock_csum() -> ext4_chksum()

Type Parameter Key Value
PARAM_VALUE 0 crc u32max
PARAM_VALUE 2 length 1020
DATA_SOURCE 1 address $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 address unit_byte