Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/ccree/cc_buffer_mgr.c cc_aead_chain_assoc() -> cc_add_sg_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | sgl_data | 7606055961736134656 |
| PARAM_VALUE | 1 | sgl_data->num_of_buffers | 0-1 |
| PARAM_VALUE | 2 | nents | 1-8 |
| PARAM_VALUE | 4 | data_len | 1-u32max |
| PARAM_VALUE | 5 | data_offset | 0 |
| PARAM_VALUE | 7 | mlli_nents | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 4 | data_len | 1 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 1 | sgl_data | $2 |
| DATA_SOURCE | 6 | is_last_table | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 3 | sgl->length | |
| UNITS | 3 | sgl | unit_byte |
| UNITS | 4 | data_len | unit_byte |
drivers/crypto/ccree/cc_buffer_mgr.c cc_map_cipher_request() -> cc_add_sg_entry()
| 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_data | 2357868233128071168 |
| PARAM_VALUE | 1 | sgl_data->num_of_buffers | 0 |
| PARAM_VALUE | 2 | nents | 0-136 |
| PARAM_VALUE | 4 | data_len | 1-u32max |
| PARAM_VALUE | 5 | data_offset | 0 |
| PARAM_VALUE | 6 | is_last_table | 1 |
| PARAM_VALUE | 7 | mlli_nents | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 3 | sgl | 1 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 3 | sgl | $5 |
| DATA_SOURCE | 4 | data_len | $3 |
| NOSPEC | 4 | data_len | |
| NOSPEC | 4 | data_len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 4 | data_len | 1-u32max |
| UNITS | 3 | sgl | unit_byte |
| UNITS | 4 | data_len | 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_add_sg_entry()
| 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_data | 2357868233128071168 |
| PARAM_VALUE | 1 | sgl_data->num_of_buffers | 0 |
| PARAM_VALUE | 2 | nents | 0-136 |
| PARAM_VALUE | 4 | data_len | 1-u32max |
| PARAM_VALUE | 5 | data_offset | 0 |
| PARAM_VALUE | 6 | is_last_table | 1 |
| PARAM_VALUE | 7 | mlli_nents | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 3 | sgl | $5 |
| DATA_SOURCE | 4 | data_len | $3 |
| NOSPEC | 4 | data_len | |
| NOSPEC | 4 | data_len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 4 | data_len | 1-u32max |
| UNITS | 3 | sgl | unit_byte |
| UNITS | 4 | data_len | 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_add_sg_entry()
| 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_data | 2357868233128071168 |
| PARAM_VALUE | 1 | sgl_data->num_of_buffers | 1 |
| PARAM_VALUE | 2 | nents | 0-136 |
| PARAM_VALUE | 4 | data_len | 1-u32max |
| PARAM_VALUE | 5 | data_offset | 0 |
| PARAM_VALUE | 6 | is_last_table | 1 |
| PARAM_VALUE | 7 | mlli_nents | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 3 | sgl | $6 |
| DATA_SOURCE | 4 | data_len | $3 |
| NOSPEC | 4 | data_len | |
| NOSPEC | 4 | data_len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 4 | data_len | 1-u32max |
| UNITS | 3 | sgl | unit_byte |
| UNITS | 4 | data_len | 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_hash_request_final() -> cc_add_sg_entry()
| 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_data | 6218226481470566400 |
| PARAM_VALUE | 1 | sgl_data->num_of_buffers | 0-1 |
| PARAM_VALUE | 2 | nents | 0-136 |
| PARAM_VALUE | 3 | sgl | 1-u64max |
| PARAM_VALUE | 4 | data_len | 1-u32max |
| PARAM_VALUE | 5 | data_offset | 0 |
| PARAM_VALUE | 6 | is_last_table | 1 |
| PARAM_VALUE | 7 | mlli_nents | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 3 | sgl | (-1),64 |
| BUF_SIZE | 3 | sgl | (-1),64 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 3 | sgl | $2 |
| DATA_SOURCE | 4 | data_len | $3 |
| NOSPEC | 4 | data_len | |
| NOSPEC | 4 | data_len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 4 | data_len | 1-4350,4294963202-u32max[c] |
| USER_DATA | 4 | data_len | 1-u32max |
| UNITS | 3 | sgl | unit_byte |
| UNITS | 4 | data_len | unit_byte |
drivers/crypto/ccree/cc_buffer_mgr.c cc_map_hash_request_update() -> cc_add_sg_entry()
| 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_data | 3835367919637946368 |
| PARAM_VALUE | 1 | sgl_data->num_of_buffers | 0-1 |
| PARAM_VALUE | 2 | nents | 0-136 |
| PARAM_VALUE | 4 | data_len | 1-u32max |
| PARAM_VALUE | 5 | data_offset | 0 |
| PARAM_VALUE | 6 | is_last_table | 1 |
| PARAM_VALUE | 7 | mlli_nents | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 3 | sgl | (-1),64 |
| BUF_SIZE | 3 | sgl | (-1),64 |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 4 | data_len | 1 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 3 | sgl | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | sgl | unit_byte |
| UNITS | 4 | data_len | unit_byte |
drivers/crypto/ccree/cc_buffer_mgr.c cc_prepare_aead_data_mlli() -> cc_add_sg_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | sgl_data | 7606055961736134656 |
| PARAM_VALUE | 1 | sgl_data->num_of_buffers | 0-2 |
| PARAM_VALUE | 6 | is_last_table | 1 |
| PARAM_VALUE | 7 | mlli_nents | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 1 | sgl_data | $2 |
| DATA_SOURCE | 6 | is_last_table | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | sgl | unit_byte |
| UNITS | 4 | data_len | unit_byte |
| UNITS | 5 | data_offset | unit_byte |
drivers/crypto/ccree/cc_buffer_mgr.c cc_prepare_aead_data_mlli() -> cc_add_sg_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | sgl_data | 7606055961736134656 |
| PARAM_VALUE | 1 | sgl_data->num_of_buffers | 0-2 |
| PARAM_VALUE | 6 | is_last_table | 1 |
| PARAM_VALUE | 7 | mlli_nents | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 1 | sgl_data | $2 |
| DATA_SOURCE | 6 | is_last_table | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | sgl | unit_byte |
| UNITS | 4 | data_len | unit_byte |
| UNITS | 5 | data_offset | unit_byte |
drivers/crypto/ccree/cc_buffer_mgr.c cc_prepare_aead_data_mlli() -> cc_add_sg_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | sgl_data | 7606055961736134656 |
| PARAM_VALUE | 1 | sgl_data->num_of_buffers | 0-3 |
| PARAM_VALUE | 1 | *sgl_data->is_last | 1 |
| PARAM_VALUE | 1 | *sgl_data->nents | s32min-s32max |
| PARAM_VALUE | 1 | *sgl_data->offset | 0-4294967295 |
| PARAM_VALUE | 1 | *sgl_data->total_data_len | s32min-s32max |
| PARAM_VALUE | 6 | is_last_table | 1 |
| PARAM_VALUE | 7 | mlli_nents | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 1 | sgl_data | $2 |
| DATA_SOURCE | 6 | is_last_table | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | sgl | unit_byte |
| UNITS | 4 | data_len | unit_byte |
| UNITS | 5 | data_offset | unit_byte |
drivers/crypto/ccree/cc_buffer_mgr.c cc_prepare_aead_data_mlli() -> cc_add_sg_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | sgl_data | 7606055961736134656 |
| PARAM_VALUE | 1 | sgl_data->num_of_buffers | 0-2 |
| PARAM_VALUE | 6 | is_last_table | 1 |
| PARAM_VALUE | 7 | mlli_nents | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 1 | sgl_data | $2 |
| DATA_SOURCE | 6 | is_last_table | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | sgl | unit_byte |
| UNITS | 4 | data_len | unit_byte |
| UNITS | 5 | data_offset | unit_byte |
drivers/crypto/ccree/cc_buffer_mgr.c cc_prepare_aead_data_mlli() -> cc_add_sg_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | sgl_data | 7606055961736134656 |
| PARAM_VALUE | 1 | sgl_data->num_of_buffers | 0-3 |
| PARAM_VALUE | 1 | *sgl_data->is_last | 1 |
| PARAM_VALUE | 1 | *sgl_data->nents | s32min-s32max |
| PARAM_VALUE | 1 | *sgl_data->offset | 0-4294967295 |
| PARAM_VALUE | 1 | *sgl_data->total_data_len | s32min-s32max |
| PARAM_VALUE | 6 | is_last_table | 1 |
| PARAM_VALUE | 7 | mlli_nents | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 1 | sgl_data | $2 |
| DATA_SOURCE | 6 | is_last_table | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | sgl | unit_byte |
| UNITS | 4 | data_len | unit_byte |
| UNITS | 5 | data_offset | unit_byte |
drivers/crypto/ccree/cc_buffer_mgr.c cc_set_aead_conf_buf() -> cc_add_sg_entry()
| 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->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_data | 7606055961736134656 |
| PARAM_VALUE | 1 | sgl_data->num_of_buffers | 0 |
| PARAM_VALUE | 2 | nents | 1 |
| PARAM_VALUE | 3 | sgl | 4096-ptr_max |
| PARAM_VALUE | 4 | data_len | 0-14,2147483664-u32max |
| PARAM_VALUE | 5 | data_offset | 0 |
| PARAM_VALUE | 6 | is_last_table | 0 |
| PARAM_VALUE | 7 | mlli_nents | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | sgl_data | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/crypto/ccree/cc_buffer_mgr.c cc_set_hash_buf() -> cc_add_sg_entry()
| 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->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_data | 3835367919637946368,6218226481470566400 |
| PARAM_VALUE | 1 | sgl_data->num_of_buffers | 0 |
| PARAM_VALUE | 2 | nents | 1 |
| PARAM_VALUE | 3 | sgl | 4096-ptr_max |
| PARAM_VALUE | 4 | data_len | 1-u32max |
| PARAM_VALUE | 5 | data_offset | 0 |
| PARAM_VALUE | 6 | is_last_table | 0 |
| PARAM_VALUE | 7 | mlli_nents | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 3 | sgl | 64 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | sgl_data | $4 |
| DATA_SOURCE | 4 | data_len | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 4 | data_len | unit_byte |