Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/thunderbolt/switch.c tb_switch_remove() -> tb_retimer_remove_all()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->remote->sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->xdomain->dev.power.wakeirq->status 0-4294967295
CAPPED_DATA 0 port 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/usb4_port.c offline_store() -> tb_retimer_remove_all()

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
CAPPED_DATA 0 port 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 rescan_store() -> tb_retimer_remove_all()

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
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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/tb.c tb_free_unplugged_children() -> tb_retimer_remove_all()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->remote 4096-ptr_max
PARAM_VALUE 0 port->remote->sw 4096-ptr_max
PARAM_VALUE 0 port->remote->sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->remote->sw->is_unplugged 1
CAPPED_DATA 0 port 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tb.c tb_free_unplugged_xdomains() -> tb_retimer_remove_all()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->xdomain 4096-ptr_max
PARAM_VALUE 0 port->xdomain->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 port->xdomain->is_unplugged 1
CAPPED_DATA 0 port 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tb.c tb_handle_hotplug() -> tb_retimer_remove_all()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
CAPPED_DATA 0 port 1
NOCHECK_CALL
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock