Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/tunnel.c tb_dp_allocated_bandwidth() -> (struct tb_tunnel)->consumed_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->allocated_bandwidth | 1-u64max |
| PARAM_VALUE | 0 | tunnel->dst_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->dst_port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->src_port | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->src_port->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->state | 2 |
| PARAM_VALUE | 0 | tunnel->type | 1 |
| PARAM_VALUE | 1 | consumed_up | 472188284087349248 |
| PARAM_VALUE | 2 | consumed_down | 1303461466129002496 |
| CAPPED_DATA | 0 | tunnel->dst_port->sw->config.depth | 1 |
| DATA_SOURCE | 0 | tunnel | $0 |
| DATA_SOURCE | 1 | consumed_up | $1 |
| DATA_SOURCE | 2 | consumed_down | $2 |
| CONTAINER | 0 | -96+0 | $(-1) |
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tunnel.c tb_tunnel_consumed_bandwidth() -> (struct tb_tunnel)->consumed_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 0 | tunnel->consumed_bandwidth | 1-u64max |
| PARAM_VALUE | 0 | tunnel->state | 1-2 |
| PARAM_VALUE | 1 | consumed_up | 7682687791080390656 |
| PARAM_VALUE | 1 | *consumed_up | 0 |
| PARAM_VALUE | 2 | consumed_down | 3734221574576590848 |
| PARAM_VALUE | 2 | *consumed_down | 0 |
| DATA_SOURCE | 0 | tunnel | $0 |
| CONTAINER | 0 | -96+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tb->lock |