Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/tb.c tb_consumed_usb3_pcie_bandwidth() -> tb_find_first_usb3_tunnel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src_port | 4096-ptr_max |
| PARAM_VALUE | 1 | src_port->sw | 4096-ptr_max |
| PARAM_VALUE | 2 | dst_port | 4096-ptr_max |
| PARAM_VALUE | 2 | dst_port->sw | 4096-ptr_max |
| BUF_SIZE | 0 | tb | (-1),2304,3616 |
| BUF_SIZE | 0 | tb | (-1),2304,3616 |
| CAPPED_DATA | 2 | dst_port->sw->config.depth | 1 |
| DATA_SOURCE | 0 | tb | $0 |
| DATA_SOURCE | 1 | src_port | $1 |
| DATA_SOURCE | 2 | dst_port | $2 |
| STR_LEN | 0 | tb | (-1),14,23 |
| STR_LEN | 0 | tb | (-1),14,23 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tb->lock | ||
| HALF_LOCKED2 | 0 | &tb->lock |
drivers/thunderbolt/tb.c tb_reclaim_usb3_bandwidth() -> tb_find_first_usb3_tunnel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tb | $0 |
| DATA_SOURCE | 1 | src_port | $1 |
| DATA_SOURCE | 2 | dst_port | $2 |
| STR_LEN | 0 | tb | (-1),14,23 |
| STR_LEN | 0 | tb | (-1),14,23 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock | ||
| HALF_LOCKED2 | 0 | &tb->lock |
drivers/thunderbolt/tb.c tb_release_unused_usb3_bandwidth() -> tb_find_first_usb3_tunnel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tb | $0 |
| DATA_SOURCE | 1 | src_port | $1 |
| DATA_SOURCE | 2 | dst_port | $2 |
| STR_LEN | 0 | tb | (-1),14,23 |
| STR_LEN | 0 | tb | (-1),14,23 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock | ||
| HALF_LOCKED2 | 0 | &tb->lock |