Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/tunnel.c tb_tunnel_alloc_bandwidth() -> (struct tb_tunnel)->alloc_bandwidth()

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->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->sw 4096-ptr_max
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->next_block->next_block 0
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 0,5159360019465732096
PARAM_VALUE 0 tunnel->src_port->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on (-1)-0
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
PARAM_VALUE 1 alloc_up 472188284087349248,1933867827922309120
PARAM_VALUE 2 alloc_down 1303461466129002496,1725883138976419840
CAPPED_DATA 0 tunnel->dst_port->sw->config.depth 1
DATA_SOURCE 0 tunnel $0
DATA_SOURCE 1 alloc_up $1
DATA_SOURCE 2 alloc_down $2
CONTAINER 0 -88+0 $(-1)
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock