Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/tunnel.c tb_tunnel_discover_dp() -> tb_path_discover()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 0 src->config.type 917761
PARAM_VALUE 0 src->sw 4096-ptr_max
PARAM_VALUE 0 src->sw->is_unplugged 0
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 src->sw->tb->ctl->tx->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 src_hopid 9
PARAM_VALUE 2 dst 0
PARAM_VALUE 3 dst_hopid (-1)
PARAM_VALUE 4 last 4096-ptr_max
PARAM_VALUE 5 name 4405314753250148352
BUF_SIZE 5 name 6
CAPPED_DATA 0 src 1
DATA_SOURCE 0 src $1
DATA_SOURCE 6 alloc_hopid $2
STR_LEN 0 src 5
TERMINATED 5 name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_discover_dp() -> tb_path_discover()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 0 src->sw 4096-ptr_max
PARAM_VALUE 0 src->sw->is_unplugged 0
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 src->sw->tb->ctl->tx->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 src_hopid 8
PARAM_VALUE 2 dst 0
PARAM_VALUE 3 dst_hopid (-1)
PARAM_VALUE 4 last 0
PARAM_VALUE 5 name 7907967756726915072
BUF_SIZE 5 name 7
CAPPED_DATA 0 src 1
DATA_SOURCE 0 src $1
DATA_SOURCE 6 alloc_hopid $2
STR_LEN 0 src 6
TERMINATED 5 name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_discover_dp() -> tb_path_discover()

Type Parameter Key Value
PARAM_VALUE 1 src_hopid (-1)
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 2 dst->sw 4096-ptr_max
PARAM_VALUE 2 dst->sw->is_unplugged 0
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.osq.tail.counter 0-s32max
PARAM_VALUE 2 dst->sw->tb->ctl->tx->lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 dst_hopid 8
PARAM_VALUE 4 last 733962695297605632
PARAM_VALUE 5 name 528298769611386880
BUF_SIZE 5 name 7
CAPPED_DATA 2 dst 1
DATA_SOURCE 2 dst $1
DATA_SOURCE 6 alloc_hopid $2
STR_LEN 0 src 6
TERMINATED 5 name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_discover_pci() -> tb_path_discover()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 0 src->config.type 1048833
PARAM_VALUE 0 src->sw 4096-ptr_max
PARAM_VALUE 0 src->sw->is_unplugged 0
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 src->sw->tb->ctl->tx->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 src_hopid 8
PARAM_VALUE 2 dst 0
PARAM_VALUE 3 dst_hopid (-1)
PARAM_VALUE 4 last 4096-ptr_max
PARAM_VALUE 5 name 5039675290851368960
BUF_SIZE 5 name 8
CAPPED_DATA 0 src 1
DATA_SOURCE 0 src $1
DATA_SOURCE 6 alloc_hopid $2
STR_LEN 0 src 7
TERMINATED 5 name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_discover_pci() -> tb_path_discover()

Type Parameter Key Value
PARAM_VALUE 1 src_hopid (-1)
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 2 dst->sw 4096-ptr_max
PARAM_VALUE 2 dst->sw->is_unplugged 0
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.osq.tail.counter 0-s32max
PARAM_VALUE 2 dst->sw->tb->ctl->tx->lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 dst_hopid 8
PARAM_VALUE 4 last 0
PARAM_VALUE 5 name 6261021649134755840
BUF_SIZE 5 name 10
CAPPED_DATA 2 dst 1
DATA_SOURCE 2 dst $1
DATA_SOURCE 6 alloc_hopid $2
STR_LEN 0 src 9
TERMINATED 5 name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_discover_usb3() -> tb_path_discover()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 0 src->config.type 2097409
PARAM_VALUE 0 src->sw 4096-ptr_max
PARAM_VALUE 0 src->sw->is_unplugged 0
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 src->sw->tb->ctl->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 src->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 src->sw->tb->ctl->tx->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 src_hopid 8
PARAM_VALUE 2 dst 0
PARAM_VALUE 3 dst_hopid (-1)
PARAM_VALUE 4 last 4096-ptr_max
PARAM_VALUE 5 name 3063415040341495808
BUF_SIZE 5 name 10
CAPPED_DATA 0 src 1
DATA_SOURCE 0 src $1
DATA_SOURCE 6 alloc_hopid $2
STR_LEN 0 src 9
TERMINATED 5 name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_discover_usb3() -> tb_path_discover()

Type Parameter Key Value
PARAM_VALUE 1 src_hopid (-1)
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 2 dst->sw 4096-ptr_max
PARAM_VALUE 2 dst->sw->is_unplugged 0
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 2 dst->sw->tb->ctl->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 2 dst->sw->tb->ctl->request_queue_lock.osq.tail.counter 0-s32max
PARAM_VALUE 2 dst->sw->tb->ctl->tx->lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 dst_hopid 8
PARAM_VALUE 4 last 0
PARAM_VALUE 5 name 8297347012087414784
BUF_SIZE 5 name 8
CAPPED_DATA 2 dst 1
DATA_SOURCE 2 dst $1
DATA_SOURCE 6 alloc_hopid $2
STR_LEN 0 src 7
TERMINATED 5 name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock