Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 crypto_info 4096-ptr_max
PARAM_VALUE 1 cipher_desc 4096-ptr_max
BUF_SIZE 0 crypto_info 4
DATA_SOURCE 1 cipher_desc r get_cipher_desc
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk
HALF_LOCKED2 &smc->clcsock_release_lock

net/tls/tls_main.c do_tls_getsockopt_conf() -> crypto_info_rec_seq()

Type Parameter Key Value
PARAM_VALUE 0 crypto_info 4096-ptr_max
PARAM_VALUE 1 cipher_desc 4096-ptr_max
BUF_SIZE 0 crypto_info 4
CAPPED_DATA 1 cipher_desc->crypto_info 1
DATA_SOURCE 1 cipher_desc r get_cipher_desc
RX_PATH
LOCK2 sk

net/tls/tls_main.c do_tls_getsockopt_conf() -> crypto_info_rec_seq()

Type Parameter Key Value
PARAM_VALUE 0 crypto_info 4096-ptr_max
PARAM_VALUE 1 cipher_desc 4096-ptr_max
BUF_SIZE 0 crypto_info 4
CAPPED_DATA 1 cipher_desc->crypto_info 1
DATA_SOURCE 1 cipher_desc r get_cipher_desc
RX_PATH
LOCK2 sk

net/tls/tls_main.c do_tls_getsockopt_conf() -> crypto_info_rec_seq()

Type Parameter Key Value
PARAM_VALUE 0 crypto_info 4096-ptr_max
PARAM_VALUE 1 cipher_desc 4096-ptr_max
BUF_SIZE 0 crypto_info 4
CAPPED_DATA 1 cipher_desc->crypto_info 1
DATA_SOURCE 1 cipher_desc r get_cipher_desc
RX_PATH
LOCK2 sk