Documented in 1 files:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/thunderbolt/tb.c tb_dp_tunnel_active() -> tb_tunnel_is_active()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
DATA_SOURCE 0 tunnel $0
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/tunnel.c tb_tunnel_alloc_bandwidth() -> tb_tunnel_is_active()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->state 2
CAPPED_DATA 0 tunnel->dst_port->sw->config.depth 1
DATA_SOURCE 0 tunnel $0
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/tunnel.c tb_tunnel_allocated_bandwidth() -> tb_tunnel_is_active()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
CAPPED_DATA 0 tunnel->dst_port->sw->config.depth 1
DATA_SOURCE 0 tunnel $0
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/tunnel.c tb_tunnel_is_activated() -> tb_tunnel_is_active()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->state 0,2-u32max
DATA_SOURCE 0 tunnel $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_maximum_bandwidth() -> tb_tunnel_is_active()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->state 2
CAPPED_DATA 0 tunnel->dst_port->sw->config.depth 1
DATA_SOURCE 0 tunnel $0
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/tunnel.c tb_tunnel_reclaim_available_bandwidth() -> tb_tunnel_is_active()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
DATA_SOURCE 0 tunnel $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tunnel.c tb_tunnel_release_unused_bandwidth() -> tb_tunnel_is_active()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
DATA_SOURCE 0 tunnel $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tb->lock