Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/crypto/ccree/cc_aead.c cc_aead_complete() -> cc_copy_sg_portion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 5 | direct | 1 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | dest | 32 |
| DATA_SOURCE | 0 | dev | $0 |
| NOCHECK_CALL | |||
| UNITS | 2 | sg | unit_byte |
| UNITS | 3 | to_skip | unit_byte |
| UNITS | 4 | end | unit_byte |
drivers/crypto/ccree/cc_buffer_mgr.c cc_copy_mac() -> cc_copy_sg_portion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 5 | direct | 0-1 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | dest | 32 |
| CAPPED_DATA | 2 | sg | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 5 | direct | $2 |
| HARD_MAX | 5 | direct | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | sg->length | 0-2147483646[c] |
| USER_DATA | 2 | sg->length | 1-2147483646[c] |
| USER_DATA | 2 | sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 2 | sg->length | |
| UNITS | 2 | sg | unit_byte |
| UNITS | 3 | to_skip | unit_byte |
| UNITS | 4 | end | unit_byte |
drivers/crypto/ccree/cc_buffer_mgr.c cc_map_hash_request_update() -> cc_copy_sg_portion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 4 | end | 1-u32max |
| PARAM_VALUE | 5 | direct | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | dest | 128 |
| BUF_SIZE | 1 | dest | 128 |
| BUF_SIZE | 2 | sg | (-1),64 |
| BUF_SIZE | 2 | sg | (-1),64 |
| DATA_SOURCE | 0 | dev | r drvdata_to_dev |
| DATA_SOURCE | 1 | dest | r cc_next_buf |
| DATA_SOURCE | 2 | sg | $2 |
| DATA_SOURCE | 4 | end | $3 |
| NOSPEC | 4 | end | |
| NOSPEC | 4 | end | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | sg->length | 0-2147483646[c] |
| HOST_DATA | 4 | end | 1-4350,4294963202-u32max[c] |
| USER_DATA | 2 | sg->length | 1-u32max[c] |
| USER_DATA | 2 | sg->offset | 0-2147551739[c] |
| USER_DATA | 4 | end | 1-u32max |
| UNITS | 2 | sg | unit_byte |
| UNITS | 3 | to_skip | unit_byte |
| UNITS | 4 | end | unit_byte |