Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/tb.c tb_consumed_dp_bandwidth() -> tb_tunnel_consumed_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->npaths 1-s32max
PARAM_VALUE 0 tunnel->src_port 4096-ptr_max
PARAM_VALUE 0 tunnel->src_port->group 0,4096-ptr_max
PARAM_VALUE 0 tunnel->type 1
PARAM_VALUE 1 consumed_up 5949955554791673856
PARAM_VALUE 2 consumed_down 8886307537737453568
CAPPED_DATA 0 tunnel->npaths 1
CAPPED_DATA 0 &tunnel->list 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tb->lock

drivers/thunderbolt/tb.c tb_consumed_usb3_pcie_bandwidth() -> tb_tunnel_consumed_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 1 consumed_up 7567191184604233728
PARAM_VALUE 1 *consumed_up 0
PARAM_VALUE 2 consumed_down 6480068415182520320
PARAM_VALUE 2 *consumed_down 0
DATA_SOURCE 0 tunnel r tb_find_first_usb3_tunnel
DATA_SOURCE 1 consumed_up $4
DATA_SOURCE 2 consumed_down $5
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tb->lock
HALF_LOCKED2 &tb->lock

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

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->callback 1-u64max
PARAM_VALUE 0 tunnel->state 2
PARAM_VALUE 1 consumed_up 8055573640518344704
PARAM_VALUE 2 consumed_down 1650350040710856704
DATA_SOURCE 0 tunnel $0
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock