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_multi_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_sg | 4098-18446744073709547521 |
| PARAM_VALUE | 0 | to_sg->length | 8 |
| PARAM_VALUE | 0 | to_sg->offset | 0-4095 |
| CAPPED_DATA | 2 | buflen | 1 |
| DATA_SOURCE | 0 | to_sg | r create_single_sg |
| DATA_SOURCE | 1 | from_sg | $3 |
| DATA_SOURCE | 2 | buflen | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | from_sg->length | 0-2147483646[c] |
| USER_DATA | 1 | from_sg->length | 1-2147483646[c] |
| USER_DATA | 1 | from_sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 0 | to_sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | from_sg->length | |
| UNITS | 1 | from_sg | unit_byte |
| UNITS | 2 | buflen | unit_byte |
drivers/crypto/cavium/nitrox/nitrox_aead.c nitrox_creq_set_src_sg() -> create_multi_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_sg | 4097-18446744073709547521 |
| PARAM_VALUE | 0 | to_sg->length | 8 |
| PARAM_VALUE | 0 | to_sg->offset | 0-4095 |
| CAPPED_DATA | 2 | buflen | 1 |
| DATA_SOURCE | 0 | to_sg | r create_single_sg |
| DATA_SOURCE | 1 | from_sg | $3 |
| DATA_SOURCE | 2 | buflen | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | from_sg->length | 0-2147483646[c] |
| USER_DATA | 0 | to_sg->dma_address | 0-u64max |
| USER_DATA | 0 | to_sg->dma_flags | 0-u32max |
| USER_DATA | 0 | to_sg->dma_length | 0-u32max |
| USER_DATA | 0 | to_sg->length | 8 |
| USER_DATA | 0 | to_sg->offset | 0-4095 |
| USER_DATA | 0 | to_sg->page_link | 0-u64max |
| USER_DATA | 1 | from_sg->length | 1-2147483646[c] |
| USER_DATA | 1 | from_sg->offset | 0-2147551739[c] |
| NO_OVERFLOW_SIMPLE | 0 | to_sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | from_sg->length | |
| UNITS | 1 | from_sg | unit_byte |
| UNITS | 2 | buflen | unit_byte |
| USER_PTR | 0 | to_sg |
drivers/crypto/cavium/nitrox/nitrox_skcipher.c nitrox_creq_set_dst_sg() -> create_multi_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_sg | 4098-18446744073709547521 |
| PARAM_VALUE | 0 | to_sg->offset | 0-4095 |
| DATA_SOURCE | 0 | to_sg | r create_single_sg |
| DATA_SOURCE | 1 | from_sg | $3 |
| DATA_SOURCE | 2 | buflen | $4 |
| NOSPEC | 2 | buflen | |
| NOSPEC | 2 | buflen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | from_sg->length | 0-2147483646[c] |
| USER_DATA | 1 | from_sg->length | 1-u32max[c] |
| USER_DATA | 1 | from_sg->offset | 0-2147551739[c] |
| USER_DATA | 2 | buflen | 0-u16max |
| UNITS | 1 | from_sg | unit_byte |
| UNITS | 2 | buflen | unit_byte |
| 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_multi_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to_sg | 4097-18446744073709547521 |
| PARAM_VALUE | 0 | to_sg->offset | 0-4095 |
| DATA_SOURCE | 0 | to_sg | r create_single_sg |
| DATA_SOURCE | 1 | from_sg | $3 |
| DATA_SOURCE | 2 | buflen | $4 |
| NOSPEC | 0 | to_sg->length | |
| NOSPEC | 2 | buflen | |
| NOSPEC | 2 | buflen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | from_sg->length | 0-2147483646[c] |
| USER_DATA | 0 | to_sg->dma_address | 0-u64max |
| USER_DATA | 0 | to_sg->dma_flags | 0-u32max |
| USER_DATA | 0 | to_sg->dma_length | 0-u32max |
| USER_DATA | 0 | to_sg->length | 0-u32max |
| USER_DATA | 0 | to_sg->offset | 0-4095 |
| USER_DATA | 0 | to_sg->page_link | 0-u64max |
| USER_DATA | 1 | from_sg->length | 1-u32max[c] |
| USER_DATA | 1 | from_sg->offset | 0-2147551739[c] |
| USER_DATA | 2 | buflen | 0-u16max |
| UNITS | 1 | from_sg | unit_byte |
| UNITS | 2 | buflen | unit_byte |
| USER_PTR | 0 | to_sg | |
| HALF_LOCKED2 | &mkey->sem | ||
| HALF_LOCKED2 | s->tfm_mutex | ||
| HALF_LOCKED2 | tfm_mutex |