Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/char/tpm/tpm-dev-common.c tpm_dev_transmit() -> tpm2_commit_space()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->dev.driver_data->state 0-9223372036854775799
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.first_waiter->handoff_set 0-1
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 1 space 0,4096-ptr_max
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 bufsiz 6609155661210148864
PARAM_VALUE 3 *bufsiz 0-9223372036854775807
BUF_SIZE 2 buf 4096
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 space $1
DATA_SOURCE 2 buf $2
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