Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-integrity.c integrity_discard_checksum() -> integrity_sector_checksum_shash()

Type Parameter Key Value
PARAM_VALUE 0 ic 4096-ptr_max
PARAM_VALUE 0 ic->bufio->need_reserved_buffers 0-4294967295
PARAM_VALUE 0 ic->discard_keyed 1
PARAM_VALUE 0 ic->internal_hash 1
PARAM_VALUE 0 ic->internal_shash 1-u64max
PARAM_VALUE 0 ic->mode 0-81,83-255
PARAM_VALUE 0 ic->sb 4096-ptr_max
PARAM_VALUE 0 ic->sb->salt 0-255
PARAM_VALUE 2 data 0
PARAM_VALUE 3 offset 0
PARAM_VALUE 4 len 0
PARAM_VALUE 5 result 4096-ptr_max
BUF_SIZE 5 result (-1),255
BUF_SIZE 5 result (-1),255
DATA_SOURCE 0 ic $0
DATA_SOURCE 1 sector $2
DATA_SOURCE 5 result $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ic->bufio->slab_buffer->object_size
NO_OVERFLOW_SIMPLE 0 ic->bufio->slab_cache->object_size
UNITS 1 sector unit_byte
HALF_LOCKED2 &pool->lock

drivers/md/dm-integrity.c integrity_sector_checksum() -> integrity_sector_checksum_shash()

Type Parameter Key Value
PARAM_VALUE 0 ic 4096-ptr_max
PARAM_VALUE 0 ic->internal_shash 1-u64max
PARAM_VALUE 0 ic->sb->salt 0-255
PARAM_VALUE 4 len 0,512-130560
PARAM_VALUE 5 result 16,4096-u64max
BUF_SIZE 0 ic (-1),16,40-s32max
BUF_SIZE 0 ic (-1),16,40-s32max
BUF_SIZE 5 result (-1)-s32max
BUF_SIZE 5 result (-1)-s32max
DATA_SOURCE 0 ic $0
DATA_SOURCE 1 sector $2
DATA_SOURCE 2 data $3
DATA_SOURCE 3 offset $4
DATA_SOURCE 5 result $5
BIT_INFO 4 len 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ic->bufio->slab_cache->object_size
UNITS 1 sector unit_byte
UNITS 2 data unit_page
UNITS 3 offset unit_byte