Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/thunderbolt/tb.c __configure_group_sym() -> tb_find_tunnel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | src_port | 4096-ptr_max |
| PARAM_VALUE | 3 | dst_port | 0 |
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_disconnect_pci() -> tb_find_tunnel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | src_port | 0 |
| PARAM_VALUE | 3 | dst_port | 4096-ptr_max |
| CAPPED_DATA | 3 | dst_port | 1 |
| DATA_SOURCE | 0 | tb | $0 |
| DATA_SOURCE | 3 | dst_port | r tb_switch_find_port |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sw->tb->lock |
drivers/thunderbolt/tb.c tb_dp_resource_unavailable() -> tb_find_tunnel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | src_port | 0,4096-ptr_max |
| PARAM_VALUE | 3 | dst_port | 0,4096-ptr_max |
| DATA_SOURCE | 0 | tb | $0 |
| STR_LEN | 0 | tb | 14,23 |
| STR_LEN | 0 | tb | 14,23 |
| LOCK2 | 0 | &tb->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_find_first_usb3_tunnel() -> tb_find_tunnel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 3 |
| PARAM_VALUE | 2 | src_port | 4096-ptr_max |
| PARAM_VALUE | 3 | dst_port | 0 |
| BUF_SIZE | 0 | tb | (-1),2304,3616 |
| BUF_SIZE | 0 | tb | (-1),2304,3616 |
| CAPPED_DATA | 2 | src_port | 1 |
| DATA_SOURCE | 0 | tb | $0 |
| DATA_SOURCE | 2 | src_port | r usb4_switch_map_usb3_down |
| 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_handle_dp_bandwidth_request() -> tb_find_tunnel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tb | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | src_port | 4096-ptr_max |
| PARAM_VALUE | 3 | dst_port | 0 |
| CAPPED_DATA | 0 | &tb->lock | 1 |
| LOCK2 | 0 | &tb->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_recalc_estimated_bandwidth_for_group() -> tb_find_tunnel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | src_port | 4096-ptr_max |
| PARAM_VALUE | 3 | dst_port | 0 |
| CAPPED_DATA | 2 | &src_port->group_list | 1 |
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb)->lock |