Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/ccree/cc_hash.c cc_do_finup() -> cc_map_result()
| 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 | 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->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->buff_sg->dma_flags | 0-4294967295 |
| PARAM_VALUE | 1 | state->buff_sg->dma_length | 0-4294967295 |
| PARAM_VALUE | 1 | state->buff_sg->length | 0-4294967295 |
| PARAM_VALUE | 1 | state->buff_sg->offset | 0-4294967295 |
| PARAM_VALUE | 1 | state->data_dma_buf_type | 0-2 |
| PARAM_VALUE | 1 | state->in_nents | 0-136 |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 1 | state->digest_buff | 1 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 1 | state | r ahash_request_ctx_dma |
| DATA_SOURCE | 2 | digestsize | r crypto_ahash_digestsize |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | state->buff_sg->length | 1-4350,4294963202-4294967295[c] |
| HOST_DATA | 1 | state->curr_sg->length | 1-4350,4294963202-u32max[c] |
| USER_DATA | 1 | state->buff_sg->length | 1-4294967295 |
| USER_DATA | 1 | state->curr_sg->length | 1-u32max |
drivers/crypto/ccree/cc_hash.c cc_hash_digest() -> cc_map_result()
| 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 | 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->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->buff_index | 0 |
| PARAM_VALUE | 1 | state->curr_sg | 0 |
| PARAM_VALUE | 1 | state->data_dma_buf_type | 0 |
| PARAM_VALUE | 1 | state->digest_buff | 0 |
| PARAM_VALUE | 1 | state->digest_bytes_len | 0 |
| PARAM_VALUE | 1 | state->digest_result_dma_addr | 0 |
| PARAM_VALUE | 1 | state->gen_ctx.iv | 0 |
| PARAM_VALUE | 1 | state->gen_ctx.iv_dma_addr | 0 |
| PARAM_VALUE | 1 | state->gen_ctx.op_type | 0 |
| PARAM_VALUE | 1 | state->in_nents | 0 |
| PARAM_VALUE | 1 | state->mlli_nents | 0 |
| PARAM_VALUE | 1 | state->mlli_params.curr_pool | 0 |
| PARAM_VALUE | 1 | state->mlli_params.mlli_dma_addr | 0 |
| PARAM_VALUE | 1 | state->mlli_params.mlli_len | 0 |
| PARAM_VALUE | 1 | state->mlli_params.mlli_virt_addr | 0 |
| PARAM_VALUE | 1 | state->opad_digest_buff | 0 |
| PARAM_VALUE | 1 | state->xcbc_count | 0 |
| PARAM_VALUE | 1 | *state->digest_buff | 0-255 |
| PARAM_VALUE | 1 | *state->digest_bytes_len | 0-255 |
| PARAM_VALUE | 1 | *state->opad_digest_buff | 0-255 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 1 | state | r ahash_request_ctx_dma |
| DATA_SOURCE | 2 | digestsize | r crypto_ahash_digestsize |
| MEM_ZERO | 1 | state | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/ccree/cc_hash.c cc_mac_digest() -> cc_map_result()
| 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 | 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->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->buff_index | 0 |
| PARAM_VALUE | 1 | state->curr_sg | 0 |
| PARAM_VALUE | 1 | state->data_dma_buf_type | 0 |
| PARAM_VALUE | 1 | state->digest_buff | 0 |
| PARAM_VALUE | 1 | state->digest_bytes_len | 0 |
| PARAM_VALUE | 1 | state->digest_result_dma_addr | 0 |
| PARAM_VALUE | 1 | state->gen_ctx.iv | 0 |
| PARAM_VALUE | 1 | state->gen_ctx.iv_dma_addr | 0 |
| PARAM_VALUE | 1 | state->gen_ctx.op_type | 0 |
| PARAM_VALUE | 1 | state->in_nents | 0 |
| PARAM_VALUE | 1 | state->mlli_nents | 0 |
| PARAM_VALUE | 1 | state->mlli_params.curr_pool | 0 |
| PARAM_VALUE | 1 | state->mlli_params.mlli_dma_addr | 0 |
| PARAM_VALUE | 1 | state->mlli_params.mlli_len | 0 |
| PARAM_VALUE | 1 | state->mlli_params.mlli_virt_addr | 0 |
| PARAM_VALUE | 1 | state->opad_digest_buff | 0 |
| PARAM_VALUE | 1 | state->xcbc_count | 0 |
| PARAM_VALUE | 1 | *state->digest_buff | 0-255 |
| PARAM_VALUE | 1 | *state->digest_bytes_len | 0-255 |
| PARAM_VALUE | 1 | *state->opad_digest_buff | 0-255 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 1 | state | r ahash_request_ctx_dma |
| DATA_SOURCE | 2 | digestsize | r crypto_ahash_digestsize |
| MEM_ZERO | 1 | state | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/ccree/cc_hash.c cc_mac_final() -> cc_map_result()
| 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 | 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->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->buff_sg->dma_flags | 0-4294967295 |
| PARAM_VALUE | 1 | state->buff_sg->dma_length | 0-4294967295 |
| PARAM_VALUE | 1 | state->buff_sg->length | 0-4294967295 |
| PARAM_VALUE | 1 | state->buff_sg->offset | 0-4294967295 |
| PARAM_VALUE | 1 | state->data_dma_buf_type | 0-2 |
| PARAM_VALUE | 1 | state->in_nents | 0-136 |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 1 | state->digest_buff | 1 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 1 | state | r ahash_request_ctx_dma |
| DATA_SOURCE | 2 | digestsize | r crypto_ahash_digestsize |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | state->buff_sg->length | 1-4350,4294963202-4294967295[c] |
| HOST_DATA | 1 | state->curr_sg->length | 1-4350,4294963202-u32max[c] |
| USER_DATA | 1 | state->buff_sg->length | 1-4294967295 |
| USER_DATA | 1 | state->curr_sg->length | 1-u32max |
drivers/crypto/ccree/cc_hash.c cc_mac_finup() -> cc_map_result()
| 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 | 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->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | state->buff_sg->dma_flags | 0-4294967295 |
| PARAM_VALUE | 1 | state->buff_sg->dma_length | 0-4294967295 |
| PARAM_VALUE | 1 | state->buff_sg->length | 0-4294967295 |
| PARAM_VALUE | 1 | state->buff_sg->offset | 0-4294967295 |
| PARAM_VALUE | 1 | state->data_dma_buf_type | 0-2 |
| PARAM_VALUE | 1 | state->in_nents | 0-136 |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 1 | state->digest_buff | 1 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 1 | state | r ahash_request_ctx_dma |
| DATA_SOURCE | 2 | digestsize | r crypto_ahash_digestsize |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | state->buff_sg->length | 1-4350,4294963202-4294967295[c] |
| HOST_DATA | 1 | state->curr_sg->length | 1-4350,4294963202-u32max[c] |
| USER_DATA | 1 | state->buff_sg->length | 1-4294967295 |
| USER_DATA | 1 | state->curr_sg->length | 1-u32max |