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_ahash()

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 0
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 1 ahash_req 4096-ptr_max
PARAM_VALUE 3 page 0
PARAM_VALUE 4 offset 0
PARAM_VALUE 5 len 0
PARAM_VALUE 6 result 4096-ptr_max
BUF_SIZE 6 result (-1),255
BUF_SIZE 6 result (-1),255
DATA_SOURCE 0 ic $0
DATA_SOURCE 1 ahash_req $1
DATA_SOURCE 2 sector $2
DATA_SOURCE 6 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 2 sector unit_byte
HALF_LOCKED2 &pool->lock

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

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