Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/tunnel.c tb_tunnel_alloc_dma() -> tb_tunnel_alloc()

Type Parameter Key Value
PARAM_VALUE 0 tb 0,4096-ptr_max
PARAM_VALUE 0 tb->cm_ops 4096-ptr_max
PARAM_VALUE 0 tb->cm_ops->approve_xdomain_paths 3901506540878663680,4968364433096765440,6378239632894922752
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 1 npaths 1-2
PARAM_VALUE 2 type 2
DATA_SOURCE 0 tb $0
FUZZY_MAX 1 npaths 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_alloc_dp() -> tb_tunnel_alloc()

Type Parameter Key Value
PARAM_VALUE 0 tb 0,4096-ptr_max
PARAM_VALUE 0 tb->dev.power.wakeirq->status 0-4294967295
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->root_switch 4096-ptr_max
PARAM_VALUE 1 npaths 3
PARAM_VALUE 2 type 1
DATA_SOURCE 0 tb $0
STR_LEN 0 tb (-1),14,23
STR_LEN 0 tb (-1),14,23
HALF_LOCKED2 0 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_alloc_pci() -> tb_tunnel_alloc()

Type Parameter Key Value
PARAM_VALUE 0 tb 0,4096-ptr_max
PARAM_VALUE 0 tb->cm_ops 4096-ptr_max
PARAM_VALUE 0 tb->cm_ops->add_switch_key 0,1002246512258781184,6981059831128449024
PARAM_VALUE 0 tb->cm_ops->approve_switch 31640814900572160,2048108674026024960,5888713353499512832
PARAM_VALUE 0 tb->cm_ops->challenge_switch_key 0,2464593166624247808,8264241279748280320
PARAM_VALUE 1 npaths 2
PARAM_VALUE 2 type 0
DATA_SOURCE 0 tb $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &sw->tb->lock
HALF_LOCKED2 0 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_alloc_usb3() -> tb_tunnel_alloc()

Type Parameter Key Value
PARAM_VALUE 1 npaths 2
PARAM_VALUE 2 type 3
DATA_SOURCE 0 tb $0
RX_PATH
TASK_NOT_RUNNING

drivers/thunderbolt/tunnel.c tb_tunnel_discover_dp() -> tb_tunnel_alloc()

Type Parameter Key Value
PARAM_VALUE 1 npaths 3
PARAM_VALUE 2 type 1
DATA_SOURCE 0 tb $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_discover_pci() -> tb_tunnel_alloc()

Type Parameter Key Value
PARAM_VALUE 1 npaths 2
PARAM_VALUE 2 type 0
DATA_SOURCE 0 tb $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_discover_usb3() -> tb_tunnel_alloc()

Type Parameter Key Value
PARAM_VALUE 1 npaths 2
PARAM_VALUE 2 type 3
DATA_SOURCE 0 tb $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tb->lock