Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_cipher_map_inner() -> hisi_acc_sg_buf_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 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_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_mask 4096-ptr_max
PARAM_VALUE 0 dev->driver 0,4096-ptr_max
PARAM_VALUE 0 dev->iommu->attach_deferred 0
PARAM_VALUE 0 dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 1 sgl 1-u64max
PARAM_VALUE 2 hw_sgl 4096-ptr_max
PARAM_VALUE 2 hw_sgl->entry_sum_in_chain 1-u16max
PARAM_VALUE 3 dir 0-1
CAPPED_DATA 0 dev 1
DATA_SOURCE 1 sgl $2
DATA_SOURCE 2 hw_sgl r hisi_acc_sg_buf_map_to_hw_sgl
FUZZY_MAX 3 dir 1
HARD_MAX 3 dir 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sgl unit_byte

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_cipher_map_inner() -> hisi_acc_sg_buf_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 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_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_mask 4096-ptr_max
PARAM_VALUE 0 dev->driver 0,4096-ptr_max
PARAM_VALUE 0 dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 1 sgl 1-u64max
PARAM_VALUE 2 hw_sgl 4096-ptr_max
PARAM_VALUE 2 hw_sgl->entry_sum_in_chain 1-u16max
PARAM_VALUE 3 dir 1
CAPPED_DATA 0 dev 1
DATA_SOURCE 1 sgl $2
DATA_SOURCE 2 hw_sgl r hisi_acc_sg_buf_map_to_hw_sgl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sgl unit_byte

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_cipher_unmap() -> hisi_acc_sg_buf_unmap()

Type Parameter Key Value
PARAM_VALUE 3 dir 2
DATA_SOURCE 1 sgl $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sgl unit_byte
HALF_LOCKED2 &qp->backlog.lock
HALF_LOCKED2 bh

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_cipher_unmap() -> hisi_acc_sg_buf_unmap()

Type Parameter Key Value
PARAM_VALUE 2 hw_sgl->entry_length_in_sgl 0-u16max
PARAM_VALUE 2 hw_sgl->entry_sum_in_chain 0-u16max
PARAM_VALUE 2 hw_sgl->entry_sum_in_sgl 0-u16max
PARAM_VALUE 3 dir 1
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sgl unit_byte
HALF_LOCKED2 &qp->backlog.lock
HALF_LOCKED2 bh

drivers/crypto/hisilicon/sec2/sec_crypto.c sec_cipher_unmap() -> hisi_acc_sg_buf_unmap()

Type Parameter Key Value
PARAM_VALUE 2 hw_sgl->entry_length_in_sgl 0-u16max
PARAM_VALUE 2 hw_sgl->entry_sum_in_chain 0-u16max
PARAM_VALUE 2 hw_sgl->entry_sum_in_sgl 0-u16max
PARAM_VALUE 3 dir 0
CAPPED_DATA 1 sgl 1
DATA_SOURCE 1 sgl $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sgl unit_byte
HALF_LOCKED2 &qp->backlog.lock
HALF_LOCKED2 bh

drivers/crypto/hisilicon/zip/zip_crypto.c hisi_zip_acomp_cb() -> hisi_acc_sg_buf_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 3 dir 2
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sgl unit_byte

drivers/crypto/hisilicon/zip/zip_crypto.c hisi_zip_acomp_cb() -> hisi_acc_sg_buf_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 3 dir 1
BUF_SIZE 0 dev 1616
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sgl unit_byte

drivers/crypto/hisilicon/zip/zip_crypto.c hisi_zip_do_work() -> hisi_acc_sg_buf_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 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_mask 4096-ptr_max
PARAM_VALUE 0 dev->iommu->attach_deferred 0
PARAM_VALUE 0 dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 1 sgl 1-u64max
PARAM_VALUE 2 hw_sgl 4096-ptr_max
PARAM_VALUE 2 hw_sgl->entry_sum_in_chain 1-u16max
PARAM_VALUE 3 dir 2
BUF_SIZE 0 dev 1616
CAPPED_DATA 0 dev 1
DATA_SOURCE 2 hw_sgl r hisi_acc_sg_buf_map_to_hw_sgl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sgl unit_byte
HALF_LOCKED2 &acomp_ctx->mutex

drivers/crypto/hisilicon/zip/zip_crypto.c hisi_zip_do_work() -> hisi_acc_sg_buf_unmap()

Type Parameter Key Value
PARAM_VALUE 0 dev 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_mask 4096-ptr_max
PARAM_VALUE 0 dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 1 sgl 1-u64max
PARAM_VALUE 2 hw_sgl 4096-ptr_max
PARAM_VALUE 2 hw_sgl->entry_sum_in_chain 1-u16max
PARAM_VALUE 3 dir 1
BUF_SIZE 0 dev 1616
CAPPED_DATA 0 dev 1
DATA_SOURCE 2 hw_sgl r hisi_acc_sg_buf_map_to_hw_sgl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 sgl unit_byte
HALF_LOCKED2 &acomp_ctx->mutex