Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/thunderbolt/switch.c tb_plug_events_active() -> tb_switch_is_alpine_ridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| PARAM_VALUE | 0 | sw->config.device_id | 0-5394,5396-5401,5403-5448,5450-u16max |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw | (-1),1968 |
| BUF_SIZE | 0 | sw->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | sw->tb | (-1),2304,3616 |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tb->lock |
drivers/thunderbolt/switch.c tb_switch_xhci_connect() -> tb_switch_is_alpine_ridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &sw->tb->lock | |
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/tb.c tb_find_pcie_down() -> tb_switch_is_alpine_ridge()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sw | 4096-ptr_max |
| DATA_SOURCE | 0 | sw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &sw->tb->lock | ||
| LOCK2 | &tb->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |