Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/tb.c tb_scan_port() -> tb_add_dp_resources()
| 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.parent->type | 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->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->lock.rlock.dep_map->name | 0-255 |
| 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->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| 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 | 0 | sw->tb->ctl->request_queue_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sw->tb->ctl->tx->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sw->tb->root_switch | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sw->tmu.mode_request | 0-4 |
| BUF_SIZE | 0 | sw | 1968 |
| CAPPED_DATA | 0 | sw->tb->root_switch | 1 |
| DATA_SOURCE | 0 | sw | r tb_switch_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/tb.c tb_start() -> tb_add_dp_resources()
| 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->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->lock.rlock.dep_map->name | 0-255 |
| 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->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| 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 | 0 | sw->tb->ctl->request_queue_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sw->tb->ctl->tx->lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | sw | 1968 |
| CAPPED_DATA | 0 | sw->tb->root_switch | 1 |
| DATA_SOURCE | 0 | sw | r tb_switch_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |