Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/char/tpm/tpm_tis_core.c probe_itpm() -> tpm_tis_send_data()
| 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.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality | 0 |
| 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->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.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.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->flags | 0,2-u32max |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| 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 | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 10 |
| BUF_SIZE | 0 | chip | 9120 |
| BUF_SIZE | 1 | buf | 10 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
drivers/char/tpm/tpm_tis_core.c probe_itpm() -> tpm_tis_send_data()
| 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.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | chip->dev.driver_data->locality | 0 |
| 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->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->phy_ops | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | chip->dev.driver_data->phy_ops->write_bytes | 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->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->flags | 0,2-u32max |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| 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 | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 10 |
| BUF_SIZE | 0 | chip | 9120 |
| BUF_SIZE | 1 | buf | 10 |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
drivers/char/tpm/tpm_tis_core.c tpm_tis_send_main() -> tpm_tis_send_data()
| 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.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | chip->dev.kobj.parent->release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.kobj.parent->release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | chip->dev.kobj.parent->release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | chip->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| 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.parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | chip->dev.parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | chip->dev.parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | chip->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | chip->devs.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | chip->devs.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | chip->devs.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | chip->devs.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | chip->devs.kobj.release.wq->saved_min_active | s32min-s32max |
| 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.p->deferred_probe_reason | 0-s64max |
| PARAM_VALUE | 0 | chip->devs.parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | chip->devs.parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | chip->devs.parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | chip->devs.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | chip->ops | 4096-ptr_max |
| 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 | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 1-4096 |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | chip->cc_attrs_tbl | (-1)-4194300 |
| BUF_SIZE | 0 | chip->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | chip->ops | (-1),104 |
| BUF_SIZE | 1 | buf | (-1),4096 |
| BUF_SIZE | 1 | buf | (-1),4096 |
| DATA_SOURCE | 0 | chip | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | len | $2 |
| STR_LEN | 0 | chip | (-1),9,12,15-17,21-22,24,26-30,33-37,39-40,42-43,50-51 |
| STR_LEN | 0 | chip | (-1),9,12,15-17,21-22,24,26-30,33-37,39-40,42-43,50-51 |
| 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->log->bios_event_log | 0-255 |
| USER_DATA | 0 | chip->last_cc | 1-536936447[c] |
| USER_DATA | 1 | *buf | 0-255 |
| USER_DATA | 2 | len | 1-4096[u] |
| 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->cdevs.count | |
| NO_OVERFLOW_SIMPLE | 0 | chip->nr_commands | |
| USER_PTR | 1 | buf | |
| HALF_LOCKED2 | &priv->buffer_mutex | ||
| HALF_LOCKED2 | 0 | &chip->ops_sem | |
| HALF_LOCKED2 | 0 | &chip->tpm_mutex |