Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/char/tpm/tpm2-sessions.c tpm_buf_append_hmac_session() -> tpm_buf_append_auth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->auth | 0 |
| 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->cmd_ready | 0,4096-ptr_max |
| 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->auth->name_h | 0-4294967295 |
| PARAM_VALUE | 1 | buf | 1289353834079596544,2500137228463173632,3454032230291607552,4267813598517657600,4765448974262747136 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| BUF_SIZE | 2 | passphrase | (-1),20 |
| BUF_SIZE | 2 | passphrase | (-1),20 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | passphrase | $3 |
| DATA_SOURCE | 3 | passphrase_len | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &chip->ops_sem | |
| LOCK2 | 0 | &chip->tpm_mutex | |
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm2-cmd.c tpm2_pcr_extend() -> tpm_buf_append_auth()
| 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->flags | 2-u32max |
| PARAM_VALUE | 0 | chip->nr_allocated_banks | 0-s32max |
| 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 | buf | 3454032230291607552 |
| PARAM_VALUE | 1 | buf->data | 0 |
| PARAM_VALUE | 1 | buf->handles | 1 |
| PARAM_VALUE | 2 | passphrase | 0 |
| PARAM_VALUE | 3 | passphrase_len | 0 |
| CAPPED_DATA | 0 | chip->nr_allocated_banks | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| BIT_INFO | 0 | chip->flags | 0x2,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &chip->ops_sem | |
| LOCK2 | 0 | &chip->tpm_mutex | |
| HALF_LOCKED2 | global &ima_extend_list_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |