Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/thunderbolt/tb.c tb_deactivate_and_free_tunnel() -> tb_tunnel_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->dst_port->sw->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tunnel->src_port->sw->dev.power.wakeirq->status | 0-4294967295 |
| DATA_SOURCE | 0 | tunnel | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_disconnect_pci() -> tb_tunnel_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->dst_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->type | 0 |
| CAPPED_DATA | 0 | tunnel->dst_port | 1 |
| DATA_SOURCE | 0 | tunnel | r tb_find_tunnel |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sw->tb->lock |
drivers/thunderbolt/tb.c tb_resume_noirq() -> tb_tunnel_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tb->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_stop() -> tb_tunnel_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->type | 2 |
| CAPPED_DATA | 0 | &tunnel->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tunnel.c tb_tunnel_activate() -> tb_tunnel_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->dst_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->dst_port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->npaths | 0-s32max |
| PARAM_VALUE | 0 | tunnel->src_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->src_port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->state | 1 |
| PARAM_VALUE | 0 | tunnel->tb | 4096-ptr_max |
| BUF_SIZE | 0 | tunnel | (-1),384-392,400 |
| BUF_SIZE | 0 | tunnel | (-1),384-392,400 |
| CAPPED_DATA | 0 | tunnel->npaths | 1 |
| DATA_SOURCE | 0 | tunnel | $0 |
| STR_LEN | 0 | tunnel->tb | (-1),14,23 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sw->tb->lock | ||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_tunnel_discover_dp() -> tb_tunnel_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->activate | 1783186417120833536 |
| PARAM_VALUE | 0 | tunnel->alloc_bandwidth | 3069542716035928064 |
| PARAM_VALUE | 0 | tunnel->allocated_bandwidth | 4501942224939700224 |
| PARAM_VALUE | 0 | tunnel->consumed_bandwidth | 1489552455831150592 |
| PARAM_VALUE | 0 | tunnel->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | tunnel->maximum_bandwidth | 8870249297734377472 |
| PARAM_VALUE | 0 | tunnel->npaths | 3 |
| PARAM_VALUE | 0 | tunnel->paths | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->post_deactivate | 8113205047477678080 |
| PARAM_VALUE | 0 | tunnel->pre_activate | 5875688945063530496 |
| PARAM_VALUE | 0 | tunnel->src_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->src_port->config.type | 917761 |
| PARAM_VALUE | 0 | tunnel->src_port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->type | 1 |
| BUF_SIZE | 0 | tunnel | 400 |
| BUF_SIZE | 0 | tunnel | 400 |
| DATA_SOURCE | 0 | tunnel | r tb_tunnel_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_tunnel_discover_pci() -> tb_tunnel_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->activate | 2518106222114308096 |
| PARAM_VALUE | 0 | tunnel->dst_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->dst_port->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | tunnel->dst_port->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | tunnel->dst_port->sw->tb->ctl->request_queue_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tunnel->dst_port->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tunnel->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | tunnel->npaths | 2 |
| PARAM_VALUE | 0 | tunnel->paths | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->src_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->src_port->config.type | 1048833 |
| PARAM_VALUE | 0 | tunnel->src_port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->type | 0 |
| BUF_SIZE | 0 | tunnel | 392 |
| BUF_SIZE | 0 | tunnel | 392 |
| CAPPED_DATA | 0 | tunnel->src_port | 1 |
| DATA_SOURCE | 0 | tunnel | r tb_tunnel_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tunnel.c tb_tunnel_discover_usb3() -> tb_tunnel_deactivate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->activate | 83301611071414272 |
| PARAM_VALUE | 0 | tunnel->dst_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->dst_port->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | tunnel->dst_port->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | tunnel->dst_port->sw->tb->ctl->request_queue_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tunnel->dst_port->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tunnel->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | tunnel->npaths | 2 |
| PARAM_VALUE | 0 | tunnel->paths | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->src_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->src_port->config.type | 2097409 |
| PARAM_VALUE | 0 | tunnel->src_port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->type | 3 |
| BUF_SIZE | 0 | tunnel | 392 |
| BUF_SIZE | 0 | tunnel | 392 |
| CAPPED_DATA | 0 | tunnel->src_port | 1 |
| DATA_SOURCE | 0 | tunnel | r tb_tunnel_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tb->lock |