Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/ccree/cc_buffer_mgr.c cc_aead_chain_data() -> cc_map_sg()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 3 direction 2
PARAM_VALUE 4 nents 4096-ptr_max
PARAM_VALUE 5 max_sg_nents 128
PARAM_VALUE 6 lbytes 5832380060780490752
PARAM_VALUE 6 *lbytes 0
PARAM_VALUE 7 mapped_nents 8440519411428601856
PARAM_VALUE 7 *mapped_nents 0
BUF_SIZE 0 dev 1616
DATA_SOURCE 0 dev r drvdata_to_dev
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 sg->length 0-2147483646[c]
USER_DATA 1 sg->length 1-2147483646[c]
USER_DATA 1 sg->offset 0-2147551739[c]
NO_OVERFLOW_SIMPLE 1 sg->length
UNITS 1 sg unit_byte
UNITS 2 nbytes unit_byte

drivers/crypto/ccree/cc_buffer_mgr.c cc_map_aead_request() -> cc_map_sg()

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->prev 4096-ptr_max
PARAM_VALUE 0 dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 3 direction 0-1
PARAM_VALUE 4 nents 4096-ptr_max
PARAM_VALUE 5 max_sg_nents 136
PARAM_VALUE 6 lbytes 3406622214235316224
PARAM_VALUE 6 *lbytes 0
PARAM_VALUE 7 mapped_nents 4976634767701172224
PARAM_VALUE 7 *mapped_nents 0
BUF_SIZE 0 dev 1616
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev r drvdata_to_dev
FUZZY_MAX 3 direction 1
HARD_MAX 3 direction 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 sg->length 0-2147483646[c]
USER_DATA 1 sg->length 1-2147483646[c]
USER_DATA 1 sg->offset 0-2147551739[c]
NO_OVERFLOW_SIMPLE 1 sg->length
UNITS 1 sg unit_byte
UNITS 2 nbytes unit_byte

drivers/crypto/ccree/cc_buffer_mgr.c cc_map_cipher_request() -> cc_map_sg()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 nbytes 1-u32max
PARAM_VALUE 3 direction 0-1
PARAM_VALUE 4 nents 4096-ptr_max
PARAM_VALUE 5 max_sg_nents 128
PARAM_VALUE 6 lbytes 5732368457547882496
PARAM_VALUE 6 *lbytes 0
PARAM_VALUE 7 mapped_nents 8102491470942273536
PARAM_VALUE 7 *mapped_nents 0
BUF_SIZE 0 dev 1616
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev r drvdata_to_dev
DATA_SOURCE 1 sg $5
DATA_SOURCE 2 nbytes $3
FUZZY_MAX 3 direction 1
NOSPEC 2 nbytes
NOSPEC 2 nbytes
HARD_MAX 3 direction 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 sg->length 1-2147483646[c]
USER_DATA 1 sg->length 1-u32max[c]
USER_DATA 1 sg->offset 0-2147551739[c]
USER_DATA 2 nbytes 1-u32max
UNITS 1 sg unit_byte
UNITS 2 nbytes unit_byte
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

drivers/crypto/ccree/cc_buffer_mgr.c cc_map_cipher_request() -> cc_map_sg()

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 2 nbytes 1-u32max
PARAM_VALUE 3 direction 2
PARAM_VALUE 4 nents 4096-ptr_max
PARAM_VALUE 5 max_sg_nents 128
PARAM_VALUE 6 lbytes 5732368457547882496
PARAM_VALUE 7 mapped_nents 8102491470942273536
PARAM_VALUE 7 *mapped_nents 1-s32max
BUF_SIZE 0 dev 1616
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev r drvdata_to_dev
DATA_SOURCE 1 sg $6
DATA_SOURCE 2 nbytes $3
NOSPEC 2 nbytes
NOSPEC 2 nbytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 sg->length 1-2147483646[c]
USER_DATA 1 sg->length 1-u32max[c]
USER_DATA 1 sg->offset 0-2147551739[c]
USER_DATA 2 nbytes 1-u32max
USER_DATA 6 *lbytes 1-u32max
UNITS 1 sg unit_byte
UNITS 2 nbytes unit_byte
USER_PTR 6 lbytes
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

drivers/crypto/ccree/cc_buffer_mgr.c cc_map_hash_request_final() -> cc_map_sg()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 sg 1-u64max
PARAM_VALUE 2 nbytes 1-u32max
PARAM_VALUE 3 direction 1
PARAM_VALUE 4 nents 4096-ptr_max
PARAM_VALUE 4 *nents 0
PARAM_VALUE 5 max_sg_nents 128
PARAM_VALUE 6 lbytes 8966291464408739840
PARAM_VALUE 6 *lbytes 0
PARAM_VALUE 7 mapped_nents 3579437745847926784
PARAM_VALUE 7 *mapped_nents 0
BUF_SIZE 0 dev 1616
BUF_SIZE 1 sg (-1),64
BUF_SIZE 1 sg (-1),64
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev r drvdata_to_dev
DATA_SOURCE 1 sg $2
DATA_SOURCE 2 nbytes $3
NOSPEC 2 nbytes
NOSPEC 2 nbytes
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 sg->length 0-2147483646[c]
HOST_DATA 2 nbytes 1-4350,4294963202-u32max[c]
USER_DATA 1 sg->length 1-u32max[c]
USER_DATA 1 sg->offset 0-2147551739[c]
USER_DATA 2 nbytes 1-u32max
UNITS 1 sg unit_byte
UNITS 2 nbytes unit_byte

drivers/crypto/ccree/cc_buffer_mgr.c cc_map_hash_request_update() -> cc_map_sg()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 nbytes 1-u32max
PARAM_VALUE 3 direction 1
PARAM_VALUE 4 nents 4096-ptr_max
PARAM_VALUE 4 *nents 0
PARAM_VALUE 5 max_sg_nents 128
PARAM_VALUE 6 lbytes 5566338109845254144
PARAM_VALUE 6 *lbytes 0
PARAM_VALUE 7 mapped_nents 8430398193764954112
PARAM_VALUE 7 *mapped_nents 0
BUF_SIZE 0 dev 1616
BUF_SIZE 1 sg (-1),64
BUF_SIZE 1 sg (-1),64
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev r drvdata_to_dev
DATA_SOURCE 1 sg $2
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 sg->length 0-2147483646[c]
USER_DATA 1 sg->length 1-u32max[c]
USER_DATA 1 sg->offset 0-2147551739[c]
UNITS 1 sg unit_byte
UNITS 2 nbytes unit_byte