Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/crypto/caam/caampkc.c sg_to_sec4_sg_last() -> sg_to_sec4_set_last()

Type Parameter Key Value
PARAM_VALUE 0 sec4_sg_ptr 4096-ptr_max
PARAM_VALUE 0 sec4_sg_ptr->bpid 0,16384-49152
PARAM_VALUE 0 sec4_sg_ptr->bpid_offset 0
PARAM_VALUE 0 sec4_sg_ptr->format_offset 0,4096-16384
DATA_SOURCE 0 sec4_sg_ptr r sg_to_sec4_sg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 sec4_sg_ptr->len
UNITS 0 sec4_sg_ptr unit_byte

drivers/crypto/caam/caamalg.c sg_to_sec4_sg_last() -> sg_to_sec4_set_last()

Type Parameter Key Value
PARAM_VALUE 0 sec4_sg_ptr 4096-ptr_max
PARAM_VALUE 0 sec4_sg_ptr->bpid 0,16384-49152
PARAM_VALUE 0 sec4_sg_ptr->bpid_offset 0
PARAM_VALUE 0 sec4_sg_ptr->format_offset 0,4096-16384
DATA_SOURCE 0 sec4_sg_ptr r sg_to_sec4_sg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sec4_sg_ptr unit_byte

drivers/crypto/caam/caamalg.c skcipher_edesc_alloc() -> sg_to_sec4_set_last()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 sec4_sg_ptr unit_byte
HALF_LOCKED2 &mkey->sem
HALF_LOCKED2 s->tfm_mutex
HALF_LOCKED2 sk
HALF_LOCKED2 tfm_mutex

drivers/crypto/caam/caamhash.c ahash_final_ctx() -> sg_to_sec4_set_last()

Type Parameter Key Value
PARAM_VALUE 0 sec4_sg_ptr 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/crypto/caam/caamhash.c ahash_update_ctx() -> sg_to_sec4_set_last()

Type Parameter Key Value
PARAM_VALUE 0 sec4_sg_ptr 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/crypto/caam/caamhash.c sg_to_sec4_sg_last() -> sg_to_sec4_set_last()

Type Parameter Key Value
PARAM_VALUE 0 sec4_sg_ptr 4096-ptr_max
PARAM_VALUE 0 sec4_sg_ptr->bpid 0,16384-49152
PARAM_VALUE 0 sec4_sg_ptr->bpid_offset 0
PARAM_VALUE 0 sec4_sg_ptr->format_offset 0,4096-16384
DATA_SOURCE 0 sec4_sg_ptr r sg_to_sec4_sg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 sec4_sg_ptr->len 1-s32max[c]