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/tb.c tb_add_dp_resources() -> tb_switch_query_dp_resource()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 sw->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 sw->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 sw->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 sw->dev.flags 4096-ptr_max
PARAM_VALUE 0 sw->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 sw->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 sw->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 sw->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 sw->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sw->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sw->ports 4096-ptr_max
PARAM_VALUE 0 sw->tb->ctl 4096-ptr_max
PARAM_VALUE 0 sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 sw->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 sw->tb->ctl->frame_pool->next_block->next_block 0
PARAM_VALUE 0 sw->tb->ctl->request_queue_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 sw->tb->ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 0 sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 in 4096-ptr_max
PARAM_VALUE 1 in->config.type 917761
BUF_SIZE 0 sw 1968
CAPPED_DATA 0 sw->tb->root_switch 1
CAPPED_DATA 1 in 1
DATA_SOURCE 0 sw $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tb.c tb_enter_redrive() -> tb_switch_query_dp_resource()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 1 in 4096-ptr_max
PARAM_VALUE 1 in->config.type 917761
PARAM_VALUE 1 in->sw 4096-ptr_max
PARAM_VALUE 1 in->sw->dev.power.wakeirq->status 0-4294967295
CAPPED_DATA 1 in 1
DATA_SOURCE 1 in $0
BIT_INFO 0 sw->quirks 0x4,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tb->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/tb.c tb_exit_redrive() -> tb_switch_query_dp_resource()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 1 in 4096-ptr_max
PARAM_VALUE 1 in->config.type 917761
PARAM_VALUE 1 in->list.next 4096-ptr_max
PARAM_VALUE 1 in->redrive 1
PARAM_VALUE 1 in->remote 0
PARAM_VALUE 1 in->sw 4096-ptr_max
PARAM_VALUE 1 in->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 1 in->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 1 in->sw->tb->ctl->request_queue_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 in->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
CAPPED_DATA 1 in 1
DATA_SOURCE 1 in $0
BIT_INFO 0 sw->quirks 0x4,0xffffffffffffffff
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock