Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/char/tpm/tpm-interface.c, line 289
- drivers/char/tpm/tpm-sysfs.c, line 52
- drivers/char/tpm/tpm1-cmd.c
- drivers/char/tpm/tpm2-cmd.c
- drivers/char/tpm/tpm2-sessions.c
- drivers/char/tpm/tpm2-space.c
- drivers/char/tpm/tpm_vtpm_proxy.c, line 415
- security/keys/trusted-keys/trusted_tpm1.c, line 336
- security/keys/trusted-keys/trusted_tpm2.c
Smatch caller information:
drivers/char/tpm/tpm2-sessions.c tpm2_create_primary() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count | 0-4294967295 |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->flags | 0-1 |
| 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->auth->name_h | 0-4294967295 |
| PARAM_VALUE | 1 | buf | 8979946474034294784 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 1898678418152779776 |
| BUF_SIZE | 3 | desc | 34 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 33 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands | |
| HALF_LOCKED2 | 0 | &chip->ops_sem | |
| HALF_LOCKED2 | 0 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-sessions.c tpm2_read_public() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->auth | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->auth->name | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.osq.tail.counter | 0-s32max |
| 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->list.prev | 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 | 8814368143488847872 |
| PARAM_VALUE | 1 | buf->data | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 3453581370878107648 |
| BUF_SIZE | 3 | desc | 16 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 15 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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-sessions.c tpm2_start_auth_session() -> tpm_transmit_cmd()
| 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->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 | 3238085801097465856 |
| PARAM_VALUE | 1 | buf->data | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 4851150232868175872 |
| BUF_SIZE | 3 | desc | 17 |
| CAPPED_DATA | 0 | chip->null_ec_key_x | 1 |
| CAPPED_DATA | 0 | chip->null_ec_key_y | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 16 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/tpm_vtpm_proxy.c vtpm_proxy_request_locality() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->bios_dir->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | chip->bios_dir->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | chip->dev.kobj.parent->kset->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.kobj.parent->kset->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | chip->dev.kobj.parent->kset->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | chip->dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | chip->dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | chip->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | chip->dev.p->dead | 0-1 |
| PARAM_VALUE | 0 | chip->dev.p->deferred_probe_reason | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | chip->devs.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | chip->devs.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | chip->devs.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | chip->devs.p->dead | 0-1 |
| PARAM_VALUE | 0 | chip->devs.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | chip->locality | (-1) |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| PARAM_VALUE | 0 | chip->ops->request_locality | 687616332851662848,1972857114776301568,5522372633862455296,8809977530342211584 |
| 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 | 1 | buf | 3379137064221065216 |
| PARAM_VALUE | 1 | buf->data | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 6387546898743050240 |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | chip->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | chip->ops | (-1),104 |
| BUF_SIZE | 3 | desc | 27 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 26 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | chip->cdev.kobj.parent->kref.refcount.refs.counter | s32min-s32max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->release.cpu | s32min-s32max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->release.timer.expires | 0-u64max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->release.timer.flags | 0-u32max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->release.work.data.counter | s64min-s64max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->state_add_uevent_sent | 0 |
| HOST_DATA | 0 | chip->cdev.kobj.parent->state_in_sysfs | 0 |
| HOST_DATA | 0 | chip->cdev.kobj.parent->state_initialized | 1 |
| HOST_DATA | 0 | chip->cdev.kobj.parent->state_remove_uevent_sent | 0 |
| HOST_DATA | 0 | chip->cdev.kobj.parent->uevent_suppress | 0-1 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->kref.refcount.refs.counter | s32min-s32max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->release.cpu | s32min-s32max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->release.timer.expires | 0-u64max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->release.timer.flags | 0-u32max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->release.work.data.counter | s64min-s64max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->state_add_uevent_sent | 0 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->state_in_sysfs | 0 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->state_initialized | 1 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->state_remove_uevent_sent | 0 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->uevent_suppress | 0-1 |
| HOST_DATA | 0 | chip->hwrng->priv | 0-u64max |
| HOST_DATA | 0 | *chip->log->bios_event_log | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | chip->ascii_log_seqops.chip->nr_commands | |
| NO_OVERFLOW_SIMPLE | 0 | chip->bin_log_seqops.chip->nr_commands | |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands | |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | 0 | &chip->ops_sem | |
| HALF_LOCKED2 | 0 | &chip->tpm_mutex |
drivers/char/tpm/tpm1-cmd.c tpm1_continue_selftest() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| PARAM_VALUE | 0 | chip->ops->flags | 0-1 |
| PARAM_VALUE | 1 | buf | 3986272475522613248 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->flags | 0 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 1 | buf->length | 10 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 7024909357911044096 |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | desc | 18 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 17 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | chip | unit_byte |
drivers/char/tpm/tpm1-cmd.c tpm1_get_random() -> tpm_transmit_cmd()
| 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 | buf | 6547586339947524096 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 4 |
| PARAM_VALUE | 3 | desc | 6231356404637310976 |
| BUF_SIZE | 3 | desc | 22 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 21 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | min_rsp_body_length | unit_byte |
| 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/tpm1-cmd.c tpm1_getcap() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| PARAM_VALUE | 0 | chip->ops->flags | 0-1 |
| PARAM_VALUE | 0 | chip->ops->go_idle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->update_durations | 0,2769123810796912640 |
| PARAM_VALUE | 0 | chip->ops->update_timeouts | 0,3872956085286137856 |
| PARAM_VALUE | 0 | chip->ops_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | buf | 6279000267516870656 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0-1,4,6-7,12,16,22 |
| PARAM_VALUE | 3 | desc | 0,4096-ptr_max |
| BUF_SIZE | 0 | chip->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | chip->ops | (-1),104 |
| BUF_SIZE | 3 | desc | (-1),36-38,40-41,43-44,51-52 |
| BUF_SIZE | 3 | desc | (-1),36-38,40-41,43-44,51-52 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 2 | min_rsp_body_length | $4 |
| DATA_SOURCE | 3 | desc | $3 |
| STR_LEN | 0 | chip | (-1),35-37,39-40,42-43,50-51 |
| STR_LEN | 0 | chip | (-1),35-37,39-40,42-43,50-51 |
| STR_LEN | 1 | buf | (-1),35 |
| STR_LEN | 3 | desc | (-1),35 |
| HARD_MAX | 2 | min_rsp_body_length | 22 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands | |
| UNITS | 2 | min_rsp_body_length | unit_byte |
| HALF_LOCKED2 | &chip->ops_sem | ||
| HALF_LOCKED2 | &chip->tpm_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &chip->ops_sem | |
| HALF_LOCKED2 | 0 | &chip->tpm_mutex |
drivers/char/tpm/tpm1-cmd.c tpm1_pcr_extend() -> tpm_transmit_cmd()
| 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->cmd_ready | 0,4096-ptr_max |
| 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 | 8563504111148785664 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 20 |
| PARAM_VALUE | 3 | desc | 1424044289438814208,1444496540849680384 |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | desc | 30,35 |
| BUF_SIZE | 3 | desc | 30,35 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 3 | desc | $3 |
| STR_LEN | 0 | chip | 29,34 |
| STR_LEN | 0 | chip | 29,34 |
| BIT_INFO | 0 | chip->flags | 0x0,0xfffffffd |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | chip | unit_byte |
| 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/tpm1-cmd.c tpm1_pcr_read() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| PARAM_VALUE | 0 | chip->ops->flags | 0-1 |
| 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 | 1 | buf | 5415216281497542656 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 20 |
| PARAM_VALUE | 3 | desc | 5934592028683468800 |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | desc | 31 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 30 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | chip | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &chip->ops_sem | |
| HALF_LOCKED2 | 0 | &chip->tpm_mutex |
drivers/char/tpm/tpm1-cmd.c tpm1_pm_suspend() -> tpm_transmit_cmd()
| 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 | buf | 3132235788938567680 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->flags | 0 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 1 | buf->length | 10 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 0 |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | chip | unit_byte |
| LOCK2 | 0 | &chip->ops_sem | |
| LOCK2 | 0 | &chip->tpm_mutex | |
| HALF_LOCKED2 | &fsm->lock | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm1-cmd.c tpm1_startup() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| PARAM_VALUE | 0 | chip->ops->flags | 0-1 |
| PARAM_VALUE | 0 | chip->ops->go_idle | 0,4096-ptr_max |
| PARAM_VALUE | 1 | buf | 7482454454816579584 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 5557402599538978816 |
| BUF_SIZE | 3 | desc | 28 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 27 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands |
security/keys/trusted-keys/trusted_tpm1.c trusted_tpm_send() -> tpm_transmit_cmd()
| 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 | 1 | buf | 7635139447625777152 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->flags | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 4 |
| PARAM_VALUE | 3 | desc | 1114536273382842368 |
| BUF_SIZE | 3 | desc | 13 |
| STR_LEN | 0 | chip | 12 |
| TERMINATED | 3 | desc | 1 |
| LOCK2 | global &chip->ops_sem | ||
| LOCK2 | global &chip->tpm_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm2-cmd.c tpm2_do_selftest() -> tpm_transmit_cmd()
| 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->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| PARAM_VALUE | 0 | chip->ops->flags | 1 |
| PARAM_VALUE | 1 | buf | 6267099816396873728 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 1324149630711984128 |
| BUF_SIZE | 3 | desc | 25 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 24 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/char/tpm/tpm2-cmd.c tpm2_flush_context() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | chip->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | chip->devs.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | chip->devs.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | chip->devs.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | chip->devs.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | chip->devs.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | chip->devs.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | chip->devs.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | chip->ops->cancel | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->flags | 0-1 |
| PARAM_VALUE | 0 | chip->ops->go_idle | 0,7330804120071462912 |
| PARAM_VALUE | 0 | chip->ops->recv | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->relinquish_locality | 0,2633419398296563712,2874090570833219584,5109782565761941504 |
| PARAM_VALUE | 0 | chip->ops->req_canceled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->req_complete_mask | 0-1,3,6,144 |
| PARAM_VALUE | 0 | chip->ops->req_complete_val | 0-2,6,144 |
| PARAM_VALUE | 0 | chip->ops->request_locality | 0,687616332851662848,1972857114776301568,5522372633862455296,8809977530342211584 |
| PARAM_VALUE | 0 | chip->ops->send | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->status | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->update_durations | 0,2769123810796912640 |
| PARAM_VALUE | 0 | chip->ops->update_timeouts | 0,3872956085286137856 |
| 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 | 1 | buf | 2776815064932691968 |
| PARAM_VALUE | 1 | buf->data | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 6164841284419170304 |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | desc | 17 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 16 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | chip->cdev.kobj.parent->kref.refcount.refs.counter | s32min-s32max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->release.cpu | s32min-s32max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->release.timer.expires | 0-u64max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->release.timer.flags | 0-u32max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->release.work.data.counter | s64min-s64max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->state_add_uevent_sent | 0 |
| HOST_DATA | 0 | chip->cdev.kobj.parent->state_in_sysfs | 0 |
| HOST_DATA | 0 | chip->cdev.kobj.parent->state_initialized | 1 |
| HOST_DATA | 0 | chip->cdev.kobj.parent->state_remove_uevent_sent | 0 |
| HOST_DATA | 0 | chip->cdev.kobj.parent->uevent_suppress | 0-1 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->kref.refcount.refs.counter | s32min-s32max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->release.cpu | s32min-s32max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->release.timer.expires | 0-u64max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->release.timer.flags | 0-u32max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->release.work.data.counter | s64min-s64max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->state_add_uevent_sent | 0 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->state_in_sysfs | 0 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->state_initialized | 1 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->state_remove_uevent_sent | 0 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->uevent_suppress | 0-1 |
| HOST_DATA | 0 | chip->hwrng->priv | 0-u64max |
| HOST_DATA | 0 | *chip->log->bios_event_log | 0-255 |
| USER_DATA | 0 | chip->last_cc | 1-536936447[c] |
| NO_OVERFLOW_SIMPLE | 0 | chip->ascii_log_seqops.chip->nr_commands | |
| NO_OVERFLOW_SIMPLE | 0 | chip->bin_log_seqops.chip->nr_commands | |
| NO_OVERFLOW_SIMPLE | 0 | chip->cdev.count | |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands | |
| UNITS | 0 | chip | unit_byte |
| HALF_LOCKED2 | &priv->buffer_mutex | ||
| HALF_LOCKED2 | 0 | &chip->ops_sem | |
| HALF_LOCKED2 | 0 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-cmd.c tpm2_get_cc_attrs_tbl() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->cc_attrs_tbl | 1-u64max |
| PARAM_VALUE | 0 | chip->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.devres_head.prev->next->next | 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->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| PARAM_VALUE | 0 | chip->ops->flags | 1 |
| PARAM_VALUE | 1 | buf | 3023699687611850752 |
| PARAM_VALUE | 1 | buf->data | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 9-4194309 |
| PARAM_VALUE | 3 | desc | 0 |
| BUF_SIZE | 0 | chip->cc_attrs_tbl | 0-4194300 |
| DATA_SOURCE | 0 | chip | $0 |
| MEM_ZERO | 0 | chip->cc_attrs_tbl | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/char/tpm/tpm2-cmd.c tpm2_get_pcr_allocation() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.driver_data->state | 0-9223372036854775799 |
| PARAM_VALUE | 0 | chip->flags | 2-u32max |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| PARAM_VALUE | 0 | chip->ops->flags | 0-1 |
| PARAM_VALUE | 0 | chip->ops->go_idle | 0,4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4544113194563657728 |
| PARAM_VALUE | 1 | buf->data | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 9 |
| PARAM_VALUE | 3 | desc | 7849354636623798272 |
| BUF_SIZE | 3 | desc | 23 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 22 |
| BIT_INFO | 0 | chip->flags | 0x2,0xffffffff |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands |
drivers/char/tpm/tpm2-cmd.c tpm2_get_random() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->auth | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->auth->attrs | 1,33,65-66 |
| PARAM_VALUE | 0 | chip->auth->handle | 0-255 |
| PARAM_VALUE | 0 | chip->auth->ordinal | 0-4294967295 |
| PARAM_VALUE | 0 | chip->auth->passphrase_len | s32min-s32max |
| PARAM_VALUE | 0 | chip->auth->session | 1-s32max |
| 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->nr_commands | 1-u32max |
| 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 | 1289353834079596544 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 2 |
| PARAM_VALUE | 3 | desc | 6231356404637310976 |
| BUF_SIZE | 3 | desc | 22 |
| CAPPED_DATA | 0 | chip->auth->attrs | 1 |
| CAPPED_DATA | 0 | chip->auth->handle | 1 |
| CAPPED_DATA | 0 | chip->nr_commands | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 21 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_get_tpm_pt() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count | 0-4294967295 |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| PARAM_VALUE | 0 | chip->ops->flags | 0-1 |
| PARAM_VALUE | 0 | chip->ops->go_idle | 0,4096-ptr_max |
| PARAM_VALUE | 1 | buf | 3123880985322483712 |
| PARAM_VALUE | 1 | buf->data | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 0 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | (-1),35 |
| STR_LEN | 0 | chip | (-1),35 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands |
drivers/char/tpm/tpm2-cmd.c tpm2_pcr_extend() -> tpm_transmit_cmd()
| 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->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 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 1424044289438814208 |
| BUF_SIZE | 3 | desc | 30 |
| CAPPED_DATA | 0 | chip->nr_allocated_banks | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 29 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
drivers/char/tpm/tpm2-cmd.c tpm2_pcr_read() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->allocated_banks | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| 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 | 1 | buf | 8607141726755409920 |
| PARAM_VALUE | 1 | buf->data | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 5934592028683468800 |
| BUF_SIZE | 3 | desc | 31 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 30 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands | |
| HALF_LOCKED2 | 0 | &chip->ops_sem | |
| HALF_LOCKED2 | 0 | &chip->tpm_mutex |
drivers/char/tpm/tpm2-cmd.c tpm2_probe() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->cdev.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->cdev.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->cdev.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->defpool.vaddr | 0 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.kobj->name | 0-255 |
| PARAM_VALUE | 0 | chip->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.power.wait_queue.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| PARAM_VALUE | 0 | chip->ops->go_idle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->tpm_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | buf | 5202873187926589440 |
| PARAM_VALUE | 1 | buf->data | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 0 |
| BUF_SIZE | 0 | chip | 9120 |
| BUF_SIZE | 0 | chip->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | chip->ops | (-1),104 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/char/tpm/tpm2-cmd.c tpm2_shutdown() -> tpm_transmit_cmd()
| 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 | (-1) |
| PARAM_VALUE | 0 | chip->dev.driver_data->tpm_ready.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | chip->devs.dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | chip->devs.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | chip->devs.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | chip->devs.dma_io_tlb_mem->force_bounce | 0-1 |
| PARAM_VALUE | 0 | chip->devs.dma_io_tlb_mem->nslabs | 0-s64max |
| PARAM_VALUE | 0 | chip->devs.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | chip->devs.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | chip->devs.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| PARAM_VALUE | 0 | chip->ops->go_idle | 0,4096-ptr_max |
| 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 | 1 | buf | 146936894276833280 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 7632663664496750592 |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | desc | 17 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 16 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | chip->cdev.kobj.parent->kref.refcount.refs.counter | s32min-s32max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->release.cpu | s32min-s32max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->release.timer.expires | 0-u64max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->release.timer.flags | 0-u32max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->release.work.data.counter | s64min-s64max |
| HOST_DATA | 0 | chip->cdev.kobj.parent->state_add_uevent_sent | 0 |
| HOST_DATA | 0 | chip->cdev.kobj.parent->state_in_sysfs | 0 |
| HOST_DATA | 0 | chip->cdev.kobj.parent->state_initialized | 1 |
| HOST_DATA | 0 | chip->cdev.kobj.parent->state_remove_uevent_sent | 0 |
| HOST_DATA | 0 | chip->cdev.kobj.parent->uevent_suppress | 0-1 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->kref.refcount.refs.counter | s32min-s32max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->release.cpu | s32min-s32max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->release.timer.expires | 0-u64max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->release.timer.flags | 0-u32max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->release.work.data.counter | s64min-s64max |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->state_add_uevent_sent | 0 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->state_in_sysfs | 0 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->state_initialized | 1 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->state_remove_uevent_sent | 0 |
| HOST_DATA | 0 | chip->cdevs.kobj.parent->uevent_suppress | 0-1 |
| HOST_DATA | 0 | chip->hwrng->priv | 0-u64max |
| HOST_DATA | 0 | *chip->log->bios_event_log | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | chip->ascii_log_seqops.chip->nr_commands | |
| NO_OVERFLOW_SIMPLE | 0 | chip->bin_log_seqops.chip->nr_commands | |
| NO_OVERFLOW_SIMPLE | 0 | chip->cdev.count | |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands | |
| UNITS | 0 | chip | unit_byte |
| LOCK2 | 0 | &chip->ops_sem | |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | 0 | &chip->tpm_mutex | |
| TYPE_LOCK | (struct tpm_chip)->ops_sem |
drivers/char/tpm/tpm2-cmd.c tpm2_startup() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.driver | 0,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->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| PARAM_VALUE | 0 | chip->ops->flags | 1 |
| PARAM_VALUE | 1 | buf | 6224177166544572416 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 5557402599538978816 |
| BUF_SIZE | 3 | desc | 28 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 27 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/keys/trusted-keys/trusted_tpm2.c tpm2_load_cmd() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->auth | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->auth->aes_key.k->rndkeys | 0-255 |
| PARAM_VALUE | 0 | chip->auth->aes_key.nrounds | 10,12,14 |
| PARAM_VALUE | 0 | chip->auth->attrs | 1,33,65-66 |
| PARAM_VALUE | 0 | chip->auth->handle | 0-255 |
| PARAM_VALUE | 0 | chip->auth->ordinal | 0-4294967295 |
| PARAM_VALUE | 0 | chip->auth->passphrase_len | s32min-s32max |
| PARAM_VALUE | 0 | chip->auth->session | 1-s32max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.osq.tail.counter | 0-s32max |
| 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->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->nr_commands | 1-u32max |
| 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 | 1 |
| PARAM_VALUE | 0 | chip->ops_sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | chip->ops_sem.first_waiter->list.prev | 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->tpm_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->tpm_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->tpm_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->tpm_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->tpm_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | *chip->auth->name_h | 0-4294967295 |
| PARAM_VALUE | 0 | *chip->auth->passphrase | 0-255 |
| PARAM_VALUE | 0 | *chip->auth->scratch | 0-255 |
| PARAM_VALUE | 1 | buf | 4267813598517657600 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 4 |
| PARAM_VALUE | 3 | desc | 190414168531292160 |
| BUF_SIZE | 3 | desc | 13 |
| CAPPED_DATA | 0 | chip->auth->attrs | 1 |
| CAPPED_DATA | 0 | chip->auth->handle | 1 |
| CAPPED_DATA | 0 | chip->nr_commands | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 12 |
| TERMINATED | 3 | desc | 1 |
| LOCK2 | 0 | &chip->ops_sem | |
| LOCK2 | 0 | &chip->tpm_mutex | |
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
security/keys/trusted-keys/trusted_tpm2.c tpm2_seal_trusted() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->auth | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->auth->aes_key.k->rndkeys | 0-255 |
| PARAM_VALUE | 0 | chip->auth->aes_key.nrounds | 10,12,14 |
| PARAM_VALUE | 0 | chip->auth->attrs | 1,33,65-66 |
| PARAM_VALUE | 0 | chip->auth->handle | 0-255 |
| PARAM_VALUE | 0 | chip->auth->ordinal | 0-4294967295 |
| PARAM_VALUE | 0 | chip->auth->passphrase_len | s32min-s32max |
| PARAM_VALUE | 0 | chip->auth->session | 1-s32max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count | 0-4294967295 |
| 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.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->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->nr_commands | 1-u32max |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->go_idle | 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 | 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->tpm_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->tpm_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->tpm_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->tpm_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | *chip->auth->name_h | 0-4294967295 |
| PARAM_VALUE | 0 | *chip->auth->passphrase | 0-255 |
| PARAM_VALUE | 0 | *chip->auth->scratch | 0-255 |
| PARAM_VALUE | 1 | buf | 2500137228463173632 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 4 |
| PARAM_VALUE | 3 | desc | 1781015371339669504 |
| BUF_SIZE | 3 | desc | 13 |
| CAPPED_DATA | 0 | chip->auth->attrs | 1 |
| CAPPED_DATA | 0 | chip->auth->handle | 1 |
| CAPPED_DATA | 0 | chip->nr_commands | 1 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 12 |
| TERMINATED | 3 | desc | 1 |
| LOCK2 | 0 | &chip->ops_sem | |
| LOCK2 | 0 | &chip->tpm_mutex | |
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
security/keys/trusted-keys/trusted_tpm2.c tpm2_unseal_cmd() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->auth | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->auth->aes_key.k->rndkeys | 0-255 |
| PARAM_VALUE | 0 | chip->auth->aes_key.nrounds | 10,12,14 |
| PARAM_VALUE | 0 | chip->auth->attrs | 1,33,65-66 |
| PARAM_VALUE | 0 | chip->auth->handle | 0-255 |
| PARAM_VALUE | 0 | chip->auth->ordinal | 0-4294967295 |
| PARAM_VALUE | 0 | chip->auth->passphrase_len | s32min-s32max |
| PARAM_VALUE | 0 | chip->auth->session | 1-s32max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.osq.tail.counter | 0-s32max |
| 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->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| 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 | 1 |
| PARAM_VALUE | 0 | chip->ops_sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | chip->ops_sem.first_waiter->list.prev | 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->tpm_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chip->tpm_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->tpm_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chip->tpm_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->tpm_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | *chip->auth->name_h | 0-4294967295 |
| PARAM_VALUE | 0 | *chip->auth->our_nonce | 0-255 |
| PARAM_VALUE | 0 | *chip->auth->passphrase | 0-255 |
| PARAM_VALUE | 0 | *chip->auth->scratch | 0-255 |
| PARAM_VALUE | 0 | *chip->auth->tpm_nonce | 0-255 |
| PARAM_VALUE | 1 | buf | 4765448974262747136 |
| PARAM_VALUE | 1 | buf->data | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 6 |
| PARAM_VALUE | 3 | desc | 2317581931961794560 |
| BUF_SIZE | 3 | desc | 10 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 9 |
| TERMINATED | 3 | desc | 1 |
| 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/tpm-sysfs.c pubek_show() -> tpm_transmit_cmd()
| 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 | 1 | buf | 1148426160039636992 |
| PARAM_VALUE | 1 | buf->data | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | buf->handles | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 284 |
| PARAM_VALUE | 3 | desc | 3635373628500410368 |
| BUF_SIZE | 3 | desc | 29 |
| STR_LEN | 0 | chip | 28 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &chip->ops_sem | |
| LOCK2 | 0 | &chip->tpm_mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm2-space.c tpm2_load_context() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count | 0-4294967295 |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.osq.tail.counter | 0-s32max |
| 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->list.prev | 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 | 1 | buf | 5379678439361470464 |
| PARAM_VALUE | 1 | buf->data | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 4 |
| PARAM_VALUE | 3 | desc | 0 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &chip->ops_sem | |
| LOCK2 | 0 | &chip->tpm_mutex | |
| HALF_LOCKED2 | &priv->buffer_mutex | ||
| TYPE_LOCK | (struct tpm_chip)->ops_sem | ||
| TYPE_LOCK | (struct tpm_chip)->tpm_mutex |
drivers/char/tpm/tpm2-space.c tpm2_save_context() -> tpm_transmit_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count | 0-4294967295 |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 0,8238000303417774080 |
| PARAM_VALUE | 0 | chip->ops->cmd_ready | 0,2020414352265490432 |
| PARAM_VALUE | 0 | chip->ops->flags | 0-1 |
| 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 | 1 | buf | 2830270277408600064 |
| PARAM_VALUE | 1 | buf->data | 0 |
| PARAM_VALUE | 2 | min_rsp_body_length | 0 |
| PARAM_VALUE | 3 | desc | 0 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands | |
| HALF_LOCKED2 | &priv->buffer_mutex | ||
| HALF_LOCKED2 | 0 | &chip->ops_sem | |
| HALF_LOCKED2 | 0 | &chip->tpm_mutex |