Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/crypto/ccp/sev-dev-tsm.c dsm_connect() -> sev_tio_spdm_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dsm 4096-ptr_max
PARAM_VALUE 0 dsm->data.ide 4096-ptr_max
PARAM_VALUE 0 dsm->data.respbuf->payload_sz 0-4294967295
PARAM_VALUE 0 dsm->tsm.base_tsm.pdev 4096-ptr_max
PARAM_VALUE 0 *dsm->data->ide 4096-ptr_max
CAPPED_DATA 0 dsm->tsm.doe_mb 1
DATA_SOURCE 1 ret r sev_tio_dev_connect
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/crypto/ccp/sev-dev-tsm.c dsm_disconnect() -> sev_tio_spdm_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dsm 4096-ptr_max
DATA_SOURCE 1 ret r sev_tio_dev_disconnect
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex

drivers/crypto/ccp/sev-dev-tsm.c dsm_disconnect() -> sev_tio_spdm_cmd()

Type Parameter Key Value
PARAM_VALUE 0 dsm 4096-ptr_max
PARAM_VALUE 0 dsm->data.cmd 0,212-213
PARAM_VALUE 0 dsm->data.output_len 0-u32max
PARAM_VALUE 0 dsm->data.respbuf->payload_sz 0-4294967295
PARAM_VALUE 0 dsm->data.scratch_len 0-u32max
DATA_SOURCE 1 ret r sev_tio_dev_disconnect
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex