Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/crypto/inside-secure/safexcel_hash.c safexcel_ahash_send_req() -> safexcel_context_control()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->base.priv->dev 4096-ptr_max
PARAM_VALUE 0 ctx->base.priv->dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->base.priv->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 ctx->base.priv->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 ctx->base.priv->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 ctx->base.priv->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 1 async 4096-ptr_max
PARAM_VALUE 1 async->nents 1-s32max
PARAM_VALUE 2 sreq 0,4096-ptr_max
PARAM_VALUE 2 sreq->additional_cdata_size 0
PARAM_VALUE 2 sreq->rsvd0 0
PARAM_VALUE 2 sreq->rsvd1 0
CAPPED_DATA 1 async->nents 1
DATA_SOURCE 0 ctx r crypto_ahash_ctx
DATA_SOURCE 1 async r ahash_request_ctx_dma
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 async->nents
HALF_LOCKED2 &pool->lock

drivers/crypto/inside-secure/safexcel_cipher.c safexcel_send_req() -> safexcel_context_control()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->base.ctxr 4096-ptr_max
PARAM_VALUE 0 ctx->base.priv->dev 4096-ptr_max
PARAM_VALUE 0 ctx->key_len 0-u32max
PARAM_VALUE 0 ctx->state_sz 0-u32max
PARAM_VALUE 1 async 4096-ptr_max
PARAM_VALUE 1 async->tfm->__crt_ctx->base.ctxr 4096-ptr_max
PARAM_VALUE 2 sreq 4096-ptr_max
PARAM_VALUE 2 sreq->needs_inv 0
PARAM_VALUE 2 sreq->nr_dst (-22),0-s32max
PARAM_VALUE 2 sreq->nr_src 0-s32max
PARAM_VALUE 3 cdesc 0,4096-ptr_max
PARAM_VALUE 3 cdesc->additional_cdata_size 0
PARAM_VALUE 3 cdesc->rsvd0 0
PARAM_VALUE 3 cdesc->rsvd1 0
BUF_SIZE 2 sreq (-1),1-s32max
BUF_SIZE 2 sreq (-1),1-s32max
CAPPED_DATA 2 sreq->nr_src 1
DATA_SOURCE 1 async $0
DATA_SOURCE 2 sreq $2
FUZZY_MAX 2 sreq->nr_src 1
PARAM_COMPARE 0 ctx == $1->tfm->__crt_ctx
PARAM_COMPARE 1 async->tfm->__crt_ctx == $0
NOCHECK_CALL
HALF_LOCKED2 &pool->lock