Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/char/tpm/tpm2-space.c tpm2_prepare_space() -> tpm2_map_command()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready->wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.done 0
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.wait.lock.owner (-1)
PARAM_VALUE 0 chip->dev.driver_data->tpm_ready.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 chip->ops_sem.dep_map->name 0-255
PARAM_VALUE 0 chip->ops_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 chip->ops_sem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 chip->ops_sem.first_waiter->type 0-1
PARAM_VALUE 0 chip->tpm_mutex.dep_map->name 0-255
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chip->tpm_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 *chip->work_space->session_tbl 0
PARAM_VALUE 1 cc 0-536936447
PARAM_VALUE 2 cmd->ordinal 0-536936447
BUF_SIZE 2 cmd 4096
BUF_SIZE 2 cmd 4096
CAPPED_DATA 1 cc 1
CAPPED_DATA 2 cmd->ordinal 1
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 cc r tpm_find_and_validate_cc
DATA_SOURCE 2 cmd $2
USER_DATA 1 cc 1-536936447[c]
USER_DATA 2 *cmd 0-255
USER_PTR 2 cmd
LOCK2 &priv->buffer_mutex
LOCK2 0 &chip->ops_sem
LOCK2 0 &chip->tpm_mutex
TYPE_LOCK (struct file_priv)->buffer_mutex
TYPE_LOCK (struct tpm_chip)->ops_sem
TYPE_LOCK (struct tpm_chip)->tpm_mutex