Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/thunderbolt/usb4_port.c rescan_store() -> tb_retimer_scan()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->sw 4096-ptr_max
PARAM_VALUE 0 port->sw->tb->lock.dep_map->name 0-255
PARAM_VALUE 0 port->sw->tb->lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 port->sw->tb->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->sw->tb->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->sw->tb->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 port->sw->tb->lock.wait_lock.owner (-1)
PARAM_VALUE 0 port->sw->tb->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 add 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &tb->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/usb4_port.c usb4_port_offline() -> tb_retimer_scan()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->cap_usb4 s32min-(-1),1-s32max
PARAM_VALUE 0 port->sw->is_unplugged 0
PARAM_VALUE 0 port->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 port->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 port->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 port->sw->tb->ctl->frame_pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 port->sw->tb->ctl->frame_pool->next_block->next_block 0
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->usb4 4096-ptr_max
PARAM_VALUE 1 add 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tb.c tb_scan_port() -> tb_retimer_scan()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->cap_phy 1-s32max
PARAM_VALUE 0 port->config.type 1
PARAM_VALUE 0 port->remote 0
PARAM_VALUE 0 port->sw 4096-ptr_max
PARAM_VALUE 0 port->sw->tb 4096-ptr_max
PARAM_VALUE 0 port->sw->tb->ctl 4096-ptr_max
PARAM_VALUE 0 port->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 port->sw->tb->ctl->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 0 port->sw->tb->ctl->tx->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 port->usb4 0,4096-ptr_max
PARAM_VALUE 0 port->usb4->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 port->usb4->dev.class 0,4096-ptr_max
PARAM_VALUE 0 port->usb4->dev.power.request 0-4
PARAM_VALUE 0 port->usb4->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 port->usb4->dev.power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 port->usb4->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->usb4->dev.type 0,4096-ptr_max
PARAM_VALUE 0 port->xdomain->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 add 1
CAPPED_DATA 0 port 1
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tb.c tb_scan_port() -> tb_retimer_scan()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->cap_phy 1-s32max
PARAM_VALUE 0 port->config.type 1
PARAM_VALUE 0 port->dual_link_port->remote 1-u64max
PARAM_VALUE 0 port->remote 4096-ptr_max
PARAM_VALUE 0 port->sw 4096-ptr_max
PARAM_VALUE 0 port->sw->tb 4096-ptr_max
PARAM_VALUE 0 port->sw->tb->ctl 4096-ptr_max
PARAM_VALUE 0 port->sw->tb->ctl->frame_pool->dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 port->sw->tb->ctl->frame_pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 port->sw->tb->ctl->frame_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 port->sw->tb->ctl->frame_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock.dep_map->name 0-255
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 port->sw->tb->ctl->request_queue_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 port->sw->tb->ctl->tx->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 port->usb4 0,4096-ptr_max
PARAM_VALUE 0 port->usb4->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 port->usb4->dev.class 0,4096-ptr_max
PARAM_VALUE 0 port->usb4->dev.power.request 0-4
PARAM_VALUE 0 port->usb4->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 port->usb4->dev.power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 port->usb4->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->usb4->dev.type 0,4096-ptr_max
PARAM_VALUE 0 port->xdomain 0
PARAM_VALUE 0 port->xdomain->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 add 1
CAPPED_DATA 0 port 1
DATA_SOURCE 0 port $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tb.c tb_scan_port() -> tb_retimer_scan()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->dual_link_port->remote 4096-ptr_max
PARAM_VALUE 0 port->dual_link_port->remote->remote 1-u64max
PARAM_VALUE 0 port->remote 4096-ptr_max
PARAM_VALUE 0 port->remote->cap_phy 1-s32max
PARAM_VALUE 0 port->remote->config.type 1
PARAM_VALUE 0 port->remote->sw 4096-ptr_max
PARAM_VALUE 0 port->remote->usb4 0,4096-ptr_max
PARAM_VALUE 0 port->remote->xdomain 0
PARAM_VALUE 1 add 1
CAPPED_DATA 0 port 1
DATA_SOURCE 0 port r tb_upstream_port
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tb->lock