Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/crypto/cavium/nitrox/nitrox_aead.c nitrox_set_creq() -> alloc_dst_sglist()

Type Parameter Key Value
PARAM_VALUE 0 skreq 4096-ptr_max
PARAM_VALUE 0 skreq->creq.ctrl.s.arg 0-1
PARAM_VALUE 0 skreq->creq.ctrl.s.ctxl 184
PARAM_VALUE 0 skreq->creq.ctx_handle 0,4096-18446744073709547520
PARAM_VALUE 0 skreq->creq.gfp 2080,3264
PARAM_VALUE 0 skreq->creq.opcode 51
PARAM_VALUE 0 skreq->creq.src 24,4096-ptr_max
PARAM_VALUE 0 skreq->src 16,4096-ptr_max
PARAM_VALUE 2 ivsize 8
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 ivsize->length 0-2147483646[c]
USER_DATA 1 ivsize->length 1-2147483646[c]
USER_DATA 1 ivsize->offset 0-2147551739[c]
NO_OVERFLOW_SIMPLE 1 ivsize->length
UNITS 1 ivsize unit_byte
UNITS 2 ivsize unit_byte
UNITS 3 buflen unit_byte

drivers/crypto/cavium/nitrox/nitrox_skcipher.c nitrox_skcipher_crypt() -> alloc_dst_sglist()

Type Parameter Key Value
PARAM_VALUE 0 skreq 4096-ptr_max
PARAM_VALUE 0 skreq->__ctx 4096-ptr_max
PARAM_VALUE 0 skreq->__ctx->creq.src->offset 0-4095
PARAM_VALUE 0 *skreq->__ctx->src 0-255
BUF_SIZE 0 skreq (-1)-s32max
BUF_SIZE 0 skreq (-1)-s32max
DATA_SOURCE 0 skreq $0
DATA_SOURCE 1 ivsize r crypto_skcipher_ivsize
NOSPEC 0 skreq->cryptlen
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 skreq->dst->length 0-2147483646[c]
USER_DATA 0 skreq->cryptlen 0-u16max
USER_DATA 0 skreq->dst->length 1-u32max[c]
USER_DATA 0 skreq->dst->offset 0-2147551739[c]
USER_DATA 0 *skreq->__ctx->src 0-255
USER_DATA 0 *skreq->iv 0-255
USER_PTR 0 skreq->iv
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 tfm_mutex