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/icm.c __icm_tr_device_connected() -> tb_switch_find_by_route()

Type Parameter Key Value
PARAM_VALUE 0 tb 4096-ptr_max
PARAM_VALUE 0 tb->lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tb->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tb->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 tb->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tb->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.wait_lock.owner (-1)
PARAM_VALUE 0 tb->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 tb->privdata 4096-ptr_max
PARAM_VALUE 0 tb->privdata->rescan_work.cpu s32min-s32max
PARAM_VALUE 0 tb->root_switch 1-u64max
DATA_SOURCE 0 tb $0
DATA_SOURCE 1 route r get_route
LOCK2 0 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/icm.c __icm_tr_device_connected() -> tb_switch_find_by_route()

Type Parameter Key Value
PARAM_VALUE 0 tb 4096-ptr_max
PARAM_VALUE 0 tb->lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tb->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tb->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 tb->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tb->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.wait_lock.owner (-1)
PARAM_VALUE 0 tb->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 tb->privdata 4096-ptr_max
PARAM_VALUE 0 tb->privdata->rescan_work.cpu s32min-s32max
PARAM_VALUE 0 tb->root_switch 1-u64max
DATA_SOURCE 0 tb $0
LOCK2 0 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/icm.c icm_fr_xdomain_connected() -> tb_switch_find_by_route()

Type Parameter Key Value
PARAM_VALUE 0 tb 4096-ptr_max
PARAM_VALUE 0 tb->lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tb->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tb->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tb->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.wait_lock.owner (-1)
PARAM_VALUE 0 tb->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 tb->root_switch 1-u64max
DATA_SOURCE 0 tb $0
DATA_SOURCE 1 route r get_route
LOCK2 0 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/icm.c icm_tr_device_disconnected() -> tb_switch_find_by_route()

Type Parameter Key Value
PARAM_VALUE 0 tb 4096-ptr_max
PARAM_VALUE 0 tb->lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tb->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tb->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tb->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.wait_lock.owner (-1)
PARAM_VALUE 0 tb->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 tb->root_switch 1-u64max
DATA_SOURCE 0 tb $0
DATA_SOURCE 1 route r get_route
LOCK2 0 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/icm.c icm_tr_xdomain_connected() -> tb_switch_find_by_route()

Type Parameter Key Value
PARAM_VALUE 0 tb 4096-ptr_max
PARAM_VALUE 0 tb->lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tb->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tb->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tb->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.wait_lock.owner (-1)
PARAM_VALUE 0 tb->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 tb->root_switch 1-u64max
DATA_SOURCE 0 tb $0
DATA_SOURCE 1 route r get_route
LOCK2 0 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/icm.c icm_tr_xdomain_connected() -> tb_switch_find_by_route()

Type Parameter Key Value
PARAM_VALUE 0 tb 4096-ptr_max
PARAM_VALUE 0 tb->lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tb->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tb->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tb->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.wait_lock.owner (-1)
PARAM_VALUE 0 tb->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 tb->root_switch 1-u64max
DATA_SOURCE 0 tb $0
LOCK2 0 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/tb.c tb_handle_dp_bandwidth_request() -> tb_switch_find_by_route()

Type Parameter Key Value
PARAM_VALUE 0 tb 4096-ptr_max
PARAM_VALUE 0 tb->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 tb->dev.class 0,4096-ptr_max
PARAM_VALUE 0 tb->dev.power.request 0-4
PARAM_VALUE 0 tb->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 tb->dev.power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 tb->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 tb->dev.type 0,4096-ptr_max
PARAM_VALUE 0 tb->lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tb->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tb->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tb->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.wait_lock.owner (-1)
PARAM_VALUE 0 tb->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 tb->privdata->hotplug_active 1
CAPPED_DATA 0 &tb->lock 1
LOCK2 0 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 tb 4096-ptr_max
PARAM_VALUE 0 tb->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 tb->dev.class 0,4096-ptr_max
PARAM_VALUE 0 tb->dev.power.request 0-4
PARAM_VALUE 0 tb->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 tb->dev.power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 tb->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 tb->dev.type 0,4096-ptr_max
PARAM_VALUE 0 tb->lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tb->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tb->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tb->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 tb->lock.wait_lock.owner (-1)
PARAM_VALUE 0 tb->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 tb->privdata->hotplug_active 1
CAPPED_DATA 0 &tb->lock 1
LOCK2 0 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock