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_ahash_digest() -> chcr_hash_dma_map()
| 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->data_len | 0-4294967295 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.dma_addr | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.dma_len | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.imm | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.is_sg_map | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.isfinal | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.processed | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.result | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.skb | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.src_ofst | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.srcsg | 0 |
| PARAM_VALUE | 1 | req->__ctx->reqlen | 0 |
| PARAM_VALUE | 1 | req->__ctx->rxqidx | 0 |
| PARAM_VALUE | 1 | req->__ctx->txqidx | 0 |
| PARAM_VALUE | 1 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 1 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 1 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 1 | req->sg_head->offset | 0-4294967295 |
| PARAM_VALUE | 1 | *req->__ctx->partial_hash | 0-255 |
| PARAM_VALUE | 1 | *req->__ctx->reqbfr | 0-255 |
| PARAM_VALUE | 1 | *req->__ctx->skbfr | 0-255 |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req->src | (-1),64 |
| DATA_SOURCE | 1 | req | $0 |
| NOSPEC | 1 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->nbytes | 0-4605,4294963202-u32max[c] |
| HOST_DATA | 1 | req->src->length | 0-2147483646[c] |
| USER_DATA | 1 | req->nbytes | 0-u32max |
| USER_DATA | 1 | req->src->length | 1-u32max[c] |
| USER_DATA | 1 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 1 | *req->result | 0-255 |
| USER_DATA | 1 | *req->svirt | 0-255 |
| USER_PTR | 1 | req->result | |
| USER_PTR | 1 | req->svirt |
drivers/crypto/chelsio/chcr_algo.c chcr_ahash_finup() -> chcr_hash_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.dma_addr | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.dma_len | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.imm | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.is_sg_map | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.isfinal | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.processed | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.result | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.skb | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.src_ofst | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.srcsg | 0 |
| PARAM_VALUE | 1 | req->__ctx->rxqidx | 0 |
| PARAM_VALUE | 1 | req->__ctx->txqidx | 0 |
| PARAM_VALUE | 1 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 1 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 1 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 1 | req->sg_head->offset | 0-4294967295 |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req->src | (-1),64 |
| DATA_SOURCE | 1 | req | $0 |
| NOSPEC | 1 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->nbytes | 0-4605,4294963202-u32max[c] |
| HOST_DATA | 1 | req->src->length | 0-2147483646[c] |
| USER_DATA | 1 | req->nbytes | 0-u32max |
| USER_DATA | 1 | req->src->length | 1-u32max[c] |
| USER_DATA | 1 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 1 | *req->result | 0-255 |
| USER_DATA | 1 | *req->svirt | 0-255 |
| USER_PTR | 1 | req->result | |
| USER_PTR | 1 | req->svirt |
drivers/crypto/chelsio/chcr_algo.c chcr_ahash_update() -> chcr_hash_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.dma_addr | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.dma_len | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.imm | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.is_sg_map | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.isfinal | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.processed | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.result | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.skb | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.src_ofst | 0 |
| PARAM_VALUE | 1 | req->__ctx->hctx_wr.srcsg | 0 |
| PARAM_VALUE | 1 | req->__ctx->rxqidx | 0 |
| PARAM_VALUE | 1 | req->__ctx->txqidx | 0 |
| PARAM_VALUE | 1 | req->sg_head->dma_flags | 0-4294967295 |
| PARAM_VALUE | 1 | req->sg_head->dma_length | 0-4294967295 |
| PARAM_VALUE | 1 | req->sg_head->length | 0-4294967295 |
| PARAM_VALUE | 1 | req->sg_head->offset | 0-4294967295 |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req | (-1)-s32max |
| BUF_SIZE | 1 | req->src | (-1),64 |
| DATA_SOURCE | 1 | req | $0 |
| NOSPEC | 1 | req->nbytes | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | req->nbytes | 0-4605,4294963202-u32max[c] |
| HOST_DATA | 1 | req->src->length | 0-2147483646[c] |
| USER_DATA | 1 | req->nbytes | 0-u32max |
| USER_DATA | 1 | req->src->length | 1-u32max[c] |
| USER_DATA | 1 | req->src->offset | 0-2147551739[c] |
| USER_DATA | 1 | *req->result | 0-255 |
| USER_DATA | 1 | *req->svirt | 0-255 |
| USER_PTR | 1 | req->result | |
| USER_PTR | 1 | req->svirt |