Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/ccp/ccp-ops.c ccp_run_aes_cmac_cmd() -> ccp_process_data()

Type Parameter Key Value
PARAM_VALUE 0 src 223633714672726016
PARAM_VALUE 0 src->dm_wa.address 4096-ptr_max
PARAM_VALUE 0 src->dm_wa.dma.dir 1
PARAM_VALUE 0 src->dm_wa.dma.length 64-4096
PARAM_VALUE 0 src->dm_wa.length 16
PARAM_VALUE 0 src->sg_wa.bytes_left 1-9223372036854775807
PARAM_VALUE 0 src->sg_wa.dma_count 0-s32max
PARAM_VALUE 0 src->sg_wa.dma_dir 0-2
PARAM_VALUE 0 src->sg_wa.dma_sg 0,4-u64max
PARAM_VALUE 0 src->sg_wa.nents 0-s32max
PARAM_VALUE 1 dst 0
PARAM_VALUE 2 op 299738036787593216
PARAM_VALUE 2 op->cmd_q 4096-ptr_max
PARAM_VALUE 2 op->eom 0-1
PARAM_VALUE 2 op->init 0
PARAM_VALUE 2 op->jobid 0-63
PARAM_VALUE 2 op->soc 0-1
PARAM_VALUE 2 op->u.aes.mode 5
MEM_ZERO 0 src
MEM_ZERO 2 op
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 src->sg_wa.dma_count

drivers/crypto/ccp/ccp-ops.c ccp_run_aes_cmd() -> ccp_process_data()

Type Parameter Key Value
PARAM_VALUE 0 src 5241597666088652800
PARAM_VALUE 0 src->dm_wa.address 4096-ptr_max
PARAM_VALUE 0 src->dm_wa.dma.dir 0-1
PARAM_VALUE 0 src->dm_wa.dma.length 64-4096
PARAM_VALUE 0 src->dm_wa.length 16
PARAM_VALUE 0 src->sg_wa.bytes_left 1-9223372036854775807
PARAM_VALUE 0 src->sg_wa.dma_count 0-s32max
PARAM_VALUE 0 src->sg_wa.dma_dir 0-2
PARAM_VALUE 0 src->sg_wa.dma_sg 0,4-u64max
PARAM_VALUE 0 src->sg_wa.nents 0-s32max
PARAM_VALUE 1 dst 519376345510588416
PARAM_VALUE 1 dst->dm_wa.address 4096-ptr_max
PARAM_VALUE 1 dst->dm_wa.dma.address 0
PARAM_VALUE 1 dst->dm_wa.dma.dir 2
PARAM_VALUE 1 dst->dm_wa.dma.length 64-4096
PARAM_VALUE 1 dst->dm_wa.length 16
PARAM_VALUE 1 dst->sg_wa.bytes_left 0-9223372036854775807
PARAM_VALUE 1 dst->sg_wa.dma_count 0-s32max
PARAM_VALUE 1 dst->sg_wa.dma_dir 0-2
PARAM_VALUE 1 dst->sg_wa.dma_sg 0,4-u64max
PARAM_VALUE 1 dst->sg_wa.nents 0-s32max
PARAM_VALUE 2 op 7533660397077356544
PARAM_VALUE 2 op->cmd_q 4096-ptr_max
PARAM_VALUE 2 op->eom 0-1
PARAM_VALUE 2 op->init 0
PARAM_VALUE 2 op->jobid 0-63
PARAM_VALUE 2 op->soc 0-1
PARAM_VALUE 2 op->u.aes.mode 0-4,6-7,9-u32max
PARAM_VALUE 2 op->u.aes.size 0,127
MEM_ZERO 0 src
MEM_ZERO 1 dst
MEM_ZERO 2 op
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 src->sg_wa.dma_count
NO_OVERFLOW_SIMPLE 1 dst->sg_wa.dma_count

drivers/crypto/ccp/ccp-ops.c ccp_run_aes_gcm_cmd() -> ccp_process_data()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 0 src->dm_wa.address 4096-ptr_max
PARAM_VALUE 0 src->dm_wa.dma.dir 1
PARAM_VALUE 0 src->dm_wa.dma.length 64-4096
PARAM_VALUE 0 src->dm_wa.length 16
PARAM_VALUE 0 src->sg_wa.bytes_left 1-9223372036854775807
PARAM_VALUE 0 src->sg_wa.dma_count 0-s32max
PARAM_VALUE 0 src->sg_wa.dma_dir 0-2
PARAM_VALUE 0 src->sg_wa.dma_sg 0,4-u64max
PARAM_VALUE 0 src->sg_wa.nents 0-s32max
PARAM_VALUE 1 dst 0
PARAM_VALUE 2 op 4096-ptr_max
PARAM_VALUE 2 op->cmd_q 4096-ptr_max
PARAM_VALUE 2 op->init 0
PARAM_VALUE 2 op->jobid 0-63
PARAM_VALUE 2 op->soc 0-1
PARAM_VALUE 2 op->u.aes.mode 6
MEM_ZERO 0 src
MEM_ZERO 2 op
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 src->sg_wa.dma_count

drivers/crypto/ccp/ccp-ops.c ccp_run_aes_gcm_cmd() -> ccp_process_data()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 0 src->dm_wa.address 4096-ptr_max
PARAM_VALUE 0 src->dm_wa.dma.dir 0-1
PARAM_VALUE 0 src->dm_wa.dma.length 64-4096
PARAM_VALUE 0 src->dm_wa.length 16
PARAM_VALUE 0 src->sg_wa.bytes_left 1-9223372036854775807
PARAM_VALUE 0 src->sg_wa.dma_count 0-s32max
PARAM_VALUE 0 src->sg_wa.dma_dir 0-2
PARAM_VALUE 0 src->sg_wa.dma_sg 0,4-u64max
PARAM_VALUE 0 src->sg_wa.nents 0-s32max
PARAM_VALUE 1 dst 4096-ptr_max
PARAM_VALUE 1 dst->dm_wa.address 4096-ptr_max
PARAM_VALUE 1 dst->dm_wa.dma.address 0
PARAM_VALUE 1 dst->dm_wa.dma.dir 2
PARAM_VALUE 1 dst->dm_wa.dma.length 64-4096
PARAM_VALUE 1 dst->dm_wa.length 16
PARAM_VALUE 1 dst->sg_wa.bytes_left 0-9223372036854775807
PARAM_VALUE 1 dst->sg_wa.dma_count 0-s32max
PARAM_VALUE 1 dst->sg_wa.dma_dir 0-2
PARAM_VALUE 1 dst->sg_wa.dma_sg 0,4-u64max
PARAM_VALUE 1 dst->sg_wa.nents 0-s32max
PARAM_VALUE 2 op 4096-ptr_max
PARAM_VALUE 2 op->cmd_q 4096-ptr_max
PARAM_VALUE 2 op->eom 0-1
PARAM_VALUE 2 op->init 0
PARAM_VALUE 2 op->jobid 0-63
PARAM_VALUE 2 op->soc 0-1
PARAM_VALUE 2 op->u.aes.mode 7
PARAM_VALUE 2 op->u.aes.size 0,7-119
MEM_ZERO 0 src
MEM_ZERO 1 dst
MEM_ZERO 2 op
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 src->sg_wa.dma_count
NO_OVERFLOW_SIMPLE 1 dst->sg_wa.dma_count

drivers/crypto/ccp/ccp-ops.c ccp_run_des3_cmd() -> ccp_process_data()

Type Parameter Key Value
PARAM_VALUE 0 src 4720643860965126144
PARAM_VALUE 0 src->dm_wa.address 4096-ptr_max
PARAM_VALUE 0 src->dm_wa.dma.dir 0-1
PARAM_VALUE 0 src->dm_wa.dma.length 64-4096
PARAM_VALUE 0 src->dm_wa.length 8
PARAM_VALUE 0 src->sg_wa.bytes_left 1-9223372036854775807
PARAM_VALUE 0 src->sg_wa.dma_count 0-s32max
PARAM_VALUE 0 src->sg_wa.dma_dir 0-2
PARAM_VALUE 0 src->sg_wa.dma_sg 0,4-u64max
PARAM_VALUE 0 src->sg_wa.nents 0-s32max
PARAM_VALUE 1 dst 8969589363246604288
PARAM_VALUE 1 dst->dm_wa.address 4096-ptr_max
PARAM_VALUE 1 dst->dm_wa.dma.address 0
PARAM_VALUE 1 dst->dm_wa.dma.dir 2
PARAM_VALUE 1 dst->dm_wa.dma.length 64-4096
PARAM_VALUE 1 dst->dm_wa.length 8
PARAM_VALUE 1 dst->sg_wa.bytes_left 0-9223372036854775807
PARAM_VALUE 1 dst->sg_wa.dma_count 0-s32max
PARAM_VALUE 1 dst->sg_wa.dma_dir 0-2
PARAM_VALUE 1 dst->sg_wa.dma_sg 0,4-u64max
PARAM_VALUE 1 dst->sg_wa.nents 0-s32max
PARAM_VALUE 2 op 588807388864421888
PARAM_VALUE 2 op->cmd_q 4096-ptr_max
PARAM_VALUE 2 op->eom 0-1
PARAM_VALUE 2 op->init 0
PARAM_VALUE 2 op->jobid 0
PARAM_VALUE 2 op->sb_ctx 0
PARAM_VALUE 2 op->soc 0-1
MEM_ZERO 0 src
MEM_ZERO 1 dst
MEM_ZERO 2 op
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 src->sg_wa.dma_count
NO_OVERFLOW_SIMPLE 1 dst->sg_wa.dma_count

drivers/crypto/ccp/ccp-ops.c ccp_run_sha_cmd() -> ccp_process_data()

Type Parameter Key Value
PARAM_VALUE 0 src 4436023539546218496
PARAM_VALUE 0 src->dm_wa.address 4096-ptr_max
PARAM_VALUE 0 src->dm_wa.dma.dir 1
PARAM_VALUE 0 src->dm_wa.dma.length 64-4096
PARAM_VALUE 0 src->dm_wa.length 64,128
PARAM_VALUE 0 src->sg_wa.bytes_left 1-9223372036854775807
PARAM_VALUE 0 src->sg_wa.dma_count 0-s32max
PARAM_VALUE 0 src->sg_wa.dma_dir 0-2
PARAM_VALUE 0 src->sg_wa.dma_sg 0,4-u64max
PARAM_VALUE 0 src->sg_wa.nents 0-s32max
PARAM_VALUE 1 dst 0
PARAM_VALUE 2 op 1434390892594356224
PARAM_VALUE 2 op->cmd_q 4096-ptr_max
PARAM_VALUE 2 op->eom 0-1
PARAM_VALUE 2 op->init 0
PARAM_VALUE 2 op->jobid 0-63
PARAM_VALUE 2 op->soc 0-1
PARAM_VALUE 2 op->u.sha.type 1-5
MEM_ZERO 0 src
MEM_ZERO 2 op
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 src->sg_wa.dma_count

drivers/crypto/ccp/ccp-ops.c ccp_run_xts_aes_cmd() -> ccp_process_data()

Type Parameter Key Value
PARAM_VALUE 0 src 3337868033687957504
PARAM_VALUE 0 src->dm_wa.address 4096-ptr_max
PARAM_VALUE 0 src->dm_wa.dma.dir 0-1
PARAM_VALUE 0 src->dm_wa.dma.length 64-4096
PARAM_VALUE 0 src->dm_wa.length 16,512,1024,2048,4096
PARAM_VALUE 0 src->sg_wa.bytes_left 1-9223372036854775807
PARAM_VALUE 0 src->sg_wa.dma_count 0-s32max
PARAM_VALUE 0 src->sg_wa.dma_dir 0-2
PARAM_VALUE 0 src->sg_wa.dma_sg 0,4-u64max
PARAM_VALUE 0 src->sg_wa.nents 0-s32max
PARAM_VALUE 1 dst 4200466482486665216
PARAM_VALUE 1 dst->dm_wa.address 4096-ptr_max
PARAM_VALUE 1 dst->dm_wa.dma.address 0
PARAM_VALUE 1 dst->dm_wa.dma.dir 2
PARAM_VALUE 1 dst->dm_wa.dma.length 64-4096
PARAM_VALUE 1 dst->dm_wa.length 16,512,1024,2048,4096
PARAM_VALUE 1 dst->sg_wa.bytes_left 0-9223372036854775807
PARAM_VALUE 1 dst->sg_wa.dma_count 0-s32max
PARAM_VALUE 1 dst->sg_wa.dma_dir 0-2
PARAM_VALUE 1 dst->sg_wa.dma_sg 0,4-u64max
PARAM_VALUE 1 dst->sg_wa.nents 0-s32max
PARAM_VALUE 2 op 7495045159692017664
PARAM_VALUE 2 op->cmd_q 4096-ptr_max
PARAM_VALUE 2 op->eom 0-1
PARAM_VALUE 2 op->init 0
PARAM_VALUE 2 op->jobid 0-63
PARAM_VALUE 2 op->soc 0-1
PARAM_VALUE 2 op->u.xts.type 0,2
PARAM_VALUE 2 op->u.xts.unit_size 0-4
MEM_ZERO 0 src
MEM_ZERO 1 dst
MEM_ZERO 2 op
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 src->sg_wa.dma_count
NO_OVERFLOW_SIMPLE 1 dst->sg_wa.dma_count