Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/tunnel.c tb_tunnel_alloc_bandwidth() -> tb_tunnel_changed()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->alloc_bandwidth 1-u64max
PARAM_VALUE 0 tunnel->allocated_bandwidth 1-u64max
PARAM_VALUE 0 tunnel->bw_mode 1
PARAM_VALUE 0 tunnel->dst_port 4096-ptr_max
PARAM_VALUE 0 tunnel->dst_port->sw 4096-ptr_max
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->src_port->sw->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 tunnel->src_port->sw->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 tunnel->src_port->sw->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 tunnel->src_port->sw->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 0 tunnel->src_port->sw->tb->ctl->frame_pool->dev->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 tunnel->src_port->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 tunnel->src_port->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 tunnel->src_port->sw->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 tunnel->src_port->sw->tb->ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 0 tunnel->src_port->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tunnel->src_port->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 tunnel->src_port->sw->tb->ctl->request_queue_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tunnel->state 2
PARAM_VALUE 0 tunnel->type 1
CAPPED_DATA 0 tunnel->dst_port->sw->config.depth 1
DATA_SOURCE 0 tunnel $0
NOCHECK_CALL
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock