Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/tls/tls_sw.c tls_set_sw_offload() -> init_prot_info()

Type Parameter Key Value
PARAM_VALUE 1 crypto_info 4096-ptr_max
PARAM_VALUE 1 crypto_info->cipher_type 51-58
PARAM_VALUE 2 cipher_desc 4096-ptr_max
BUF_SIZE 0 prot 20
BUF_SIZE 1 crypto_info (-1)-0,4
BUF_SIZE 1 crypto_info (-1)-0,4
DATA_SOURCE 2 cipher_desc r get_cipher_desc
HARD_MAX 1 crypto_info->cipher_type 58
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 crypto_info->cipher_type 51-58
USER_DATA 1 crypto_info->version 772[u]
USER_PTR 1 crypto_info
LOCK2 sk
HALF_LOCKED2 global &device_offload_lock

net/tls/tls_device.c tls_set_device_offload() -> init_prot_info()

Type Parameter Key Value
PARAM_VALUE 1 crypto_info 4096-ptr_max
PARAM_VALUE 1 crypto_info->cipher_type 51-58
PARAM_VALUE 1 crypto_info->version 771
PARAM_VALUE 2 cipher_desc 4096-ptr_max
BUF_SIZE 0 prot 20
BUF_SIZE 1 crypto_info 4
DATA_SOURCE 2 cipher_desc r get_cipher_desc
HARD_MAX 1 crypto_info->cipher_type 58
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk
HALF_LOCKED2 &smc->clcsock_release_lock