Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/char/tpm/tpm_tis_core.c tpm_tis_gen_interrupt() -> tpm1_getcap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->cdev.kobj.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->cdev.kobj.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->cdev.kobj.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->cdev.kobj.ktype->child_ns_type | 0,2344685749105987584,4089303432171261952,6274457576243130368,8186263191508828160 |
| PARAM_VALUE | 0 | chip->cdev.kobj.ktype->get_ownership | 0,754295003445952512,1770093955000758272,2031763320308453376,9073032014207823872,9089295143347961856 |
| PARAM_VALUE | 0 | chip->cdev.kobj.ktype->namespace | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->cdev.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->cdev.list.next->prev | 0 |
| 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->can_grow | 0-1 |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->debugfs | 0 |
| 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->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.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.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count | 0-4294967295 |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality_count_mutex.dep_map->name | 0-255 |
| 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->list.prev->prev | 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->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.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.kobj->name | 0-255 |
| PARAM_VALUE | 0 | chip->dev.kobj.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.kobj.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.kobj.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.kobj.ktype->child_ns_type | 0,2344685749105987584,4089303432171261952,6274457576243130368,8186263191508828160 |
| PARAM_VALUE | 0 | chip->dev.kobj.ktype->get_ownership | 0,754295003445952512,1770093955000758272,2031763320308453376,9073032014207823872,9089295143347961856 |
| PARAM_VALUE | 0 | chip->dev.kobj.ktype->namespace | 0,4096-ptr_max |
| 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.parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.parent->devres_head.prev->next->next | 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->flags | 0,4-u32max |
| PARAM_VALUE | 0 | chip->ops->clk_enable | 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 | 0 | *chip->dev.parent->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | subcap_id | 277 |
| PARAM_VALUE | 2 | cap | 8546519491425021952 |
| PARAM_VALUE | 3 | desc | 768399317711392768 |
| PARAM_VALUE | 4 | min_cap_length | 0 |
| BUF_SIZE | 0 | chip | (-1),9120 |
| BUF_SIZE | 0 | chip | (-1),9120 |
| BUF_SIZE | 3 | desc | 36 |
| BUF_SIZE | 3 | desc | 36 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 35 |
| STR_LEN | 3 | desc | 35 |
| BIT_INFO | 0 | chip->flags | 0x4,0xfffffffd |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands |
drivers/char/tpm/tpm_tis_core.c tpm_tis_update_durations() -> tpm1_getcap()
| 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->duration | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->duration_adjusted | 0 |
| 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->flags | 0-1 |
| PARAM_VALUE | 0 | chip->ops->go_idle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->update_durations | 2769123810796912640 |
| PARAM_VALUE | 0 | chip->ops->update_timeouts | 0,3872956085286137856 |
| PARAM_VALUE | 1 | subcap_id | 26 |
| PARAM_VALUE | 2 | cap | 8587583365034377216 |
| PARAM_VALUE | 3 | desc | 8255825293021298688 |
| PARAM_VALUE | 4 | min_cap_length | 6 |
| BUF_SIZE | 3 | desc | 40 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 39 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands | |
| UNITS | 4 | min_cap_length | unit_byte |
drivers/char/tpm/tpm_tis_core.c tpm_tis_update_durations() -> tpm1_getcap()
| 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->duration | 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 | 0 | chip->ops->update_durations | 2769123810796912640 |
| PARAM_VALUE | 0 | chip->ops->update_timeouts | 0,3872956085286137856 |
| PARAM_VALUE | 1 | subcap_id | 6 |
| PARAM_VALUE | 2 | cap | 8587583365034377216 |
| PARAM_VALUE | 3 | desc | 8081871618802073600 |
| PARAM_VALUE | 4 | min_cap_length | 4 |
| BUF_SIZE | 3 | desc | 40 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 39 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands | |
| UNITS | 4 | min_cap_length | unit_byte |
drivers/char/tpm/tpm1-cmd.c tpm1_get_timeouts() -> tpm1_getcap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->debugfs | 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 | 1 | subcap_id | 277 |
| PARAM_VALUE | 2 | cap | 5146784047841382400 |
| PARAM_VALUE | 3 | desc | 0 |
| PARAM_VALUE | 4 | min_cap_length | 16 |
| BUF_SIZE | 0 | chip | (-1),9120 |
| BUF_SIZE | 0 | chip | (-1),9120 |
| DATA_SOURCE | 0 | chip | $0 |
| BIT_INFO | 0 | chip->flags | 0x0,0xfffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands | |
| UNITS | 4 | min_cap_length | unit_byte |
drivers/char/tpm/tpm1-cmd.c tpm1_get_timeouts() -> tpm1_getcap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->debugfs | 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 | 1 | subcap_id | 277 |
| PARAM_VALUE | 2 | cap | 5146784047841382400 |
| PARAM_VALUE | 3 | desc | 6714888269840658432 |
| PARAM_VALUE | 4 | min_cap_length | 16 |
| BUF_SIZE | 0 | chip | (-1),9120 |
| BUF_SIZE | 0 | chip | (-1),9120 |
| BUF_SIZE | 3 | desc | 37 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 36 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands | |
| UNITS | 4 | min_cap_length | unit_byte |
drivers/char/tpm/tpm1-cmd.c tpm1_get_timeouts() -> tpm1_getcap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| 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->flags | 0-1 |
| PARAM_VALUE | 0 | chip->ops->go_idle | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chip->ops->update_timeouts | 0,3872956085286137856 |
| PARAM_VALUE | 0 | chip->timeout_a | 0-1073740,4611686018427387902 |
| PARAM_VALUE | 0 | chip->timeout_b | 0-1073740,4611686018427387902 |
| PARAM_VALUE | 0 | chip->timeout_c | 0-1073740,4611686018427387902 |
| PARAM_VALUE | 0 | chip->timeout_d | 0-1073740,4611686018427387902 |
| PARAM_VALUE | 1 | subcap_id | 288 |
| PARAM_VALUE | 2 | cap | 5146784047841382400 |
| PARAM_VALUE | 3 | desc | 6208826151271641088 |
| PARAM_VALUE | 4 | min_cap_length | 12 |
| BUF_SIZE | 0 | chip | (-1),9120 |
| BUF_SIZE | 0 | chip | (-1),9120 |
| BUF_SIZE | 3 | desc | 38 |
| DATA_SOURCE | 0 | chip | $0 |
| STR_LEN | 0 | chip | 37 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands | |
| UNITS | 4 | min_cap_length | unit_byte |
drivers/char/tpm/tpm-sysfs.c active_show() -> tpm1_getcap()
| 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 | subcap_id | 264 |
| PARAM_VALUE | 2 | cap | 8886322674904526848 |
| PARAM_VALUE | 3 | desc | 4518956648415404032 |
| PARAM_VALUE | 4 | min_cap_length | 22 |
| BUF_SIZE | 3 | desc | 51 |
| STR_LEN | 0 | chip | 50 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | min_cap_length | unit_byte |
| 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/tpm-sysfs.c caps_show() -> tpm1_getcap()
| 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 | subcap_id | 259 |
| PARAM_VALUE | 2 | cap | 5054968860679761920 |
| PARAM_VALUE | 3 | desc | 6390617535091589120 |
| PARAM_VALUE | 4 | min_cap_length | 4 |
| BUF_SIZE | 3 | desc | 41 |
| STR_LEN | 0 | chip | 40 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | min_cap_length | unit_byte |
| 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/tpm-sysfs.c caps_show() -> tpm1_getcap()
| 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 | subcap_id | 26 |
| PARAM_VALUE | 2 | cap | 5054968860679761920 |
| PARAM_VALUE | 3 | desc | 8255825293021298688 |
| PARAM_VALUE | 4 | min_cap_length | 6 |
| BUF_SIZE | 3 | desc | 40 |
| STR_LEN | 0 | chip | 39 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | min_cap_length | unit_byte |
| 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/tpm-sysfs.c caps_show() -> tpm1_getcap()
| 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 | subcap_id | 6 |
| PARAM_VALUE | 2 | cap | 5054968860679761920 |
| PARAM_VALUE | 3 | desc | 8081871618802073600 |
| PARAM_VALUE | 4 | min_cap_length | 4 |
| BUF_SIZE | 3 | desc | 40 |
| STR_LEN | 0 | chip | 39 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | min_cap_length | unit_byte |
| 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/tpm-sysfs.c enabled_show() -> tpm1_getcap()
| 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 | subcap_id | 264 |
| PARAM_VALUE | 2 | cap | 797911344173162496 |
| PARAM_VALUE | 3 | desc | 4811913849168678912 |
| PARAM_VALUE | 4 | min_cap_length | 22 |
| BUF_SIZE | 3 | desc | 52 |
| STR_LEN | 0 | chip | 51 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | min_cap_length | unit_byte |
| 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/tpm-sysfs.c owned_show() -> tpm1_getcap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | subcap_id | 273 |
| PARAM_VALUE | 2 | cap | 5591775936207769600 |
| PARAM_VALUE | 3 | desc | 7064200091803414528 |
| PARAM_VALUE | 4 | min_cap_length | 1 |
| BUF_SIZE | 3 | desc | 40 |
| STR_LEN | 0 | chip | 39 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | min_cap_length | unit_byte |
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| LOCK2 | &of->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/tpm-sysfs.c pcrs_show() -> tpm1_getcap()
| 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 | subcap_id | 257 |
| PARAM_VALUE | 2 | cap | 892546006841344000 |
| PARAM_VALUE | 3 | desc | 4453493363019390976 |
| PARAM_VALUE | 4 | min_cap_length | 4 |
| BUF_SIZE | 3 | desc | 43 |
| STR_LEN | 0 | chip | 42 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | min_cap_length | unit_byte |
| 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/tpm-sysfs.c temp_deactivated_show() -> tpm1_getcap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | subcap_id | 265 |
| PARAM_VALUE | 2 | cap | 1181389423682457600 |
| PARAM_VALUE | 3 | desc | 5584933956016226304 |
| PARAM_VALUE | 4 | min_cap_length | 7 |
| BUF_SIZE | 3 | desc | 44 |
| STR_LEN | 0 | chip | 43 |
| TERMINATED | 3 | desc | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | min_cap_length | unit_byte |
| LOCK2 | &chip->ops_sem | ||
| LOCK2 | &chip->tpm_mutex | ||
| LOCK2 | &of->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 |