Defined in 3 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/crypto/caam/caamalg.c aead_crypt_done() -> aead_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 edesc 4096-ptr_max
BUF_SIZE 2 req 1-s32max
BUF_SIZE 2 req 1-s32max
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 req $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/crypto/caam/caamalg.c aead_do_one_req() -> aead_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 2 req->__ctx->edesc 4096-ptr_max
PARAM_VALUE 2 req->__ctx->edesc->bklog 1
DATA_SOURCE 2 req r aead_request_cast
NOCHECK_CALL
HOST_DATA 0 dev->driver_data->inpring_avail 0-4294967295

drivers/crypto/caam/caamalg.c aead_edesc_alloc() -> aead_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->dst_nents 0-s32max
PARAM_VALUE 1 edesc->mapped_dst_nents 0-s32max
PARAM_VALUE 1 edesc->mapped_src_nents 0-s32max
PARAM_VALUE 1 edesc->sec4_sg 4096-ptr_max
PARAM_VALUE 1 edesc->sec4_sg_dma u64max
PARAM_VALUE 1 edesc->src_nents 0-s32max
PARAM_VALUE 2 req 4096-ptr_max
PARAM_VALUE 2 req->__ctx->edesc 4096-ptr_max
PARAM_VALUE 2 req->__ctx->edesc->dst_nents 0-s32max
PARAM_VALUE 2 req->__ctx->edesc->mapped_dst_nents 0-s32max
PARAM_VALUE 2 req->__ctx->edesc->mapped_src_nents 0-s32max
PARAM_VALUE 2 req->__ctx->edesc->sec4_sg 4096-ptr_max
PARAM_VALUE 2 req->__ctx->edesc->src_nents 0-s32max
BUF_SIZE 1 edesc 0-u64max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req (-1)-s32max
CAPPED_DATA 1 edesc->mapped_dst_nents 1
CAPPED_DATA 1 edesc->mapped_src_nents 1
CAPPED_DATA 1 edesc->sec4_sg 1
DATA_SOURCE 1 edesc r _kzalloc_noprof
DATA_SOURCE 2 req $0
FUZZY_MAX 1 edesc->dst_nents 0
NOSPEC 2 req->cryptlen
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 req->dst->length 0-2147483646[c]
HOST_DATA 2 req->src->length 0-2147483646[c]
USER_DATA 2 req->cryptlen 0-u32max
USER_DATA 2 req->dst->length 1-2147483646[c]
USER_DATA 2 req->dst->offset 0-2147551739[c]
USER_DATA 2 req->src->length 1-2147483646[c]
USER_DATA 2 req->src->offset 0-2147551739[c]
USER_DATA 2 *req->iv 0-255
NO_OVERFLOW_SIMPLE 1 edesc->mapped_dst_nents
NO_OVERFLOW_SIMPLE 1 edesc->mapped_src_nents
NO_OVERFLOW_SIMPLE 2 req->dst->length
NO_OVERFLOW_SIMPLE 2 req->src->length
USER_PTR 2 req->iv

drivers/crypto/caam/caamalg.c aead_enqueue_req() -> aead_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 2 req 4096-ptr_max
PARAM_VALUE 2 req->__ctx->edesc->dst_nents 0-s32max
PARAM_VALUE 2 req->__ctx->edesc->mapped_dst_nents 0-s32max
PARAM_VALUE 2 req->__ctx->edesc->mapped_src_nents 0-s32max
PARAM_VALUE 2 req->__ctx->edesc->src_nents 0-s32max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req (-1)-s32max
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 req $1
NOSPEC 2 req->cryptlen
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 dev->driver_data->inpring_avail 0-4294967295
USER_DATA 2 req->cryptlen 0-u32max
USER_DATA 2 *req->iv 0-255
NO_OVERFLOW_SIMPLE 2 req->dst->length
NO_OVERFLOW_SIMPLE 2 req->src->length
USER_PTR 2 req->iv

drivers/crypto/caam/caamalg_qi2.c aead_decrypt() -> aead_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 edesc 4096-ptr_max
PARAM_VALUE 1 edesc->assoclen_dma 0-18446744073709551614
PARAM_VALUE 1 edesc->dst_nents 0-s32max
PARAM_VALUE 1 edesc->iv_dma 0-18446744073709551614
PARAM_VALUE 1 edesc->qm_sg_dma 0-18446744073709551614
PARAM_VALUE 1 edesc->sgt 4096-ptr_max
PARAM_VALUE 1 edesc->src_nents 0-s32max
PARAM_VALUE 2 req 4096-ptr_max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req (-1)-s32max
DATA_SOURCE 1 edesc r aead_edesc_alloc
DATA_SOURCE 2 req $0
NOSPEC 2 req->cryptlen
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 req->src->length 0-2147483646[c]
USER_DATA 2 req->cryptlen 0-u32max
USER_DATA 2 *req->iv 0-255
NO_OVERFLOW_SIMPLE 2 req->dst->length
NO_OVERFLOW_SIMPLE 2 req->src->length
USER_PTR 2 req->iv
HALF_LOCKED2 &pool->lock

drivers/crypto/caam/caamalg_qi2.c aead_decrypt_done() -> aead_unmap()

Type Parameter Key Value
PARAM_VALUE 2 req 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/crypto/caam/caamalg_qi2.c aead_encrypt() -> aead_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 edesc 4096-ptr_max
PARAM_VALUE 1 edesc->assoclen_dma 0-18446744073709551614
PARAM_VALUE 1 edesc->dst_nents 0-s32max
PARAM_VALUE 1 edesc->iv_dma 0-18446744073709551614
PARAM_VALUE 1 edesc->qm_sg_dma 0-18446744073709551614
PARAM_VALUE 1 edesc->sgt 4096-ptr_max
PARAM_VALUE 1 edesc->src_nents 0-s32max
PARAM_VALUE 2 req 4096-ptr_max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req (-1)-s32max
DATA_SOURCE 1 edesc r aead_edesc_alloc
DATA_SOURCE 2 req $0
NOSPEC 2 req->cryptlen
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 req->src->length 0-2147483646[c]
USER_DATA 2 req->cryptlen 0-u32max
USER_DATA 2 *req->iv 0-255
NO_OVERFLOW_SIMPLE 2 req->dst->length
NO_OVERFLOW_SIMPLE 2 req->src->length
USER_PTR 2 req->iv

drivers/crypto/caam/caamalg_qi2.c aead_encrypt_done() -> aead_unmap()

Type Parameter Key Value
PARAM_VALUE 2 req 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/crypto/caam/caamalg_qi.c aead_crypt() -> aead_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_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev->prev 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->assoclen_dma 0-18446744073709551614
PARAM_VALUE 1 edesc->drv_req.app_ctx 4096-ptr_max
PARAM_VALUE 1 edesc->drv_req.cbk 7168356101737590784
PARAM_VALUE 1 edesc->drv_req.drv_ctx 0-ptr_max
PARAM_VALUE 1 edesc->drv_req.fd_sgt 4096-ptr_max
PARAM_VALUE 1 edesc->dst_nents 0-s32max
PARAM_VALUE 1 edesc->iv_dma 0-18446744073709551614
PARAM_VALUE 1 edesc->qm_sg_dma 0-18446744073709551614
PARAM_VALUE 1 edesc->sgt 4096-ptr_max
PARAM_VALUE 1 edesc->src_nents 0-s32max
PARAM_VALUE 2 req 4096-ptr_max
BUF_SIZE 1 edesc->drv_req.app_ctx (-1)-s32max
BUF_SIZE 2 req (-1)-s32max
BUF_SIZE 2 req (-1)-s32max
CAPPED_DATA 1 edesc->drv_req.fd_sgt 1
DATA_SOURCE 1 edesc r aead_edesc_alloc
DATA_SOURCE 2 req $0
NOSPEC 2 req->cryptlen
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 req->src->length 1-2147483646[c]
USER_DATA 2 req->cryptlen 0-u32max
USER_DATA 2 *req->iv 0-255
NO_OVERFLOW_SIMPLE 2 req->dst->length
NO_OVERFLOW_SIMPLE 2 req->src->length
UNITS 0 dev unit_byte
USER_PTR 2 req->iv

drivers/crypto/caam/caamalg_qi.c aead_done() -> aead_unmap()

Type Parameter Key Value
PARAM_VALUE 1 edesc 4096-ptr_max
PARAM_VALUE 2 req 4096-ptr_max
BUF_SIZE 2 req 1-s32max
BUF_SIZE 2 req 1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte