Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/crypto/caam/caamalg_qi2.c ahash_unmap_ctx() -> ahash_unmap()

Type Parameter Key Value
PARAM_VALUE 2 req 4096-ptr_max
PARAM_VALUE 2 req->sg_head->dma_flags 0-4294967295
PARAM_VALUE 2 req->sg_head->dma_length 0-4294967295
PARAM_VALUE 2 req->sg_head->length 0-4294967295
PARAM_VALUE 2 req->sg_head->offset 0-4294967295
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req->src (-1),64
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 edesc $1
DATA_SOURCE 2 req $2
NOSPEC 2 req->nbytes
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 req->nbytes 0-4350,4294963202-u32max[c]
HOST_DATA 2 req->src->length 0-2147483646[c]
USER_DATA 2 req->nbytes 0-u32max
USER_DATA 2 req->src->length 1-u32max[c]
USER_DATA 2 req->src->offset 0-2147551739[c]
USER_DATA 2 *req->result 0-255
USER_DATA 2 *req->svirt 0-255
USER_PTR 2 req->result
USER_PTR 2 req->svirt

drivers/crypto/caam/caamhash.c ahash_digest() -> ahash_unmap()

Type Parameter Key Value
PARAM_VALUE 1 edesc 4096-ptr_max
PARAM_VALUE 1 edesc->hw_desc 4096-ptr_max
PARAM_VALUE 1 edesc->src_nents 0-s32max
PARAM_VALUE 2 req 4096-ptr_max
PARAM_VALUE 2 req->sg_head->dma_flags 0-4294967295
PARAM_VALUE 2 req->sg_head->dma_length 0-4294967295
PARAM_VALUE 2 req->sg_head->length 0-4294967295
PARAM_VALUE 2 req->sg_head->offset 0-4294967295
BUF_SIZE 1 edesc s32min-s32max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req->src (-1),64
CAPPED_DATA 2 req->nbytes 1
DATA_SOURCE 1 edesc r ahash_edesc_alloc
DATA_SOURCE 2 req $0
DATA_SOURCE 3 dst_len r crypto_ahash_digestsize
NOSPEC 2 req->nbytes
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 req->nbytes 0-4605,4294963202-u32max[c]
HOST_DATA 2 req->src->length 1-2147483646[c]
USER_DATA 2 req->nbytes 0-u32max[c]
USER_DATA 2 req->src->length 1-u32max[c]
USER_DATA 2 req->src->offset 0-2147551739[c]
USER_DATA 2 *req->result 0-255
USER_DATA 2 *req->svirt 0-255
USER_PTR 2 req->result
USER_PTR 2 req->svirt

drivers/crypto/caam/caamhash.c ahash_digest() -> ahash_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 0,4096-ptr_max
PARAM_VALUE 0 dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 dev->dma_uses_io_tlb 1
PARAM_VALUE 0 dev->driver 0,4096-ptr_max
PARAM_VALUE 1 edesc 4096-ptr_max
PARAM_VALUE 1 edesc->hw_desc 4096-ptr_max
PARAM_VALUE 1 edesc->sec4_sg_dma 0-18446744073709551614
PARAM_VALUE 1 edesc->src_nents 0-s32max
PARAM_VALUE 1 *edesc->hw_desc 0-4294967295
PARAM_VALUE 2 req 4096-ptr_max
PARAM_VALUE 2 req->sg_head->dma_flags 0-4294967295
PARAM_VALUE 2 req->sg_head->dma_length 0-4294967295
PARAM_VALUE 2 req->sg_head->length 0-4294967295
PARAM_VALUE 2 req->sg_head->offset 0-4294967295
BUF_SIZE 1 edesc s32min-s32max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req->src (-1),64
CAPPED_DATA 2 req->nbytes 1
DATA_SOURCE 1 edesc r ahash_edesc_alloc
DATA_SOURCE 2 req $0
DATA_SOURCE 3 dst_len r crypto_ahash_digestsize
NOSPEC 2 req->nbytes
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 req->nbytes 0-4605,4294963202-u32max[c]
HOST_DATA 2 req->src->length 0-2147483646[c]
USER_DATA 2 req->nbytes 0-u32max[c]
USER_DATA 2 req->src->length 1-u32max[c]
USER_DATA 2 req->src->offset 0-2147551739[c]
USER_DATA 2 *req->result 0-255
USER_DATA 2 *req->svirt 0-255
USER_PTR 2 req->result
USER_PTR 2 req->svirt

drivers/crypto/caam/caamhash.c ahash_do_one_req() -> ahash_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 edesc 4096-ptr_max
PARAM_VALUE 1 edesc->bklog 1
PARAM_VALUE 1 edesc->hw_desc 4096-ptr_max
PARAM_VALUE 2 req 4096-ptr_max
PARAM_VALUE 3 dst_len 0
DATA_SOURCE 2 req r ahash_request_cast
NOCHECK_CALL
HOST_DATA 0 dev->driver_data->inpring_avail 0-4294967295

drivers/crypto/caam/caamhash.c ahash_final_no_ctx() -> ahash_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->driver 0,4096-ptr_max
PARAM_VALUE 1 edesc 4096-ptr_max
PARAM_VALUE 1 edesc->hw_desc 4096-ptr_max
PARAM_VALUE 2 req 4096-ptr_max
PARAM_VALUE 2 req->base.complete 1403052806642950144
PARAM_VALUE 2 req->sg_head->dma_flags 0-4294967295
PARAM_VALUE 2 req->sg_head->dma_length 0-4294967295
PARAM_VALUE 2 req->sg_head->length 0-4294967295
PARAM_VALUE 2 req->sg_head->offset 0-4294967295
BUF_SIZE 1 edesc s32min-s32max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req->src (-1),64
DATA_SOURCE 1 edesc r ahash_edesc_alloc
DATA_SOURCE 2 req $0
DATA_SOURCE 3 dst_len r crypto_ahash_digestsize
NOSPEC 2 req->nbytes
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 req->src->length 0-2147483646[c]
USER_DATA 2 req->nbytes 0-u32max
USER_DATA 2 req->src->length 1-u32max[c]
USER_DATA 2 req->src->offset 0-2147551739[c]
USER_DATA 2 *req->result 0-255
USER_DATA 2 *req->svirt 0-255
USER_PTR 2 req->result
USER_PTR 2 req->svirt

drivers/crypto/caam/caamhash.c ahash_finup_no_ctx() -> ahash_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 0,4096-ptr_max
PARAM_VALUE 0 dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->driver 0,4096-ptr_max
PARAM_VALUE 1 edesc 4096-ptr_max
PARAM_VALUE 1 edesc->hw_desc 4096-ptr_max
PARAM_VALUE 1 edesc->sec4_sg->bpid_offset 0-4294967295
PARAM_VALUE 1 edesc->src_nents 0-s32max
PARAM_VALUE 1 *edesc->hw_desc 0-4294967295
PARAM_VALUE 2 req 4096-ptr_max
PARAM_VALUE 2 req->sg_head->dma_flags 0-4294967295
PARAM_VALUE 2 req->sg_head->dma_length 0-4294967295
PARAM_VALUE 2 req->sg_head->length 0-4294967295
PARAM_VALUE 2 req->sg_head->offset 0-4294967295
BUF_SIZE 1 edesc s32min-s32max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req->src (-1),64
CAPPED_DATA 2 req->nbytes 1
DATA_SOURCE 1 edesc r ahash_edesc_alloc
DATA_SOURCE 2 req $0
DATA_SOURCE 3 dst_len r crypto_ahash_digestsize
NOSPEC 2 req->nbytes
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 req->nbytes 0-4350,4294963202-u32max[c]
HOST_DATA 2 req->src->length 0-2147483646[c]
USER_DATA 2 req->nbytes 0-u32max[c]
USER_DATA 2 req->src->length 1-u32max[c]
USER_DATA 2 req->src->offset 0-2147551739[c]
USER_DATA 2 *req->result 0-255
USER_DATA 2 *req->svirt 0-255
USER_PTR 2 req->result
USER_PTR 2 req->svirt

drivers/crypto/caam/caamhash.c ahash_unmap_ctx() -> ahash_unmap()

Type Parameter Key Value
PARAM_VALUE 1 edesc 4096-ptr_max
PARAM_VALUE 1 edesc->sec4_sg->bpid_offset 0-4294967295
PARAM_VALUE 1 edesc->sec4_sg->len 0-4294967295
PARAM_VALUE 1 *edesc->hw_desc 0-4294967295
PARAM_VALUE 2 req 4096-ptr_max
PARAM_VALUE 2 req->sg_head->dma_flags 0-4294967295
PARAM_VALUE 2 req->sg_head->dma_length 0-4294967295
PARAM_VALUE 2 req->sg_head->length 0-4294967295
PARAM_VALUE 2 req->sg_head->offset 0-4294967295
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req->src (-1),64
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 edesc $1
DATA_SOURCE 2 req $2
DATA_SOURCE 3 dst_len $3
NOSPEC 2 req->nbytes
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 req->nbytes 0-4350,4294963202-u32max[c]
HOST_DATA 2 req->src->length 0-2147483646[c]
USER_DATA 2 req->nbytes 0-u32max
USER_DATA 2 req->src->length 1-u32max[c]
USER_DATA 2 req->src->offset 0-2147551739[c]
USER_DATA 2 *req->result 0-255
USER_DATA 2 *req->svirt 0-255
UNITS 3 dst_len unit_byte
USER_PTR 2 req->result
USER_PTR 2 req->svirt