Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/tunnel.c tb_dp_dprx_work() -> tb_tunnel_set_active()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->dprx_canceled 0
PARAM_VALUE 0 tunnel->src_port 4096-ptr_max
PARAM_VALUE 0 tunnel->src_port->sw 4096-ptr_max
PARAM_VALUE 0 tunnel->tb->lock.dep_map->name 0-255
PARAM_VALUE 0 tunnel->tb->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tunnel->tb->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tunnel->tb->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tunnel->tb->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 tunnel->tb->lock.wait_lock.owner (-1)
PARAM_VALUE 0 tunnel->tb->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 active 1
NOCHECK_CALL
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/tunnel.c tb_tunnel_activate() -> tb_tunnel_set_active()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 0-s32max
PARAM_VALUE 0 tunnel->state 1
PARAM_VALUE 1 active 1
BUF_SIZE 0 tunnel (-1),384-392,400
BUF_SIZE 0 tunnel (-1),384-392,400
CAPPED_DATA 0 tunnel->npaths 1
DATA_SOURCE 0 tunnel $0
STR_LEN 0 tunnel->tb (-1),14,23
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &sw->tb->lock
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_deactivate() -> tb_tunnel_set_active()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->dst_port->sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 tunnel->npaths 0-s32max
PARAM_VALUE 0 tunnel->src_port->sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 active 0
BUF_SIZE 0 tunnel (-1),384-392,400
BUF_SIZE 0 tunnel (-1),384-392,400
CAPPED_DATA 0 tunnel->npaths 1
DATA_SOURCE 0 tunnel $0
STR_LEN 0 tunnel->tb (-1),14,23
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tb->lock