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_tunnel_usb3() -> tb_tunnel_alloc_usb3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | up | 4096-ptr_max |
| PARAM_VALUE | 1 | up->config.type | 2097410 |
| PARAM_VALUE | 2 | down | 4096-ptr_max |
| PARAM_VALUE | 2 | down->config.type | 2097409 |
| PARAM_VALUE | 2 | down->sw | 4096-ptr_max |
| PARAM_VALUE | 2 | down->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 2 | down->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->frame_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->request_queue_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 2 | down->sw->tb->ctl->tx->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | max_up | 0-120000 |
| PARAM_VALUE | 4 | max_down | 0-120000 |
| CAPPED_DATA | 1 | up | 1 |
| CAPPED_DATA | 2 | down | 1 |
| DATA_SOURCE | 0 | tb | $0 |
| DATA_SOURCE | 1 | up | r tb_switch_find_port |
| DATA_SOURCE | 2 | down | r tb_find_usb3_down |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/test.c TB_TEST_USB3_TUNNEL() -> tb_tunnel_alloc_usb3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 0 |
| PARAM_VALUE | 1 | up | 4096-ptr_max |
| PARAM_VALUE | 2 | down | 4096-ptr_max |
| PARAM_VALUE | 3 | max_up | 0 |
| PARAM_VALUE | 4 | max_down | 0 |
drivers/thunderbolt/test.c tb_test_credit_alloc_usb3() -> tb_tunnel_alloc_usb3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 0 |
| PARAM_VALUE | 1 | up | 4096-ptr_max |
| PARAM_VALUE | 2 | down | 4096-ptr_max |
| PARAM_VALUE | 3 | max_up | 0 |
| PARAM_VALUE | 4 | max_down | 0 |
drivers/thunderbolt/test.c tb_test_tunnel_usb3() -> tb_tunnel_alloc_usb3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 0 |
| PARAM_VALUE | 1 | up | 4096-ptr_max |
| PARAM_VALUE | 2 | down | 4096-ptr_max |
| PARAM_VALUE | 3 | max_up | 0 |
| PARAM_VALUE | 4 | max_down | 0 |
drivers/thunderbolt/test.c tb_test_tunnel_usb3() -> tb_tunnel_alloc_usb3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 0 |
| PARAM_VALUE | 1 | up | 4096-ptr_max |
| PARAM_VALUE | 1 | up->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 1 | up->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 1 | up->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | up->sw->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | up->sw->tb->ctl->request_queue_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | up->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | up->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | up->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | up->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | up->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | up->sw->tb->ctl->request_queue_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | down | 4096-ptr_max |
| PARAM_VALUE | 2 | down->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 2 | down->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->request_queue_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 2 | down->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 2 | down->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 2 | down->sw->tb->ctl->request_queue_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | max_up | 0 |
| PARAM_VALUE | 4 | max_down | 0 |