Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/crypto/cavium/nitrox/nitrox_aead.c nitrox_creq_set_dst_sg() -> create_single_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 4096-ptr_max |
| PARAM_VALUE | 0 | sg->dma_address | 0 |
| PARAM_VALUE | 0 | sg->dma_flags | 0 |
| PARAM_VALUE | 0 | sg->dma_length | 0 |
| PARAM_VALUE | 0 | sg->length | 0 |
| PARAM_VALUE | 0 | sg->offset | 0 |
| PARAM_VALUE | 0 | sg->page_link | 0 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 8 |
| MEM_ZERO | 0 | sg | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/crypto/cavium/nitrox/nitrox_aead.c nitrox_creq_set_dst_sg() -> create_single_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 4097-18446744073709547521 |
| PARAM_VALUE | 0 | sg->length | 8 |
| PARAM_VALUE | 0 | sg->offset | 0-4095 |
| PARAM_VALUE | 1 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 8 |
| DATA_SOURCE | 0 | sg | r create_single_sg |
| DATA_SOURCE | 2 | buflen | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sg->length | |
| UNITS | 2 | buflen | unit_byte |
drivers/crypto/cavium/nitrox/nitrox_aead.c nitrox_creq_set_dst_sg() -> create_single_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 4098-u64max |
| PARAM_VALUE | 0 | sg->offset | 0-4095 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 8 |
| DATA_SOURCE | 0 | sg | r create_multi_sg |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | sg->length | 1-2147483646[c] |
| USER_DATA | 0 | sg->length | 1-2147483646[c] |
| NO_OVERFLOW_SIMPLE | 0 | sg->length |
drivers/crypto/cavium/nitrox/nitrox_aead.c nitrox_creq_set_src_sg() -> create_single_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 24,4096-ptr_max |
| PARAM_VALUE | 0 | sg->dma_address | 0 |
| PARAM_VALUE | 0 | sg->dma_flags | 0 |
| PARAM_VALUE | 0 | sg->dma_length | 0 |
| PARAM_VALUE | 0 | sg->length | 0 |
| PARAM_VALUE | 0 | sg->offset | 0 |
| PARAM_VALUE | 0 | sg->page_link | 0 |
| PARAM_VALUE | 1 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 8 |
| DATA_SOURCE | 2 | buflen | $2 |
| MEM_ZERO | 0 | sg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | buflen | unit_byte |
| USER_PTR | 0 | sg | |
| USER_PTR | 1 | buf |
drivers/crypto/cavium/nitrox/nitrox_skcipher.c nitrox_creq_set_dst_sg() -> create_single_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 4096-ptr_max |
| PARAM_VALUE | 0 | sg->dma_address | 0 |
| PARAM_VALUE | 0 | sg->dma_flags | 0 |
| PARAM_VALUE | 0 | sg->dma_length | 0 |
| PARAM_VALUE | 0 | sg->length | 0 |
| PARAM_VALUE | 0 | sg->offset | 0 |
| PARAM_VALUE | 0 | sg->page_link | 0 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 8 |
| MEM_ZERO | 0 | sg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/cavium/nitrox/nitrox_skcipher.c nitrox_creq_set_dst_sg() -> create_single_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 4097-18446744073709547521 |
| PARAM_VALUE | 0 | sg->length | 8 |
| PARAM_VALUE | 0 | sg->offset | 0-4095 |
| DATA_SOURCE | 0 | sg | r create_single_sg |
| DATA_SOURCE | 2 | buflen | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/cavium/nitrox/nitrox_skcipher.c nitrox_creq_set_dst_sg() -> create_single_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 4098-u64max |
| PARAM_VALUE | 0 | sg->offset | 0-4095 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | buflen | 8 |
| DATA_SOURCE | 0 | sg | r create_multi_sg |
| NOSPEC | 0 | sg->length | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | sg->length | 1-2147483646[c] |
| USER_DATA | 0 | sg->length | 1-u32max[c] |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |
drivers/crypto/cavium/nitrox/nitrox_skcipher.c nitrox_creq_set_src_sg() -> create_single_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sg | 4096-ptr_max |
| PARAM_VALUE | 0 | sg->dma_address | 0 |
| PARAM_VALUE | 0 | sg->dma_flags | 0 |
| PARAM_VALUE | 0 | sg->dma_length | 0 |
| PARAM_VALUE | 0 | sg->length | 0 |
| PARAM_VALUE | 0 | sg->offset | 0 |
| PARAM_VALUE | 0 | sg->page_link | 0 |
| PARAM_VALUE | 1 | buf | 16,4096-ptr_max |
| DATA_SOURCE | 2 | buflen | $2 |
| MEM_ZERO | 0 | sg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | sg | |
| USER_PTR | 1 | buf | |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |