Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/chelsio/chcr_algo.c chcr_handle_cipher_resp() -> chcr_cipher_dma_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
CAPPED_DATA 1 req->cryptlen 1
DATA_SOURCE 1 req $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/crypto/chelsio/chcr_algo.c chcr_handle_cipher_resp() -> chcr_cipher_dma_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
DATA_SOURCE 1 req $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/crypto/chelsio/chcr_algo.c chcr_handle_cipher_resp() -> chcr_cipher_dma_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
DATA_SOURCE 1 req $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/crypto/chelsio/chcr_algo.c process_cipher() -> chcr_cipher_dma_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->__ctx->imm 0
PARAM_VALUE 1 req->__ctx->partial_req 0
PARAM_VALUE 1 req->__ctx->processed 0
PARAM_VALUE 1 req->__ctx->rxqidx 0
PARAM_VALUE 1 req->__ctx->txqidx 0
PARAM_VALUE 1 req->cryptlen 352-u32max
PARAM_VALUE 1 req->dst 4096-ptr_max
PARAM_VALUE 1 req->iv 1-u64max
PARAM_VALUE 1 req->src 4096-ptr_max
BUF_SIZE 1 req (-1)-s32max
BUF_SIZE 1 req (-1)-s32max
CAPPED_DATA 1 req->cryptlen 1
DATA_SOURCE 1 req $0
FUZZY_MAX 1 req->cryptlen 352
NOSPEC 1 req->cryptlen
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 req->dst->length 1-2147483646[c]
USER_DATA 1 req->cryptlen 352-u32max[c]
USER_DATA 1 *req->iv 0-255
USER_PTR 1 req->iv
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 tfm_mutex

drivers/crypto/chelsio/chcr_algo.c process_cipher() -> chcr_cipher_dma_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->__ctx 4096-ptr_max
PARAM_VALUE 1 req->__ctx->dst_ofst 0
PARAM_VALUE 1 req->__ctx->imm 0-1
PARAM_VALUE 1 req->__ctx->op 0-1
PARAM_VALUE 1 req->__ctx->partial_req 0
PARAM_VALUE 1 req->__ctx->processed 0
PARAM_VALUE 1 req->__ctx->rxqidx 0
PARAM_VALUE 1 req->__ctx->src_ofst 0
PARAM_VALUE 1 req->__ctx->txqidx 0
PARAM_VALUE 1 req->cryptlen 1-u32max
PARAM_VALUE 1 req->iv 1-u64max
BUF_SIZE 1 req (-1)-s32max
BUF_SIZE 1 req (-1)-s32max
CAPPED_DATA 1 req->cryptlen 1
DATA_SOURCE 1 req $0
FUZZY_MAX 1 req->__ctx->imm 1
FUZZY_MAX 1 req->cryptlen 352
NOSPEC 1 req->cryptlen
HARD_MAX 1 req->__ctx->imm 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 req->dst->length 1-2147483646[c]
USER_DATA 1 req->cryptlen 1-u32max[c]
USER_DATA 1 *req->iv 0-255
USER_PTR 1 req->iv
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 tfm_mutex