Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/tb.c tb_available_bandwidth() -> tb_consumed_dp_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 tb 4096-ptr_max
PARAM_VALUE 0 tb->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 tb->root_switch 4096-ptr_max
PARAM_VALUE 1 src_port 4096-ptr_max
PARAM_VALUE 1 src_port->group->index 1-7
PARAM_VALUE 1 src_port->sw 4096-ptr_max
PARAM_VALUE 1 src_port->sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 2 dst_port 4096-ptr_max
PARAM_VALUE 2 dst_port->sw 4096-ptr_max
PARAM_VALUE 2 dst_port->sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 3 port 4096-ptr_max
PARAM_VALUE 3 port->cap_phy s32min-(-1),1-s32max
PARAM_VALUE 3 port->config.type 1
PARAM_VALUE 3 port->port 1-255
PARAM_VALUE 3 port->sw->is_unplugged 0
PARAM_VALUE 3 port->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 3 port->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 3 port->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 3 port->sw->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 3 port->sw->tb->ctl->request_queue_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 3 port->sw->tb->ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 3 port->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 3 port->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 3 port->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 3 port->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 3 port->sw->tb->ctl->request_queue_lock.osq.tail.counter 0-s32max
PARAM_VALUE 4 consumed_up 7567191184604233728
PARAM_VALUE 5 consumed_down 6480068415182520320
CAPPED_DATA 0 tb->root_switch 1
CAPPED_DATA 2 dst_port->sw->config.depth 1
CAPPED_DATA 3 port 1
DATA_SOURCE 0 tb $0
DATA_SOURCE 1 src_port $1
DATA_SOURCE 2 dst_port $2
STR_LEN 0 tb (-1),14,23
STR_LEN 0 tb (-1),14,23
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock
HALF_LOCKED2 0 &tb->lock

drivers/thunderbolt/tb.c tb_configure_asym() -> tb_consumed_dp_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 tb 4096-ptr_max
PARAM_VALUE 0 tb->root_switch 4096-ptr_max
PARAM_VALUE 1 src_port 4096-ptr_max
PARAM_VALUE 1 src_port->sw 4096-ptr_max
PARAM_VALUE 2 dst_port 4096-ptr_max
PARAM_VALUE 2 dst_port->sw 4096-ptr_max
PARAM_VALUE 3 port 4096-ptr_max
PARAM_VALUE 3 port->config.type 1
PARAM_VALUE 3 port->port 1-255
PARAM_VALUE 3 port->sw 4096-ptr_max
PARAM_VALUE 4 consumed_up 7213028449931776000
PARAM_VALUE 5 consumed_down 3335190657888747520
CAPPED_DATA 0 tb->root_switch 1
CAPPED_DATA 1 src_port 1
CAPPED_DATA 2 dst_port 1
CAPPED_DATA 2 dst_port->sw 1
CAPPED_DATA 2 dst_port->sw->config.depth 1
CAPPED_DATA 3 port 1
DATA_SOURCE 0 tb $0
DATA_SOURCE 1 src_port $1
DATA_SOURCE 2 dst_port $2
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tb->lock
HALF_LOCKED2 0 &tb->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/tb.c tb_configure_sym() -> tb_consumed_dp_bandwidth()

Type Parameter Key Value
PARAM_VALUE 1 src_port 4096-ptr_max
PARAM_VALUE 1 src_port->sw 4096-ptr_max
PARAM_VALUE 2 dst_port 4096-ptr_max
PARAM_VALUE 2 dst_port->sw 4096-ptr_max
PARAM_VALUE 3 port 4096-ptr_max
PARAM_VALUE 3 port->config.type 1
PARAM_VALUE 3 port->port 1-255
PARAM_VALUE 3 port->sw 4096-ptr_max
PARAM_VALUE 3 port->sw->is_unplugged 0
PARAM_VALUE 3 port->sw->link_width 3-u32max
PARAM_VALUE 4 consumed_up 3908885280102174720
PARAM_VALUE 5 consumed_down 1983506390957539328
CAPPED_DATA 1 src_port 1
CAPPED_DATA 2 dst_port->sw->config.depth 1
CAPPED_DATA 3 port 1
DATA_SOURCE 0 tb $0
DATA_SOURCE 1 src_port $1
DATA_SOURCE 2 dst_port $2
FUZZY_MAX 3 port->sw->link_width 3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock