Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/char/tpm/tpm-dev-common.c tpm_common_write() -> tpm_dev_transmit()
| 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.dep_map->name | 0-255 |
| 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->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 | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | bufsiz | 4096 |
| BUF_SIZE | 2 | buf | 4096 |
| USER_DATA | 2 | *buf | 0-255 |
| UNITS | 3 | bufsiz | unit_byte |
| USER_PTR | 2 | buf | |
| 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 |
drivers/char/tpm/tpm-dev-common.c tpm_dev_async_work() -> tpm_dev_transmit()
| 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.dep_map->name | 0-255 |
| 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 | 3 | bufsiz | 4096 |
| BUF_SIZE | 2 | buf | 4096 |
| UNITS | 3 | bufsiz | unit_byte |
| LOCK2 | &priv->buffer_mutex | ||
| LOCK2 | 0 | &chip->ops_sem | |
| LOCK2 | 0 | &chip->tpm_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct file_priv)->buffer_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |