Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 1 route 0-9223372036854775807
PARAM_VALUE 3 connection_key 0
PARAM_VALUE 4 link 0
PARAM_VALUE 5 depth 0
CAPPED_DATA 1 route 1
CAPPED_DATA 1 route 1
DATA_SOURCE 0 sw r tb_switch_find_by_uuid
DATA_SOURCE 1 route r get_route
BIT_INFO 6 boot 0x0,0x0
NOCHECK_CALL
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/icm.c icm_fr_device_connected() -> update_switch()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->depth 0-15
PARAM_VALUE 1 route 0-9223372036854775807
PARAM_VALUE 4 link 0-7
PARAM_VALUE 5 depth 0-15
CAPPED_DATA 0 sw->depth 1
CAPPED_DATA 4 link 1
CAPPED_DATA 5 depth 1
DATA_SOURCE 0 sw r tb_switch_find_by_uuid
PARAM_COMPARE 5 depth == $0->depth
BIT_INFO 6 boot 0x0,0x0
NOCHECK_CALL
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock